Uiza Documentation
2021-09-21
Search
K

Create a webhook endpoint

A URL and a secret are required for webhook endpoint creation. While URLs are endpoints where Uiza sends the events to, secrets are used to generate webhook signatures.
post
https://api.uiza.io
/api-account/owner/v1/webhook
/v1/webhook
Sample Request
curl --location --request POST 'https://api.uiza.io/api-account/owner/v1/webhook/'
--header 'Content-Type: application/json' --header 'Authorization: '
--data-raw '{
"url": "https://uiza-example.com/webhook",
"status": "enabled",
"event_type": [
"live_entities.created"
]
}'
post
https://api.uiza.sh
/v1/webhook_endpoints
/v1/webhook_endpoints
Sample Request
curl -X POST https://api.uiza.sh/v1/webhook_endpoints
-H 'Authorization: uap-c1ffbff4db954ddcb050c6af0b43ba56-41193b64'
-d '{"url": "https://webhook-test.com/live/created", "secret": "a-secret"}'