Test
Test
post/api/v1/webhooks/{id}/test
Invokes the c1.api.webhooks.v1.WebhooksService.Test method.
Path Parameters
idstring
The id field.
Body Parameters
bodyunknown
optional
The WebhooksServiceTestRequest message.
Returns
webhookobject
optional
The WebhookInstance message.
Request example cURL
curl https://{tenantDomain}.conductor.one/api/v1/webhooks/$ID/test \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $CONDUCTORONE_SDK_API_KEY"200 Example
{
"webhook": {
"id": "id",
"attempts": 0,
"source": {
"approvalStep": {
"ticketId": "ticketId"
},
"policyPostAction": {
"ticketId": "ticketId"
},
"provisionStep": {
"ticketId": "ticketId"
},
"test": {},
"workflowStep": {
"workflowExecutionId": "workflowExecutionId",
"workflowStepId": "workflowStepId"
}
},
"spec": {
"destination": "destination"
},
"state": "WEBHOOK_STATE_UNSPECIFIED",
"webhookId": "webhookId"
}
}