GEThttps://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 only see subscriptions that you've created.

Response

200 OK

Response Body

hooks.v1 Object

Example

{
   "events" : {
      "..." : {
         "description" : "...",
         "url" : "..."
      }
   },
   "subscriptions" : [
      {
         "event" : "...",
         "href" : "/api/v1/hooks/h-###-####",
         "id" : "h-###-####",
         "last_triggered" : "2024-04-25T10:50:11-04:00",
         "target" : "https://example.com/api/hooks?token=abc123"
      },
      {
         "event" : "...",
         "href" : "/api/v1/hooks/h-###-####",
         "id" : "h-###-####",
         "last_triggered" : "2024-04-25T10:50:11-04:00",
         "target" : "https://example.com/api/hooks?token=abc123"
      }
   ]
}