Skip to main content
POST
/
api
/
v1
/
business
/
auth
/
token
Authenticate with business API key and secret
curl --request POST \
  --url http://localhost:3001/api/v1/business/auth/token \
  --header 'Content-Type: application/json' \
  --data '
{
  "apiKey": "bk_live_abc123...",
  "apiSecret": "bs_live_xyz789..."
}
'
{
  "success": true,
  "data": {
    "accessToken": "<string>",
    "tokenType": "<string>",
    "expiresIn": 123,
    "businessId": "<string>",
    "businessName": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.useaxra.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
apiKey
string
required

Business API key

Example:

"bk_live_abc123..."

apiSecret
string
required

Business API secret

Example:

"bs_live_xyz789..."

Response

OK

success
boolean
required
Example:

true

data
object
required