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:readoperationId
triggerChannelToolA 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
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | The channel ID. |
| methodName | body | string | yes | The tool name, from the settings schema. |
| data | body | object | no | The 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
- Authentication: API key and scopes.
- Errors and limits: error responses and rate limits.
- All endpoints: full list.
Is something missing from this page? Email [email protected] or use the form on the Help page.