Webhooks
Create Webhook
Subscribes the caller's team to a webhook event type. See the Webhooks tag description for the full list of event types and delivery rules. For detailed payload shapes per event type, see Webhook Event Payloads.
post/v1.0/webhook
Request
- Base URLhttps://api.lofty.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Authorizationstring required
Bearer [access_token]
Content-Typestring required
application/json
Request body
Example request
{
"listId": 2,
"callbackUrl": "https://example.com/webhooks/lofty",
"limit": 100
}Response
Subscription created. The response contains the new subscription's metadata.
Example response
{
"subscribeId": 1234,
"teamId": 13233324,
"listId": 1,
"vendorId": 123,
"callbackUrl": "http://xxx.test.com",
"limit": 100
}Changes
No recorded changes to this operation across all 1 revision of this API.