Skip to content

Users

users_webhooks_create

Register an outbound webhook endpoint for this product.

Tool

users_webhooks_create

Register an outbound webhook endpoint for this product.

Register an outbound webhook endpoint for this product. Deliveries are signed with the Standard Webhooks wire format (webhook-id / webhook-timestamp / webhook-signature). The signing secret is returned EXACTLY ONCE — it is derived, never stored, so a lost secret is rotated with users_webhooks_rotate_secret, never recovered.

Behavior

HTTP
POST /users/webhooks

Arguments

NameTypeRequiredDescription
urlstringWhere deliveries are POSTed. HTTPS only, no embedded credentials.
eventsarrayWhich events to deliver. `user.created`, `user.updated` and `user.deleted` mirror the directory; `session.revoked` fires on sign-out, ban, erase and refresh-token reuse.
descriptionstringA label only humans read — which system this endpoint feeds.

Response

FieldTypeAlwaysDescription
idstring
urlstring
activeboolean
eventsarray
secretstring
createdAtstring
updatedAtstring
descriptionstring
secretPrefixstring

Try it

Register an outbound webhook endpoint for this product.

When to use

Register an outbound webhook endpoint for this product. Deliveries are signed with the Standard Webhooks wire format (webhook-id / webhook-timestamp / webhook-signature). The signing secret is returned EXACTLY ONCE — it is derived, never stored, so a lost secret is rotated with users_webhooks_rotate_secret, never recovered.

Example

Ask your agent something like this:

Register an outbound webhook endpoint for this product.

The agent will invoke users_webhooks_create with these arguments:

{
  "url": "<url>",
  "events": "<events>"
}

Esc

Start typing to search the docs.

navigateselect