TALQENDocs

Integration

Inspect the authenticated integration context for troubleshooting and capability discovery.

curlbash
curl "https://api-staging.talqen.net/v1/integration" \
  -H "Authorization: Bearer <TALQEN_TEST_API_KEY>"
Available

Get integration context

GET/v1/integration

Returns application, workspace, environment, scopes, feature flags, and Discord connection status for the authenticated API key.

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer <TALQEN_API_KEY>
X-Discord-Guild-IdstringNoOptional. When present, must match the connected Discord guild binding.
Success responsejson
{
  "data": {
    "application": { "id": "...", "name": "..." },
    "workspace": { "id": "...", "name": "...", "slug": "..." },
    "environment": "test",
    "scopes": ["activity:write", "activity:read", "staff:read"],
    "features": { "activity": true, "applications": false },
    "discord": {
      "connected": true,
      "guildId": "...",
      "status": "connected",
      "connectedAt": "2026-01-01T00:00:00.000Z"
    }
  }
}
  • Workspace scope comes from the API credential, not from a workspace header.
  • Requires the activity feature to be enabled for the application.