API reference
9 endpoints. All paths are relative to your installation, for example https://app.example.com.
/api/v1/w/{workspaceId}/copilot/threadsMy Copilot conversations/api/v1/w/{workspaceId}/copilot/threads/{id}Conversation with messages and proposed actions/api/v1/w/{workspaceId}/copilot/askAsk the Copilot (answers + recommendations + proposed actions; nothing is executed)/api/v1/w/{workspaceId}/copilot/actions/{id}/executeConfirm and run a proposed action (role-checked, runs once)/api/v1/w/{workspaceId}/copilot/actions/{id}/rejectReject a proposed action/api/v1/w/{workspaceId}/copilot/repetitionFind repetitive wording across generated emails/api/v1/w/{workspaceId}/copilot/memoryBusiness memory/api/v1/w/{workspaceId}/copilot/memoryAdd business memory/api/v1/w/{workspaceId}/copilot/memory/{id}Delete business memory/api/v1/w/{workspaceId}/copilot/threadsMy Copilot conversations
Path parameters
workspaceIdrequired | string |
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/copilot/threads" \
-H "Authorization: Bearer $EMN_API_KEY"/api/v1/w/{workspaceId}/copilot/threads/{id}Conversation with messages and proposed actions
Path parameters
workspaceIdrequired | string |
idrequired | string |
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/copilot/threads/$ID" \
-H "Authorization: Bearer $EMN_API_KEY"/api/v1/w/{workspaceId}/copilot/askAsk the Copilot (answers + recommendations + proposed actions; nothing is executed)
Path parameters
workspaceIdrequired | string |
Request body (JSON)
threadId | string (uuid) | null |
questionrequired | stringLength 1–4000 |
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/copilot/ask" \
-H "Authorization: Bearer $EMN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"threadId": "00000000-0000-4000-8000-000000000000",
"question": "string"
}'/api/v1/w/{workspaceId}/copilot/actions/{id}/executeConfirm and run a proposed action (role-checked, runs once)
Path parameters
workspaceIdrequired | string |
idrequired | string |
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/copilot/actions/$ID/execute" \
-H "Authorization: Bearer $EMN_API_KEY"/api/v1/w/{workspaceId}/copilot/actions/{id}/rejectReject a proposed action
Path parameters
workspaceIdrequired | string |
idrequired | string |
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/copilot/actions/$ID/reject" \
-H "Authorization: Bearer $EMN_API_KEY"/api/v1/w/{workspaceId}/copilot/repetitionFind repetitive wording across generated emails
Path parameters
workspaceIdrequired | string |
Query parameters
campaignId | string (uuid) |
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/copilot/repetition" \
-H "Authorization: Bearer $EMN_API_KEY"/api/v1/w/{workspaceId}/copilot/memoryBusiness memory
Path parameters
workspaceIdrequired | string |
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/copilot/memory" \
-H "Authorization: Bearer $EMN_API_KEY"/api/v1/w/{workspaceId}/copilot/memoryAdd business memory
Path parameters
workspaceIdrequired | string |
Request body (JSON)
contentrequired | stringLength 1–2000 |
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/copilot/memory" \
-H "Authorization: Bearer $EMN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "string"
}'/api/v1/w/{workspaceId}/copilot/memory/{id}Delete business memory
Path parameters
workspaceIdrequired | string |
idrequired | string |
curl -X DELETE "https://app.example.com/api/v1/w/$WORKSPACE_ID/copilot/memory/$ID" \
-H "Authorization: Bearer $EMN_API_KEY"