Accounts

Connect a Discord channel using an incoming webhook

post/accounts/discord/webhook

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/accounts/discord/webhook
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Request body

$schemastring uri

A URL to the JSON Schema for this object.

intent'production' | 'certification_test'

Typed execution intent; certification_test requires an unscoped instance administrator

webhook_urlstring required

Discord incoming webhook URL

workspace_idstring required

Workspace ID

Example request

{
  "$schema": "https://example.com/api/v1/schemas/DiscordWebhookLoginInputBody.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

account_idstring required

OpenPost destination account ID

account_idsstring[] nullable required

All connected OpenPost account IDs

open_fresh_composerboolean required

Whether this is the Workspace's first connected destination

workspace_idstring required

Workspace receiving the connected destination

Example response

{
  "$schema": "https://example.com/api/v1/schemas/AccountConnectionResponse.json"
}

Changes

No recorded changes to this operation across all 1 revision of this API.