Send an event to an integration hook
Runs an event through a connected integration and returns whatever the processor produced.
A hook whose app has no processor returns a 422 with No processor found, and a valid event that simply produced nothing returns 200 with message: null — so check the value, not just the status.
Authorizations
This token can be obtained by visiting the profile page or via rails console. Provides access to endpoints based on the user permissions levels. This token can be saved by an external system when user is created via API, to perform activities on behalf of the user.
Path Parameters
The numeric ID of the account
The numeric ID of the integration hook
Body
The event to run through the hook, as {"name": ..., "data": {...}}. Which names are accepted depends on the app.
Response
Success
What the processor produced. Null when the event was valid but produced nothing — an unrecognised event, or a conversation with too little history to act on.