> ## Documentation Index
> Fetch the complete documentation index at: https://docs.smartsend.co.il/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove an agent from a contact

> Remove only the specified agent from the contact identified by phone number. Other assignments remain unchanged. Repeating the request, removing an agent who is not assigned, or using a phone number with no existing conversation returns HTTP 200 with unassignedCount: 0. This operation does not create a conversation or delete the agent.



## OpenAPI

````yaml /openapi-make.json post /integrations/make/conversations/unassign
openapi: 3.0.3
info:
  title: SmartSend Make.com API
  version: 1.0.0
  description: >-
    Public HTTP API for the SmartSend Make.com integration. Every request is
    authenticated with the `x-organization-id` header. These are the endpoints
    Make.com (and any external automation tool) calls to send messages, manage
    conversations, tags, lists, custom fields, and more.
  contact:
    name: SmartSend Support
    email: support@smartsend.com
servers:
  - url: https://smartsend-server.otherwise.co.il
    description: Production
  - url: http://localhost:3091
    description: Local development
security:
  - organizationId: []
tags: []
paths:
  /integrations/make/conversations/unassign:
    post:
      tags:
        - Make.com Integration
      summary: Remove an agent from a contact
      description: >-
        Remove only the specified agent from the contact identified by phone
        number. Other assignments remain unchanged. Repeating the request,
        removing an agent who is not assigned, or using a phone number with no
        existing conversation returns HTTP 200 with unassignedCount: 0. This
        operation does not create a conversation or delete the agent.
      operationId: removeContactAssignee
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - userId
              anyOf:
                - required:
                    - phoneNumber
                - required:
                    - phone
              properties:
                phoneNumber:
                  type: string
                  minLength: 1
                  description: >-
                    Contact phone number. Use the full international number, for
                    example 972501234567.
                  example: '972501234567'
                phone:
                  type: string
                  minLength: 1
                  description: >-
                    Alternative to phoneNumber. If both are supplied, phone
                    takes precedence.
                userId:
                  type: string
                  minLength: 1
                  description: Agent user ID returned by GET /integrations/make/members.
            example:
              phoneNumber: '972501234567'
              userId: user_123
      responses:
        '200':
          description: Assignee removed successfully
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - message
                  - data
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  message:
                    type: string
                  data:
                    type: object
                    required:
                      - conversationId
                      - userId
                      - unassignedCount
                    properties:
                      conversationId:
                        type: string
                        nullable: true
                        description: >-
                          Existing conversation ID, or null if no conversation
                          exists for this phone number.
                      unassignedCount:
                        type: integer
                        minimum: 0
                        description: >-
                          Number of assignments removed. Zero is a successful
                          no-op.
                      userId:
                        type: string
              example:
                success: true
                message: Assignee removed successfully
                data:
                  conversationId: conversation_123
                  userId: user_123
                  unassignedCount: 1
        '400':
          description: Missing or invalid phone number or userId.
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - message
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  message:
                    type: string
components:
  securitySchemes:
    organizationId:
      type: apiKey
      in: header
      name: x-organization-id
      description: Your SmartSend Organization ID. Required on every request.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.