1. Conversations API
Hatif
  • Rate Limiting
  • Account API
    • Service Login
      POST
  • Channels API
    • Get Channels
      GET
  • Support API
    • Upload Image, Video, or PDF
      POST
    • Upload Audio File
      POST
  • Whatsapp API
    • Send Text
      POST
    • Send Template
      POST
    • Send Image
      POST
    • Send Audio
      POST
    • Send Video
      POST
    • Send File
      POST
    • List Templates (Service Account)
      GET
  • Contact
    • Set Property Value on Contact
      PUT
    • Search Contacts
      POST
    • Delete Property Value on Contact
      DELETE
    • Create Contact
      POST
    • Update Contact
      PUT
    • Get Contacts
      GET
    • Get Contact By Id
      GET
    • Create Bulk Contacts vCards
      POST
    • Contacts History
      GET
  • Contact Properties
    • List Contact Properties
    • Contact Properties Statistics
    • Create Contact Property
    • Update Contact Property
    • Delete Contact Property
  • Workspace API
    • Get Workspace Users
  • Conversations API
    • Get Conversation Timeline
      GET
    • List Conversations
      GET
    • Create Conversation
      POST
    • Assign Conversation
      POST
    • Get Conversation
      GET
  • Outbound IVR API
    • Create Outbound IVR
  • Tags API
    • Tag a conversation
    • Create Tag
    • Delete Tag
    • Update Tag
    • List Tags
  • Conversations - Service Account
  • Call Webhook
  • WhatsApp Message Webhook
  • Schemas
    • Call Webhook
    • WhatsApp Message Webhook
    • ServiceAccountTemplateDto
    • ConversationDto
    • CreateTagDto
    • ServiceAccountTemplateParameterDto
    • ChannelConversationDto
    • UpdateTagDto
    • TemplateParameterDto
    • TagDto
    • ParameterValueDto
    • ConversationTimelineDto
    • PagedResultOfTagDto
    • ChannelNotFoundError
    • AiSummaryDto
    • ReplyInfoDto
    • InternalThreadDto
    • LocationMessageDto
    • AssignationInfoDto
    • PagedResultOfConversationDto
    • PagedResultOfConversationTimelineDto
  1. Conversations API

Assign Conversation

POST
/v2/conversations/service-account/{{conversationId}}/assign
A single endpoint that handles three different operations depending on what you send: assign to a human user, assign to an AI agent, or unassign (when both fields are omitted).
ℹ️ You can find assign to a user, assign to an agent, or unassign Provided in the curl.
Behavior is determined entirely by which fields are present:
SentResult
assignedUserId onlyAssigns to that user
assignedAiAgentId onlyAssigns to that agent
Both400 — BusinessException("CN-01"): "Cannot assign to both user and AI agent at the same time"
Neither (empty body {})Unassigns the conversation entirely
Response: 200 OK with an empty body — there's no Ok(result), just return Ok();. If you need to see the updated assignee, call GET .../service-account/{conversationId} afterward.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Body Params application/json

Examples

Responses

🟢200OK
application/json
Assigned/unassigned successfully. Empty body — no result is returned.
Bodyapplication/json

🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --globoff 'https://api.voxa.sa/v2/conversations/service-account/{{conversationId}}/assign' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "assignedUserId": "USER_ID"
}'
Response Response Example
200 - Example 1
{}
Modified at 2026-06-22 14:31:12
Previous
Create Conversation
Next
Get Conversation
Built with