GET /connect/discord

The bot install link for Discord (same as GET /connect/{platform} with discord): a server admin adds Postgale's bot and picks channels

GET
/connect/discord

Authorization

BearerAuth
headerAuthorizationBearer <token>

API key sk_...

Query Parameters

externalId?string

Your own reference, stored on the accounts

Response Body

{authUrl, expiresInSeconds}

application/json
  1. response
authUrl?string
expiresInSeconds?integer
Example Request
curl -X GET 'https://example.com/api/v1/connect/discord'
Example Response
{  "authUrl": "string",  "expiresInSeconds": 0}