webhook

Create a webhook

post/api/v2/org/{id}/webhook

Request

  • Base URL
    https://central.zerotier.com
  • Auth
    HTTP bearer

Path parameters

idstring required

The organization ID

Request body

descriptionstring
urlstring uri required

The HTTPS endpoint URL that will receive webhook events. Must be a fully-qualified domain name (FQDN) — raw IP addresses are not allowed. The domain must not resolve to private or internal IP ranges (RFC1918, loopback, link-local, etc.).

eventListstring[] required

Example request

{
  "url": "https://hooks.example.com/zerotier/events"
}

Response

Created webhook

idstring required
orgIdstring required
descriptionstring
urlstring uri required

The HTTPS endpoint URL that will receive webhook events. Must be a fully-qualified domain name (FQDN) — raw IP addresses are not allowed. The domain must not resolve to private or internal IP ranges (RFC1918, loopback, link-local, etc.).

eventListstring[] required

Event types that trigger this webhook

createdAtstring date-time required
lastModifiedstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.