# Customer Token

<mark style="color:green;">`POST`</mark> `{{Base_url}}/rest/V1/integration/customer/token`

Generate your token by providing your username and password in the request body.

{% tabs %}
{% tab title="Curl" %}

```json
curl --location '{{Base_url}}/rest/V1/integration/customer/token' \
--header 'Content-Type: application/json' \
--header 'Cookie: PHPSESSID=2639naaq26nbe7st472kk4ms4i' \
--data-raw '{
  "username": "Enter Username",
  "password": "Enter Password"
}
'
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Success Response" %}

```javascript
eyJraWQiOiIxIiwiYWxnIjoiSFMyNTYifQ.eyJ1aWQiOjIxMDAyNywidXR5cGlkIjozLCJpYXQiOjE3MzczNzQwMDYsImV4cCI6MTczNzM3NzYwNn0.KlPFJHMk16w3XX_zW1auR3GwYPl5BN6wdVm69nwFw1k
```

{% endtab %}

{% tab title="Error Response" %}

```python
{
    "message": "The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later."
}
```

{% endtab %}
{% endtabs %}
