Get information about all webhooks and subscriptions.
GET
https://www.prayerletters.com/api/v1/hooks
This will give you a list of events to which your API token can
subscribe, as well as a list of existing subscriptions. If you have
the hooks.manage
scope, you will see all webhook
subscriptions; otherwise, you'll just see subscriptions that you've
created.
Expected Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"events" : {
"contact.address_update.v1" : {
"description" : "Triggered when a contact's address is updated.",
"url" : "http://www.prayerletters.com/developers/api/contacts/hooks"
},
"order.complete.v1" : {
"description" : "Triggered when an order's production is complete.",
"url" : "http://www.prayerletters.com/developers/api/orders/hooks"
}
},
"subscriptions" : [
{
"event" : "contact.address_update.v1",
"href" : "https://www.prayerletters.com/api/v1/hooks/h-28j-zrw9",
"id" : "h-28j-zrw9",
"last_triggered" : "2024-10-07T03:06:12",
"target" : "https://integrated.app/incoming/prayerletters.com"
},
{
"event" : "contact.address_update.v1",
"href" : "https://www.prayerletters.com/api/v1/hooks/h-2rh-n0g0",
"id" : "h-2rh-n0g0",
"last_triggered" : "2024-10-07T03:06:12",
"target" : "https://integrated.site/webhook?token=abc123"
}
]
}
API Basics
Contacts API
Files API
Fonts API
Lists API
Logos API
Payment API
Stock API
Webhooks API