Customily API Authentication

Last updated: July 30, 2026

Many Customily API endpoints require a JWT token for authentication. This article explains how to obtain a token and use it to authenticate your API requests.

Obtaining a JWT Token

Call the Customily token endpoint with your username and password:

POST https://app.customily.com/api/token
Content-Type: application/x-www-form-urlencoded

Request body:

grant_type=password&username=YOUR_USERNAME&password=YOUR_PASSWORD

Response:

{
    "access_token": "eyJhbGciOi...",
    "token_type": "Bearer",
    "expires_in": 2592000
}

Use the access_token value in the Authorization header of all subsequent API requests until the token expires.

Example using cURL:

curl -X POST "https://app.customily.com/api/token" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "grant_type=password&username=YOUR_USERNAME&password=YOUR_PASSWORD"

Using the Token

Include the access token in the Authorization header of every authenticated API request.

Authorization: Bearer eyJhbGciOi...