Tapt
Tapt API for OAuth applications

Webhook subscription management. Read the webhook delivery guide for payloads, signature verification, acknowledgement timeouts, retry behavior, duplicate handling, and recovery from missed events.


List subscriptions

GET
https://api.cards.tapt.io
/oauth/webhooks/subscriptions

Retrieves subscriptions owned by the authenticated client and organisation. Organisation clients require read scope.

List subscriptions › Responses

A list of webhook subscriptions.

target_url
​string · url · required

The URL to send webhook events to

event_type
​string · enum · required

The event type this subscription is for

Enum values:
contact.created
contact.updated
id
​integer · readOnly

Subscription ID

created_at
​string · date-time · readOnly

Timestamp of when the subscription was created

updated_at
​string · date-time · readOnly

Timestamp of when the subscription was last updated


Create a Subscription

POST
https://api.cards.tapt.io
/oauth/webhooks/subscriptions

Creates a subscription owned by the authenticated client and organisation. Organisation clients require write scope and a public HTTPS destination. Their deliveries are automatically signed with the client's webhook_signing_key. Do not send secret for an organisation client. Legacy subscriptions retain optional per-subscription secrets. Signing keys are never returned in subscription responses.

Create a Subscription › Request Body

target_url
​string · url · required

The URL to send webhook events to

event_type
​string · enum · required

The event type this subscription is for

Enum values:
contact.created
contact.updated
secret
​string · writeOnly

Legacy subscriptions only: optional receiver-supplied signing key. Organisation-owned clients reject this field and automatically use their client webhook_signing_key, retrievable by organisation admins through the dashboard-authenticated client endpoints. All subscriptions belonging to an organisation client share that key.

Create a Subscription › Responses

Webhook subscription successfully created.


Get a subscription

GET
https://api.cards.tapt.io
/oauth/webhooks/subscriptions/{id}

Retrieves an owned subscription. Organisation clients require read scope.

Get a subscription › path Parameters

id
​integer · required

The ID of the webhook subscription.

Get a subscription › Responses

Webhook subscription details.


Update a subscription

PUT
https://api.cards.tapt.io
/oauth/webhooks/subscriptions/{id}

Updates an owned subscription. Organisation clients require write scope. Client and organisation ownership cannot change. Organisation subscriptions use the client signing key and reject secret overrides. URL changes don't change the key.

Update a subscription › path Parameters

id
​integer · required

The ID of the webhook subscription.

Update a subscription › Request Body

secret
​string · writeOnly

Legacy subscriptions only. Organisation clients reject per-subscription key changes.

target_url
​string · url

The URL to send webhook events to (optional for update)

event_type
​string

The event type this subscription is for (optional for update)

Update a subscription › Responses

Webhook subscription successfully updated.


Delete a subscription

DELETE
https://api.cards.tapt.io
/oauth/webhooks/subscriptions/{id}

Deletes an owned subscription. Organisation clients require write scope.

Delete a subscription › path Parameters

id
​integer · required

The ID of the webhook subscription.

Delete a subscription › Responses

Webhook subscription successfully deleted. No content.

No data returned