Skip to main content
POST
Generate Access Token
Getting Your Credentials: Login to FYATU Dashboard → Business Console → Select App → Settings → API Keys & Credentials

Overview

Exchange your app credentials (appId and secretKey) for a JWT access token. This token is required to authenticate all other V3 API requests.

Token Details

Scopes by App Type

Using the Token

Once you have an access token, include it in the Authorization header for all API requests:

Error Codes

Store tokens securely and track the expiresAt timestamp. Refresh tokens proactively before they expire to ensure uninterrupted API access.

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