Skip to main content
POST
/
webhook-endpoints
cURL
curl -X POST https://api.neuraldraft.io/v1/webhook-endpoints \
  -H "Authorization: Bearer ndsk_live_yourkey" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://hooks.lakesideyoga.uk/neural-draft","events":["order.paid","order.fulfilled","blog_post.published"]}'
{
  "id": "whe_2NgcaXxFqLPo",
  "url": "https://hooks.lakesideyoga.uk/neural-draft",
  "events": [
    "order.paid",
    "order.fulfilled",
    "blog_post.published"
  ],
  "is_active": true,
  "signing_secret": "whsec_OmtQ9X5gTzUv7sR1kBhJnAeYpV2cDfWiM3oP",
  "last_delivery_status": null,
  "last_delivery_at": null,
  "created_at": "2026-04-19T10:30:00Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.neuraldraft.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Project API key. Pass as Authorization: Bearer ndsk_live_.... Manage keys via /projects/me/api-keys. Test-mode keys use the ndsk_test_ prefix.

Body

application/json
url
string<uri>
required
events
enum<string>[]
required
Minimum array length: 1

All webhook event topics emitted by the platform.

Available options:
blog_post.published,
blog_post.translated,
social_post.published,
social_post.failed,
order.created,
order.paid,
order.fulfilled,
order.cancelled,
order.refunded,
booking.confirmed,
booking.cancelled,
booking.completed,
content.changed,
image.generated,
connect.account_updated
is_active
boolean
default:true

Response

Created (with secret).

id
string
required
Example:

"whe_2NgcaXxFqLPo"

url
string<uri>
required
events
enum<string>[]
required

All webhook event topics emitted by the platform.

Available options:
blog_post.published,
blog_post.translated,
social_post.published,
social_post.failed,
order.created,
order.paid,
order.fulfilled,
order.cancelled,
order.refunded,
booking.confirmed,
booking.cancelled,
booking.completed,
content.changed,
image.generated,
connect.account_updated
is_active
boolean
required
created_at
string<date-time>
required
signing_secret
string
required

HMAC-SHA256 secret used to sign every delivery from this endpoint. Returned only at creation. Use it to verify the X-Neural-Draft-Signature header on incoming requests.

Example:

"whsec_OmtQ9X5gTzUv7sR1kBhJnAeYpV2cDfWiM3oP"

last_delivery_status
enum<string> | null
Available options:
success,
failed,
pending,
null
last_delivery_at
string<date-time> | null