curl --request GET \
--url https://api.avidoai.com/v0/applications/{id}/webhook \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>'{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"url": "https://example.com/webhook",
"webhookSecret": "whsec_1234567890abcdef",
"applicationId": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-01T00:00:00.000Z",
"modifiedAt": "2024-01-01T00:00:00.000Z",
"orgId": "123e4567-e89b-12d3-a456-426614174000",
"headers": {
"Authorization": "Bearer my-secret-token"
}
}
}Retrieves the webhook configuration for a specific application. Returns null if no webhook is configured.
curl --request GET \
--url https://api.avidoai.com/v0/applications/{id}/webhook \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>'{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"url": "https://example.com/webhook",
"webhookSecret": "whsec_1234567890abcdef",
"applicationId": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-01T00:00:00.000Z",
"modifiedAt": "2024-01-01T00:00:00.000Z",
"orgId": "123e4567-e89b-12d3-a456-426614174000",
"headers": {
"Authorization": "Bearer my-secret-token"
}
}
}Your unique Avido API key
Your unique Avido Application ID
The unique identifier of the application
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"123e4567-e89b-12d3-a456-426614174000"
Webhook configuration retrieved successfully
Response containing a webhook configuration or null
The webhook configuration, or null if no webhook is configured
Show child attributes