Webhook endpoints

Manage Outgoing Webhooks

Get webhook endpoints

get
/v1/webhook-endpoints

This operation returns a list of webhook endpoints with pagination.

Note: This operation needs Authentication.

Authorizations
AuthorizationstringRequired

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Query parameters
page[size]integer · int32 · min: 1 · max: 1000Optional

The number of resources to return in a single response.

page[before]string · min: 1 · max: 36Optional

Unique identifier.

Pattern: ^[a-zA-Z0-9-]+$
page[after]string · min: 1 · max: 36Optional

Unique identifier.

Pattern: ^[a-zA-Z0-9-]+$
Responses
get
/v1/webhook-endpoints

Create Webhook endpoint

post
/v1/webhook-endpoints

Use this operation to register a Webhook with Mews to receive notification events that you subscribed to. For more information, including details about supported events, see API Events.

Note: This operation needs Authentication.

Authorizations
AuthorizationstringRequired

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Body
Responses
chevron-right
201

Webhook endpoint was successfully created.

application/vnd.api+json
post
/v1/webhook-endpoints

Update webhook endpoint

patch
/v1/webhook-endpoints/{id}

This operation updates a webhook endpoint. It allows to subscribe or unsubscribe from events.

Note: This operation needs Authentication.

Authorizations
AuthorizationstringRequired

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Path parameters
idstring · uuid · min: 36 · max: 36Required

Universally unique ID UUID4.

Example: 83f93e1c-b6e1-4040-90cf-3274b6f3c82d
Body
Responses
patch
/v1/webhook-endpoints/{id}

Last updated

Was this helpful?