Tapt
Tapt API for OAuth applications

ErrorResponse

error
​string

OAuth error code, such as invalid_client, invalid_oauth_token, or insufficient_scope.

errors
​object | array

Resource errors or field validation errors. Error envelopes vary by endpoint.

auth_error
​string

Authentication or authorization error from legacy dashboard/resource middleware.

WebhookSubscriptionResponse

​WebhookSubscription · required

WebhookSubscription

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

NewWebhookSubscription

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.

UpdateWebhookSubscription

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)

Contact

Represents a contact. Used in API responses and as the basis for webhook payloads.
id
​string · readOnly · required

Contact ID

first_name
​string · required

Contact's first name

last_name
​string · required

Contact's last name

created_at
​string · date-time · readOnly · required

Timestamp of when the contact was created

updated_at
​string · date-time · readOnly · required

Timestamp of when the contact was last updated

email
​string | null · email

Contact's email address

contact_owner_email
​string | null · email

Card/profile owner's email when available. Use this to route the contact to its owner.

phone_number
​string | null

Contact's phone number

job_title
​string | null

Contact's job title

company
​string | null

Contact's company name

note
​string | null

A note about the contact