ResourcesWebhook Channels
Create a webhook channel
Create a public outbound webhook destination with an event filter.
Authorization
bearerAuth storeAuth AuthorizationBearer <token>
Provide your SellApp API key as a bearer token.
In: header
X-STORE<token>
Select the SellApp store for this API request.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://sell.app/api/v2/webhook-channels" \ -H "Content-Type: application/json" \ -d '{ "name": "Order automation", "url": "https://example.com/sellapp/webhooks", "allowed_notifications": [ "order.created", "order.paid" ] }'{
"data": {
"id": "0f33d01f-f9f8-45e8-80c8-7734d057196d",
"name": "Order automation",
"url": "https://example.com/sellapp/webhooks",
"allowed_notifications": [
"order.created",
"order.paid"
],
"signing_secret_configured": true
}
}{
"message": "Unauthenticated."
}{
"message": "This action is unauthorized."
}{
"message": "The given data was invalid.",
"errors": {
"data": [
"The data field is required."
]
}
}