Webhooks
Get webhook
[!note] Management API endpoints are not meant to be used in real-time integrations that directly serve your end users. Rate limit: 3 requests per second.
Returns a webhook by its id.
get/v1/webhooks/{webhookId}
Request
- Base URLhttps://yourbaseurl.talon.one
- Auth
- API key in header Authorization
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
webhookIdinteger required
The ID of the webhook. You can find the ID in the Campaign Manager's URL when you display the details of the webhook in Account > Webhooks.
Response
OK
Example response
{
"id": 6,
"created": "2020-06-10T09:05:27.993483Z",
"modified": "2021-09-12T10:12:42Z",
"title": "Send message",
"description": "A webhook to send a coupon to the user.",
"verb": "POST",
"url": "www.my-company.com/my-endpoint-name",
"headers": [
"{\"Authorization\": \"Basic bmF2ZWVua3VtYXIU=\"}",
"{\"Content-Type\": \"application/json\"}"
],
"payload": "{\n\t\"message\": \"${message}\"\n}",
"params": [],
"enabled": true,
"authenticationId": 1
}Changes
No recorded changes to this operation across all 2 revisions of this API.