Quickstart
Create your first scoped action and hand a safe endpoint to your agent. Takes about two minutes.
1
Create an action
An action wraps a single API call — the method, URL, auth, and allowed inputs — behind a scoped proxy endpoint. Sign up or sign in, then pick one of three creation flows:
Set up with your coding agent →
Generate a prompt for Claude, Cursor, or any coding agent to configure itself.
Create from template →
Pre-built configs for Resend, Stripe, Twilio — fill in your key and go.
Create from scratch →
Full manual form — specify the method, URL, auth, schema, and template yourself.
Prefer the API? See the API quickstart.
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)