ApiResourcesStore settings
Create a notification channel
Create an email or Discord notification destination.
The Discord webhook field is write-only. The response reports webhook_configured instead.
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/store/notification-channels" \ -H "Content-Type: application/json" \ -d '{ "channel": { "type": "email", "email": "user@example.com", "allowed_notifications": [ "string" ] } }'{
"data": {
"id": 0,
"type": "email",
"email": "user@example.com",
"channel": "string",
"webhook_configured": true,
"allowed_notifications": [
"string"
]
}
}{
"message": "Unauthenticated."
}{
"message": "This action is unauthorized."
}{
"message": "The given data was invalid.",
"errors": {
"data": [
"The data field is required."
]
}
}