Creates a webhook subscription.
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"url": "url",
"event": "order_status"
}
Request samples
curl --location --request POST 'https://api-v2.fastpod.net/v1/webhooks' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "url",
"event": "order_status"
}'
Responses
application/json {
"status": true,
"message": "Updated webhook url successfully!"
}
Modified at 2023-12-12 02:33:49