UserService

CreateUserWebhook creates a new webhook for a user.

post/api/v1/users/{user}/webhooks

Path parameters

userstring required

The user id.

Request body

namestring

The name of the webhook. Format: users/{user}/webhooks/{webhook}

urlstring

The URL to send the webhook to.

displayNamestring

Optional. Human-readable name for the webhook.

createTimestring date-time

The creation time of the webhook.

updateTimestring date-time

The last update time of the webhook.

Response

OK

namestring

The name of the webhook. Format: users/{user}/webhooks/{webhook}

urlstring

The URL to send the webhook to.

displayNamestring

Optional. Human-readable name for the webhook.

createTimestring date-time

The creation time of the webhook.

updateTimestring date-time

The last update time of the webhook.

Changes