Skip to main content
Version: 202201

Create Webhook

POST 

/openapi/2022-01/webhooks

Create a webhook with a unique identifier, notification URL, event name, and format.

Request

Body

    addressstringrequired

    Webhook notification URL, e.g. https://example.com/webhook

    topicstringrequired

    Event name, e.g. orders/cancelled

Responses

200

Schema
    webhook object
    idstring
    Example: 37593634-c272-4ed5-9096-1a4f1212125e
    addressstring
    Example: https://abc.com
    topicstring
    Example: order/create
    created_atstring
    Example: 2018-08-26T06:50:00Z
    updated_atstring
    Example: 2018-08-26T06:50:00Z
    formatstring
    Example: json