SmakeSmake API Docs
EndpointsWebhooks

List Webhooks

GET
/webhooks

You can configure webhook endpoints via the API to be notified about events that happen in Smake (how deliveries, retries and signatures work is described in Basic Usage → Webhooks).

Warning: You can create up to 10 webhooks per event.

Available Events

Currently, these are all events you can listen to:

  • order.completed
  • order.prepared
  • order.failed
  • order.cancelled
  • variant.completed
  • variant.failed
  • logo.completed
  • logo.failed
  • shipment.prepared
  • draft-order.checked — a draft order passed the automatic checks
  • draft-order.failed — a draft order failed the automatic checks, see its failure_message
  • merchant-variant.designer-condition.created — the designer configuration of a variant was created
  • merchant-variant.designer-condition.changed — the designer configuration of a variant changed

List

Returns a collection of your webhooks, including their subscribed events.

AuthorizationBearer
AuthorizationBearer <token>

In: header

Query Parameters

page?integer

Page number to return — see Basic Usage → Pagination.

per_page?integer

Number of objects per page (default 25, maximum 100) — see Basic Usage → Pagination.

Header Parameters

X-Api-Version?string

Response Body

application/json

application/json

Request example
curl -X GET "https://example.com/webhooks?page=1&per_page=3" \  -H "X-Api-Version: 2022-02-01"
{  "data": [    {      "id": 2,      "description": {        "de": "Fugiat laborum voluptatem nisi ut minima. Provident eligendi commodi in ut sit non tempore et. Eum quia veritatis et ad quos magni consequatur. Harum natus id ducimus eaque.",        "en": "Modi sequi amet cumque laudantium qui maiores. Id non minus omnis fugit voluptatem iste laborum. Excepturi et quis provident voluptates."      },      "version": "2022-02-01",      "state": "active",      "url": "https://api.smake.io/internal/dev/dummy/webhook/ea575f90-d1e1-3a06-91af-601ae94b2acd",      "events": [        {          "id": 1,          "name": "order.prepared"        },        {          "id": 2,          "name": "order.cancelled"        },        {          "id": 3,          "name": "order.completed"        },        {          "id": 4,          "name": "order.failed"        },        {          "id": 5,          "name": "variant.completed"        },        {          "id": 6,          "name": "variant.failed"        },        {          "id": 7,          "name": "shipment.prepared"        },        {          "id": 8,          "name": "logo.completed"        },        {          "id": 9,          "name": "logo.failed"        },        {          "id": 10,          "name": "master-product.updated"        },        {          "id": 11,          "name": "master-variant.updated"        },        {          "id": 12,          "name": "shipping-rate.calculated"        },        {          "id": 13,          "name": "id-tag.updated"        },        {          "id": 14,          "name": "shipping-rate.failed"        },        {          "id": 15,          "name": "merchant-product.designer-condition.created"        },        {          "id": 16,          "name": "merchant-product.designer-condition.changed"        },        {          "id": 17,          "name": "merchant-variant.designer-condition.created"        },        {          "id": 18,          "name": "merchant-variant.designer-condition.changed"        },        {          "id": 19,          "name": "merchant-product.created"        },        {          "id": 20,          "name": "merchant-product.updated"        },        {          "id": 21,          "name": "merchant-product.deleted"        },        {          "id": 22,          "name": "merchant-variant.created"        },        {          "id": 23,          "name": "merchant-variant.updated"        },        {          "id": 24,          "name": "merchant-variant.deleted"        },        {          "id": 25,          "name": "draft-order.checked"        },        {          "id": 26,          "name": "draft-order.failed"        },        {          "id": 27,          "name": "disposition-order.assigned-to-manual-process"        }      ],      "created_at": "2026-04-08T06:00:15+00:00",      "updated_at": "2026-04-08T06:00:15+00:00"    }  ],  "links": {    "first": "https://api.smake.io/v2/apps/1/webhooks?per_page=3&page=1",    "last": null,    "prev": null,    "next": null  },  "meta": {    "current_page": 1,    "current_page_url": "https://api.smake.io/v2/apps/1/webhooks?per_page=3&page=1",    "from": 1,    "path": "https://api.smake.io/v2/apps/1/webhooks",    "per_page": 3,    "to": 1  }}

Show Job Status GET

Returns the status of a background job started by an asynchronous endpoint such as creating an order, logo, or variant design. While the job is still running, the response is accepted with an empty result; once finished, it includes the resulting resource.

Create Webhook POST

Creates a webhook endpoint that listens to one or more of the [available events](/docs/checkout/2022-02-01/endpoints/webhooks/listWebhooks): it receives a POST request whenever one of the selected events happens in this app, such as an order or variant reaching a certain state. > **Warning:** You can create up to 10 webhooks per event. ### Attributes | Field | Type | Description | Required | |-------------|--------|-----------------------------------------------------------------------------------------------|----------| | url | string | The URL to listen for incoming POST notification containing event information. | yes | | token | string | A token to secure your url. | | | version | string | The version in which the information should be transformed to. Default: `current api version` | | | description | json | A json object of localized description. | | | state | string | State of the endpoint (see below). Default: `inactive` | | | events | array | An array of Event Objects (see below). | yes | ### States | name | Default | |----------|---------| | inactive | yes | | active | | ### Event Object | Field | Type | Description | Required | |-------|--------|-------------------|----------| | name | string | The internal name | yes |