Skip to main content
POST
/
v1
/
auth
/
token
/
issue
Issue an access token
curl --request POST \
  --url https://api.railsfromthecrypt.com/v1/auth/token/issue \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "550e8400-e29b-41d4-a716-446655440000",
  "client_secret": "sk_live_xxxxxxxxxxxxxxxxxxxxxxxx"
}
'
{
  "success": true,
  "message": "API token issued successfully",
  "data": {
    "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
    "expires_in": 3600,
    "token_type": "Bearer"
  }
}

Body

application/json
client_id
string
required

Your client UUID from the dashboard.

Example:

"550e8400-e29b-41d4-a716-446655440000"

client_secret
string
required

Your API secret from the dashboard.

Example:

"sk_live_xxxxxxxxxxxxxxxxxxxxxxxx"

Response

Token issued successfully

success
boolean
Example:

true

message
string
Example:

"API token issued successfully"

data
object