Resolvd
help

Sending tickets

Inbound example

curl -X POST "$RESOLVD_URL/api/inbound" \
  -H "x-resolvd-token: $TOKEN" \
  -H "content-type: application/json" \
  -d '{
    "sender": "sam@buyer.com",
    "subject": "Where is my order?",
    "body": "status?",
    "orderId": "1042"
  }'

FAQ

How do tickets get in?+

POST them to /api/inbound with the x-resolvd-token header, from a helpdesk webhook or an email forwarder.

When does it act on its own?+

Order-status requests with an order id, and refunds at or under REFUND_AUTO_LIMIT, are handled end to end. Everything else escalates.

How do approvals work?+

Escalated tickets appear at /api/approvals. A human approves or denies via /api/approve, or one-taps it in the Greenlite mobile app.

Does it need an AI key?+

Claude triage turns on when ANTHROPIC_API_KEY is set; without it, a transparent keyword heuristic is used, so it always works.