Incantory
Sign in

Discord API

1 operation. Authentication, errors and pagination work as described in the REST API overview.

GET/api/v1/discord/linkToken required · scope read

Linking and unlinking happen in the browser at /settings/discord (an OAuth round trip with Discord); the API only reports the link. serverEnabled says whether the community server integration is switched on.

Responses: 200 OK400, 401, 403, 404, 429

Response fields
getDiscordLink response fields
NameTypeDescription
linkrequiredobject | null
serverEnabledrequiredboolean
manageUrlrequiredstring
Example
curl 'https://incantory.ai/api/v1/discord/link' \
  -H "Authorization: Bearer $INCANTORY_TOKEN"