InterPointDeveloper quickstart

Agent API reference

Download OpenAPI JSON

Base URL https://api-production-23b3.up.railway.app/v1/agent

Send your agent token in the Authorization: Bearer header. Examples, webhook signatures, and retry guidance are in the agent playbook.

Contacts

GET /contacts

Search by name, email, or phone with q. Page with after and limit. Scope contacts:read

POST /contacts

Create with name, E.164 phoneNumber, and optional email. Scope contacts:write

PATCH /contacts/{id}

Update name or email. Pass null to clear email. Scope contacts:write

Conversations

GET /conversations

List conversations by cursor with after and limit. Scope conversations:read

POST /conversations

Start or reopen a thread with contactId and phoneNumberId. Scope conversations:write

GET /conversations/{conversationId}

Read conversation details, control mode, and version. Scope conversations:read

GET /conversations/{conversationId}/messages

Load message history with before and limit. Scope conversations:read

POST /conversations/{conversationId}/messages

Send body or mediaUrls using expectedConversationVersion and an Idempotency-Key header. Scope messages:send

PUT /conversations/{id}/read-state

Set read to true or false. Clearing unread requires workspace opt-in. Scope conversations:write

GET /conversations/{id}/link

Get a shareable thread URL for an authorized InterPoint user. Scope conversations:read

Drafts and handoff

GET /conversations/{conversationId}/drafts

List drafts owned by this agent in the conversation. Scope drafts:write

POST /conversations/{conversationId}/drafts

Create with body or mediaUrls, expectedConversationVersion, and idempotencyKey. Scope drafts:write

PATCH /conversations/{conversationId}/drafts/{id}

Edit a pending draft with the current conversation version. Scope drafts:write

DELETE /conversations/{conversationId}/drafts/{id}

Discard a pending draft. Scope drafts:write

POST /conversations/{conversationId}/escalate

Hand off with reason and expectedConversationVersion. Returns a thread link. Scope escalations:write

POST /conversations/{conversationId}/release

Release control with reason and expectedConversationVersion. Scope control:release

Events

GET /events

Poll your event stream using after and limit. Scope events:read

GET /deliveries

Inspect webhook delivery attempts using after and limit. Scope events:read

POST /events/replay

Request event replay within the agent’s authorized stream. Scope events:read