Overview
The Orsay REST API allows you to manage sequences and access conversations programmatically from your own server. This is useful for:- Automating sequence creation from a VPS or cron job
- Integrating Orsay into your existing pipeline (e.g., Instagram β DM sequence)
- Building custom automations without going through the dashboard
- Retrieving conversation data for your CRM or analytics tools
Authentication
All API requests require a Bearer token using your API key.Getting your API key
- Go to Settings β API Keys in the Orsay dashboard
- Click Generate API Key
- Copy the key immediately β it wonβt be shown again
Rate Limiting
The API is rate-limited to 200 requests per hour per organization. If you exceed this limit, youβll receive a429 Too Many Requests response with a Retry-After header indicating how many seconds to wait.
Base URL
Endpoints
Create a Lead
first_name and phone are required. The phone number must be in international format. If sequence_id is omitted, the lead is created without being subscribed to a sequence.
Example:
The target sequence must use the Contact subscribed to sequence trigger. A
402 means the organization has no active subscription.List Agents
List Profiles
List Sequences
Get Sequence
Create Sequence
Optional fields:
Response (201):
Update Sequence
Delete Sequence
List Conversations
Example:
Use
next_cursor as the last_lead_id parameter in subsequent requests to paginate through results. When next_cursor is null, there are no more results.Get Conversation Messages
Example: