Connect

Connect a Discord channel

Changed on

Finalize a Discord connect by binding channels to a profile. Served by a dedicated route, so it is not reachable through POST /v1/connect/{platform}. One connected account per channel: send channelIds to connect several channels of the server at once, or repeat the call with a different channelId.

post/v1/connect/discord

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/connect/discord
  • Auth: HTTP bearer

Request body

guildIdstring required

Discord server (guild) the channel belongs to

channelIdstring

Text, announcement or forum channel to publish to. Send this or channelIds, not both.

channelIdsstring[]

Several channels of the server to connect, each as its own account. With two or more distinct ids the response lists accounts and failed instead of account. A single id behaves exactly like channelId.

profileIdstring required

Profile to connect the channel to

redirect_urlstring

channelIds only: a URL to return in redirect_url, with connected, profileId, accountId and accountIds appended.

Response

Channel connected

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      the request property became optional

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status