Get a subscription

Have you ever subscribed to a webhook and found yourself pondering over your past configurations? If you're keen to revisit the details of a particular webhook, simply utilize the GET {URI}/webhooks/{webhookId} endpoint. This allows you to effortlessly retrieve comprehensive information about a specific webhook by referencing its unique webhook ID.

EndpointPurpose
GET {URI}/webhooks/{webhookId}To get the details of a webhook subscription referencing its unique webhook ID

The following parameter is used with GET {URI}/webhooks/{webhookId}:

ParameterData typeDescription
webhookIdstring(Required) The webhook identifier

The following example shows the response code when you use GET {URI}/webhooks/{webhookId} to inquire about one webhook:

{
  "webhookId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "url": "string",
  "headers": [
    {
      "name": "string",
      "value": "string"
    }
  ],
  "categories": [
    "string"
  ],
  "eventTypes": [
    "string"
  ],
  "signingCertificate": "string",
  "createdAt": "2024-06-13T20:06:24.565Z",
  "updatedAt": "2024-06-13T20:06:24.565Z",
  "expiresAt": "2024-06-13T20:06:24.565Z"
}

The following response messages are available for this endpoint:

  • 200 OK
  • 400 Bad Request
  • 401 Unauthorized
  • 404 Not Found

Rewards as a Service™ and the RaaS® API are provided by Tango Card, Inc. © 2024 Tango Card, Inc.