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.
curl --request POST \
--url https://api.lofty.com/v1.0/webhook \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"listId": 2,
"callbackUrl": "https://example.com/webhooks/lofty",
"limit": 100
}
'{
"subscribeId": 1234,
"teamId": 13233324,
"listId": 1,
"callbackUrl": "http://xxx.test.com",
"vendorId": 123,
"limit": 100
}Documentation Index
Fetch the complete documentation index at: https://developer.lofty.com/llms.txt
Use this file to discover all available pages before exploring further.
Webhook subscription payload.
Event type to subscribe to. See the Webhooks tag description for the full list of supported event types.
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 2
Callback URL that receives event payloads. Must be HTTPS and reachable from the Lofty backend.
"https://example.com/webhooks/lofty"
Maximum number of events to include in a single callback batch. Default 100, maximum 5000.
1 <= x <= 5000100
Subscription created. The response contains the new subscription's metadata.
the subscribe id
1234
The ID of the team to get
13233324
The ID of the list to get
1
The url link that you receive information
"http://xxx.test.com"
The ID of the vendor
123
limitation of webhook notifications in 30 mins for each, max is 5000
100
curl --request POST \
--url https://api.lofty.com/v1.0/webhook \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"listId": 2,
"callbackUrl": "https://example.com/webhooks/lofty",
"limit": 100
}
'{
"subscribeId": 1234,
"teamId": 13233324,
"listId": 1,
"callbackUrl": "http://xxx.test.com",
"vendorId": 123,
"limit": 100
}