Skip to content
Channels

Call a channel tool: POST /integration-trigger/:id

A platform specific lookup on a channel: lists of boards, subreddits, pages.

Path

Method and path
POSThttps://api.posty.hu/public/v1/integration-trigger/:id
Authorization
channels:read
operationId
triggerChannelTool

A platform-specific lookup on a channel, such as the list of Discord and Slack channels or Pinterest boards. Google Business locations will work the same way once that platform arrives, it is coming soon. You need these because the post's `settings` field expects an ID, not a name.

The names of the tools you can call are listed in that channel's settings schema.

Parameters

NameLocationTypeRequiredDescription
idpathstringyesThe channel ID.
methodNamebodystringyesThe tool name, from the settings schema.
databodyobjectnoThe tool's parameters, as key-value pairs.

Request

curl -X POST https://api.posty.hu/public/v1/integration-trigger/clx1a2b3c4d5e6f7g8h9 \
  -H "Authorization: psty_your_key" \
  -H "Content-Type: application/json" \
  -d '{ "methodName": "boards", "data": {} }'

Related

Is something missing from this page? Email [email protected] or use the form on the Help page.