Skip to main content
PUT
cURL

Authorizations

X-Auth-ID
string
header
required

Your Vobiz account Auth ID (MA_XXXXXXXX).

X-Auth-Token
string
header
required

Your Vobiz account Auth Token.

Path Parameters

id
string<uuid>
required

The subscription id (UUID) to change.

Body

application/json

The fields to change. Send any subset; fields you omit keep their current value.

url
string<uri>

New HTTPS URL for deliveries. Replaces the current URL as sent, so always send a full valid URL.

Example:

"https://example.com/vobiz/webhooks-v2"

secret
string

New signing secret for X-Webhook-Signature. Deliveries are signed with the new value from this point, so update your verifier at the same time.

Example:

"YOUR_NEW_WEBHOOK_SECRET"

events
enum<string>[]

New list of event names to deliver, matched exactly. Replaces the whole list; it is not merged with the current events.

A messaging event name you can subscribe to: message.status (delivery state changed), message.delivered (reached the handset), message.failed (could not be delivered), message.received (inbound message) or broadcast.updated (broadcast status or counters changed).

Available options:
message.status,
message.delivered,
message.failed,
message.received,
broadcast.updated
Example:
active
boolean

false pauses deliveries and keeps the subscription; true resumes them.

Response

Updated.

Confirmation returned by actions that have no resource to return, such as marking a conversation read or creating or deleting an opt-out.

status
string

Always ok when the action succeeded.

Example:

"ok"