Skip to main content
POST
/
api
/
v2
/
orders
/
webhooks
cURL
curl -X POST https://morimori.app/api/v2/orders/webhooks \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My Webhook",
    "url": "https://example.com/webhook"
  }'
{
  "data": {
    "id": 123,
    "name": "<string>",
    "secret": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API Key for external client access

Body

application/json
url
string<uri>
required

Webhook endpoint URL

Example:

"https://example.com/webhook"

name
string

Webhook name (for identification)

Maximum string length: 100

Response

Webhook created successfully

data
object