Quickstart

Create your first scoped action and hand a safe endpoint to your agent. Takes about two minutes.

2

Execute from your agent

The dashboard gives you a scoped token and action ID. Your agent calls /x/{action_id} with the token and only the fields defined in the input schema.

POST /x/act_7kX2m9
curl -X POST https://narrowapi.com/x/act_7kX2m9 \
  -H "Authorization: Bearer sxt_Dk9m2x..." \
  -H "Content-Type: application/json" \
  -d '{
    "to": "user@example.com",
    "subject": "Welcome!",
    "body": "<h1>Welcome aboard</h1>"
  }'
{"id":"msg_abc123"} 200 OK (proxied from Resend)