GET
/
api
/
webhooks
/
{id}
/
Retrieve a Webhook
curl --request GET \
  --url https://api.trysela.com/api/webhooks/{id}/ \
  --header 'Authorization: <api-key>'
{
  "url": "<string>",
  "trigger": "LEAD_CREATED"
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
integer
required

A unique integer value identifying this webhook.

Response

200 - application/json
url
string<uri>
required
Maximum length: 255
trigger
enum<string>
  • LEAD_CREATED - Lead Created
  • LEAD_CLOSED - Lead Closed
  • LEAD_CLOSED_INCOMPLETE - Lead Closed Incomplete
  • LEAD_LOST - Lead Lost
  • LEAD_SCHEDULE_COMPLETED - Lead Schedule Completed
  • LEAD_LATE_CALLBACK - Lead Late Callback
  • LEAD_OUT_OF_TERRITORY - Lead Out of Territory
  • LEAD_BAD_NUMBER - Lead Bad Number
  • LEAD_CANCELLED - Lead Cancelled
  • LEAD_CALLBACK_TO_TRANSFER - Lead Callback to Transfer
  • CALL_COMPLETE - Call Complete
  • BEFORE_CALLING - Before Calling
  • CALL_FAILED - Call Failed
  • CALL_ENDED - Call Ended
Available options:
LEAD_CREATED,
LEAD_CLOSED,
LEAD_CLOSED_INCOMPLETE,
LEAD_LOST,
LEAD_SCHEDULE_COMPLETED,
LEAD_LATE_CALLBACK,
LEAD_OUT_OF_TERRITORY,
LEAD_BAD_NUMBER,
LEAD_CANCELLED,
LEAD_CALLBACK_TO_TRANSFER,
CALL_COMPLETE,
BEFORE_CALLING,
CALL_FAILED,
CALL_ENDED