curl --request POST \
--url https://api.avala.ai/api/v1/webhooks/ \
--header 'Content-Type: application/json' \
--header 'X-Avala-Api-Key: <api-key>' \
--data '
{
"target_url": "<string>",
"secret": "<string>",
"events": [
"<string>"
],
"is_active": true
}
'{
"target_url": "<string>",
"uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"secret": "<string>",
"events": [
"<string>"
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Use this endpoint to create webhook in the Avala API using POST on /webhooks/.
curl --request POST \
--url https://api.avala.ai/api/v1/webhooks/ \
--header 'Content-Type: application/json' \
--header 'X-Avala-Api-Key: <api-key>' \
--data '
{
"target_url": "<string>",
"secret": "<string>",
"events": [
"<string>"
],
"is_active": true
}
'{
"target_url": "<string>",
"uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"secret": "<string>",
"events": [
"<string>"
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}API key for authentication. Generate one in Mission Control Settings > Security & Identity.
Was this page helpful?