Outvexa

API reference

Copilot

9 endpoints. All paths are relative to your installation, for example https://app.example.com.

get/api/v1/w/{workspaceId}/copilot/threads

My Copilot conversations

Workspace member or API keyRole viewer or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/copilot/threads" \
  -H "Authorization: Bearer $EMN_API_KEY"

get/api/v1/w/{workspaceId}/copilot/threads/{id}

Conversation with messages and proposed actions

Workspace member or API keyRole viewer or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/copilot/threads/$ID" \
  -H "Authorization: Bearer $EMN_API_KEY"

post/api/v1/w/{workspaceId}/copilot/ask

Ask the Copilot (answers + recommendations + proposed actions; nothing is executed)

Workspace member or API keyRole viewer or higher120 requests / 1 h per userSuccess: 200

Path parameters

workspaceIdrequiredstring

Request body (JSON)

threadIdstring (uuid) | null
questionrequiredstringLength 1–4000
Request
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"
  }'

post/api/v1/w/{workspaceId}/copilot/actions/{id}/execute

Confirm and run a proposed action (role-checked, runs once)

Workspace member or API keyRole member or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/copilot/actions/$ID/execute" \
  -H "Authorization: Bearer $EMN_API_KEY"

post/api/v1/w/{workspaceId}/copilot/actions/{id}/reject

Reject a proposed action

Workspace member or API keyRole viewer or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/copilot/actions/$ID/reject" \
  -H "Authorization: Bearer $EMN_API_KEY"

get/api/v1/w/{workspaceId}/copilot/repetition

Find repetitive wording across generated emails

Workspace member or API keyRole viewer or higherSuccess: 200

Path parameters

workspaceIdrequiredstring

Query parameters

campaignIdstring (uuid)
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/copilot/repetition" \
  -H "Authorization: Bearer $EMN_API_KEY"

get/api/v1/w/{workspaceId}/copilot/memory

Business memory

Workspace member or API keyRole viewer or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/copilot/memory" \
  -H "Authorization: Bearer $EMN_API_KEY"

post/api/v1/w/{workspaceId}/copilot/memory

Add business memory

Workspace member or API keyRole admin or higherSuccess: 201

Path parameters

workspaceIdrequiredstring

Request body (JSON)

contentrequiredstringLength 1–2000
Request
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"
  }'

delete/api/v1/w/{workspaceId}/copilot/memory/{id}

Delete business memory

Workspace member or API keyRole admin or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring
Request
curl -X DELETE "https://app.example.com/api/v1/w/$WORKSPACE_ID/copilot/memory/$ID" \
  -H "Authorization: Bearer $EMN_API_KEY"