Skip to main content
POST
Generate Access Token
Getting Your Credentials: Login to FYATU Dashboard → Business Dashboard → Developer → API Credentials

Overview

Exchange your API credentials (businessId and secretKey) for a JWT access token. This token authenticates all V3.20 API requests. Specify only the scopes your integration needs.

Token Details

Available Scopes

Using the Token

Include the token in the Authorization header for all protected requests:

Error Codes

Request only the scopes your integration needs. A read-only reporting tool should only request *:read scopes — this limits the impact if the token is ever compromised.

Body

application/json
appId
string
required

Your app ID (16 characters)

Minimum string length: 8
Example:

"DD123FR45446CECES"

secretKey
string
required

Your app secret key

Minimum string length: 16
Example:

"your_secret_key_here"

grantType
enum<string>
default:client_credentials
required

OAuth grant type (must be 'client_credentials')

Available options:
client_credentials
Example:

"client_credentials"

Response

Token generated successfully

success
boolean
Example:

true

status
integer
Example:

200

message
string
Example:

"Token generated successfully"

data
object
meta
object