Webhooks
Create Webhook
Create a new webhook for the current user.
- data: CreateWebhookPayload - The data for creating the webhook.
- user: User - The current authenticated user.
Returns: dict - The created webhook data.
post/v2/webhooks
Request
- Base URLhttps://api.loyalty.dog
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
user-agentstring nullable
authorizationstring nullable
Request body
Example request
{
"allowedTemplates": [
"5eb7cf5a86d9755df3a6c593"
]
}Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 7 revisions of this API.