GET
/
webhook-endpoints
/
{id}
Retrieve a webbook endpoint
curl --request GET \
  --url https://api.syntage.com/webhook-endpoints/{id} \
  --header 'X-API-Key: <api-key>'
{
  "@context": "/contexts/WebhookEndpoint",
  "@id": "/webhook-endpoints/91106968-1abd-4d64-85c1-4e73d96fb997",
  "@type": "WebhookEndpoint",
  "id": "e0a24894-7fbf-48ae-bfb0-efaae30a6319",
  "url": "https://example.com/endpoint",
  "signingSecret": "54471a278d46c86ec6cd365983552a28",
  "events": [
    "credential.created",
    "credential.updated"
  ],
  "enabled": true,
  "contentType": "application/ld+json",
  "createdAt": "2020-01-01T12:15:00.000Z",
  "updatedAt": "2020-01-01T12:15:00.000Z"
}

Authorizations

X-API-Key
string
header
required

Your API key is available in the Production and Sandbox dashboards.

Path Parameters

id
string<uuid>
required

Response

Webhook endpoint resource response

@context
string
default:/contexts/WebhookEndpoint
@id
string<iri-reference>

Webhook Endpoint IRI reference

Example:

"/webhook-endpoints/91106968-1abd-4d64-85c1-4e73d96fb997"

@type
string
default:WebhookEndpoint
id
string<uuid>
Example:

"e0a24894-7fbf-48ae-bfb0-efaae30a6319"

url
string<url>

The URL of the webhook endpoint

Example:

"https://example.com/endpoint"

signingSecret
string
Example:

"54471a278d46c86ec6cd365983552a28"

events
enum<string>[]

The list of events to enable for this endpoint.

Example:
["credential.created", "credential.updated"]
enabled
boolean
default:true

Disable the webhook endpoint if set to false

Example:

true

contentType
enum<string>
default:application/ld+json
Available options:
application/ld+json,
application/json
createdAt
string

Date and time the resource was created

Example:

"2020-01-01T12:15:00.000Z"

updatedAt
string

Date and time the resource was last updated

Example:

"2020-01-01T12:15:00.000Z"