Skip to main content
POST
Create a webhook endpoint
Early access. Your firm’s owner or an admin creates partner keys in Settings › Developers. See Partner API.
Beta. Melso does not serve this operation yet, and its fields can still change. See what is live.
Permission: webhooks:write. secret appears only in this answer: store it to verify the Melso-Signature header. See Webhooks.

Authorizations

Authorization
string
header
required

A partner key of your firm, mk_live_…, which reaches every company of the firm. Each key carries the permissions chosen when it was created. Keep it on your servers. See Authentication.

Body

application/json
url
string<uri>
required

An HTTPS URL of yours.

events
string[]
required

Event types to receive, or families such as tax_return.*. See Webhooks.

description
string
Maximum string length: 200

Response

The endpoint, with its secret.

id
string
required
url
string<uri>
required
events
string[]
required
status
enum<string>
required

disabled when you turned it off, or when Melso did after 3 days of failed deliveries.

Available options:
enabled,
disabled
created_at
string<date-time>
required
secret
string
required

The signing secret, whsec_…. Shown only in this answer.

description
string