Overview
Get, create, update and delete webhook subscriptions. Use these to build third-party integrations.
Returns all webhook subscriptions for the merchant
Your private Inveterate API key.
GET /v2.0/admin/webhook-subscriptions HTTP/1.1
Host:
X-Inveterate-Api-Key: text
Accept: */*
{
"message": "text",
"data": {}
}
Creates a new webhook subscription for the merchant
Your private Inveterate API key.
The subscription topic (will be used as sort key).
customer.joined.paid_tier
Possible values: The callback URL that will be called when one of the webhooks is triggered.
The subscription name.
POST /v2.0/admin/webhook-subscriptions HTTP/1.1
Host:
X-Inveterate-Api-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 72
{
"topic": "customer.joined.paid_tier",
"callbackUrl": "text",
"name": "text"
}
{
"message": "text",
"data": {}
}
Updates an existing webhook subscription configuration
Your private Inveterate API key.
The subscription topic to update.
customer.joined.paid_tier
Possible values: The callback URL that will be called when one of the webhooks is triggered.
The subscription name.
The subscription ID.
PUT /v2.0/admin/webhook-subscriptions HTTP/1.1
Host:
X-Inveterate-Api-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 84
{
"topic": "customer.joined.paid_tier",
"callbackUrl": "text",
"name": "text",
"id": "text"
}
{
"message": "text",
"data": {}
}
Removes an existing webhook subscription
Your private Inveterate API key.
The subscription topic to delete
customer.joined.paid_tier
Possible values: The subscription ID.
DELETE /v2.0/admin/webhook-subscriptions HTTP/1.1
Host:
X-Inveterate-Api-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 49
{
"topic": "customer.joined.paid_tier",
"id": "text"
}
{
"message": "text",
"data": {}
}
Last updated
Was this helpful?