application/json

Body Required

  • accessToken string Required
  • refreshToken string
  • expiresAt integer

    seconds from now

Responses

  • 200 application/json

    Standard API response

    Hide response attributes Show response attributes object
    • error boolean
    • timestamp string(date-time)
    • uniqueId string | null
POST /discord/authorize
curl \
 --request POST 'https://call.xap3y.space/v1/discord/authorize' \
 --header "X-API-Key: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"accessToken":"string","refreshToken":"string","expiresAt":42}'
Request examples
{
  "accessToken": "string",
  "refreshToken": "string",
  "expiresAt": 42
}
Response examples (200)
{
  "error": true,
  "timestamp": "2025-05-04T09:42:00Z",
  "uniqueId": "string"
}