Skip to main content
POST
/
api
/
trigger
/
{source}
/
{triggerId}
cURL
curl -X POST "https://app.cotool.ai/api/trigger/:source/:triggerId" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"example":"any_value","note":"This field can contain any type of data"}'
{
  "executionId": "<string>"
}

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Path Parameters

source
enum<string>
required

Source system sending the webhook (jira, slack, linear, or webhook)

Available options:
jira,
slack,
linear,
webhook
triggerId
string<uuid>
required

Unique identifier of the trigger to invoke

Body

application/json

Body of the webhook request. This can be any value, and it will be passed as input to the agent.

Response

200 - application/json

Successful response

Response from webhook trigger containing execution ID, skip message, or error message

executionId
string
required

Unique identifier for the agent execution