Create Integration
Creates an integration, if the callee has the permissions.
Permissions required to create incoming integrations:
manage-incoming-integrations
manage-own-incoming-integrations
Permissions required to create incoming integrations:
manage-outgoing-integrations
manage-own-outgoing-integrations
HTTP Method | URL | Requires Auth |
---|---|---|
|
|
Incoming Webhook
Body Parameters
Key | Example Value | Description |
---|---|---|
|
| The type of integration to create. |
|
| The username who to post this the messages as. |
|
| The channel, group, or |
|
| Whether the script should be enabled. |
|
| Script triggered when this integration is triggered. |
|
| The username who to post this the messages as. |
|
| Whether this integration should be enabled or not. |
|
| The alias which should be applied to messages when this integration is processed. |
|
| The logo to apply to the messages that this integration sends. |
|
| The emoji which should be displayed as the avatar for messages from this integration. |
Example Call
Example Response
Outgoing Webhook
Body Parameters
Key | Example Value | Description |
---|---|---|
|
| The type of integration to create, |
|
| The name of the integration, only is show on the Administration area. |
|
| Whether this integration should be enabled or not. |
|
| This field is required only for outgoing integration. The type of event, can be any of these: |
|
| The username who to post this the messages as. |
|
| The urls to call whenever this integration is triggered. |
|
| Whether the script should be enabled. |
|
| The channel, group, or |
|
| Specific words, separated by commas, which should trigger this integration. |
|
| The alias which should be applied to messages when this integration is processed. |
|
| The logo to apply to the messages that this integration sends. |
|
| The emoji which should be displayed as the avatar for messages from this integration. |
|
| If your integration requires a special token from the server (api key), use this. |
| Integrations | Script triggered when this integration is triggered. |
Example Call
Example Response
Change Log
Version | Description |
---|---|
1.1.0 | Separate permissions in |
0.49.0 | Added |
Last updated