Skip to content

Overview - Integrations APIs

Programmatic endpoints for connecting social channels, channel groups, global plugs, and provider-specific tools using a workspace programmatic token.

2 min read

Connect your agent today

Draft from chat, review in your calendar, and publish only what you approve.

Start for $0

Endpoints

Typical flow

  1. Connect — call GET /public/social/{integration}, redirect the user to the returned URL, and let the provider complete the OAuth handshake. The new channel then appears in GET /public/integrations.
  2. Inspect — call GET /public/integration-settings/{id} to discover the channel's rules, maxLength, settings schema, and the list of allow-listed tools.
  3. Invoke — for any tool advertised in step 2, call POST /public/integration-trigger/{id} with the methodName and (optionally) a data payload matching that tool's dataSchema.

Channel groups

When a workspace assigns channels to logical customers, call GET /public/groups and pass a group id as group on GET /public/integrations (and as customerGroupId on GET /public/posts/list).

Global plugs

Global plugs are channel-level rules (auto-reply or repost when likes cross a threshold). They are separate from internal plugs configured per post on POST /public/posts — see Public API → Plugs.
  1. CatalogGET /public/plug-catalog returns each provider's methodName values and field definitions.
  2. ListGET /public/integration-plugs/{id} returns saved rules on a channel.
  3. UpsertPOST /public/integration-plugs/{id} with func (catalog methodName) and fields name/value pairs.
  4. Pause or removePUT /public/plugs/{plugId}/activate or DELETE /public/plugs/{plugId}.
Search documentation
Find a docs page
Discord Support