Docs

List your webhook subscriptions

Returns the key's account subscriptions from oldest to newest. Subscriptions belong to the account rather than an individual key, so the list remains unchanged during the seven-day rotation period when two keys are live.

Returns the key's account subscriptions from oldest to newest. Subscriptions belong to the account rather than an individual key, so the list remains unchanged during the seven-day rotation period when two keys are live.

Authorization

ApiKey
headerAuthorizationBearer <rar_live_*>

Send Authorization: Bearer rar_live_..., or use rar_test_... for a test key. Both lanes currently read the same catalogue. Without a key you stay in the anonymous lane: 30 requests/minute and 1,000/day, against 60/minute per key and 2,000/day per organization with one on the Free plan. Sending a key that is malformed, revoked or unknown is a 401; sending none is not.

Response Body

Your subscriptions. None is a 200 with data: [].

application/json
  1. response

Every subscription of the calling account. Never anybody else's.

object*string
data*array<>
has_more*boolean
next_cursor*null
Example Request
cURL
curl -X GET 'https://api.rarity.dev/v1/webhooks' \  -A 'my-app/1.0 (you@example.com)'
Example Response
{  "object": "list",  "data": [    {      "object": "webhook",      "id": "string",      "url": "http://example.com",      "events": [        "card.created"      ],      "created_at": "2019-08-24T14:15:22Z"    }  ],  "has_more": false,  "next_cursor": null}