Skip to main content
POST
Subscribe to business monitoring events

Authorizations

Authorization
string
header
required

Enter your API key in the format: sk_test_xxxxx or sk_live_xxxxx

Path Parameters

business_id
string
required

Business ID

Body

application/json
event_types
enum<string>[]
required

List of webhook event types to subscribe to for monitoring notifications

Minimum array length: 1
Available options:
business.registration.updated,
business.filing.due,
business.filing.overdue
Example:
metadata
object

Custom metadata for the subscription

Example:

Response

Subscription created successfully

id
string<uuid>
required

Unique identifier for the subscription

Example:

"123e4567-e89b-12d3-a456-426614174000"

object
enum<string>
required

Object type identifier

Available options:
subscription
Example:

"subscription"

resource_type
enum<string>
required

Type of resource being monitored

Available options:
user,
business
Example:

"business"

resource_id
string
required

ID of the user or business being monitored

Example:

"123e4567-e89b-12d3-a456-426614174000"

event_types
enum<string>[]
required

List of webhook event types subscribed to for monitoring notifications

Available options:
business.registration.updated,
business.filing.due,
business.filing.overdue
Example:
status
enum<string>
required

Current status of the subscription

Available options:
active,
paused,
expired,
cancelled
Example:

"active"

mode
enum<string>
required

Whether the subscription belongs to test or live mode, determined by the API key used to create it

Available options:
test,
live
Example:

"live"

metadata
object
required

Custom metadata for the subscription

Example:
created_at
string<date-time>
required

ISO 8601 timestamp when the subscription was created

Example:

"2025-10-24T10:30:00Z"

updated_at
string<date-time>
required

ISO 8601 timestamp when the subscription was last updated

Example:

"2025-10-24T15:45:00Z"

expires_at
string<date-time> | null
required

ISO 8601 timestamp when the subscription expires (for paid subscriptions)

Example:

"2026-10-24T10:30:00Z"