Developers

Built by engineers, open to engineers

Every Foxford agent runs on an API your systems can call: send it a message, get back what it says and does, read every conversation. Here is the API and the architecture underneath.

Start here

One request, one answer

An agent answers on its production version through one endpoint. Send the conversation id, the message and who it is from. What comes back is what the agent says and does.

curl -X POST https://api.studiochat.io/playbooks/$AGENT_ID/active/chat \
  -H "X-API-Key: $FOXFORD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "conversation_id": "order-4821",
    "user_message": "Where is my order?",
    "user": "customer-1093"
  }'

The response lists events: messages for the person, plus labels, notes and handoffs for your team.

Job done

Tell us which task comes off the list first. We start by mapping it with you.