Skip to main content
POST
/
api
/
webhooks
/
{skillId}
Trigger a skill via webhook
curl --request POST \
  --url https://app.useitem.io/api/webhooks/{skillId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "event": "new_lead",
  "user": {
    "email": "alex@acme.com",
    "name": "Alex Johnson"
  },
  "source": "landing_page",
  "timestamp": "2025-10-20T12:00:00Z"
}
'
{
"success": true,
"skillRunId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"message": "Webhook received and skill triggered successfully"
}

Authorizations

x-api-key
string
header
required

Your organization's API key (starts with sk_live_)

Headers

x-webhook-signature
string

Optional HMAC-SHA256 signature for payload verification. Format: sha256={hex_signature}. Computed as HMAC-SHA256(raw_json_body, api_key).

Path Parameters

skillId
string<uuid>
required

The ID of the skill to trigger. The skill must have a webhook trigger configured and be in "live" status.

Body

application/json

Any JSON object. Passed to the skill as input context.

Response

Skill triggered successfully

success
boolean
Example:

true

skillRunId
string<uuid>

ID of the created skill run

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

message
string
Example:

"Webhook received and skill triggered successfully"