Login via Discord access token (sets session cookie)

POST /discord/login
application/json

Body Required

  • accessToken string Required

Responses

  • 200 application/json

    Standard API response

    Hide response attributes Show response attributes object
    • error boolean
    • timestamp string(date-time)
    • uniqueId string | null
  • 400 application/json

    Bad request

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