---
schema_version: "1"
id: db5405c8f7c898dd601cf1449d543ac24fb6d3b109437fffdddb3a40140733e1
title: Add Participants
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/data-cloud/agentic-memory-context/references/agentic-memory-context-ref/agentic-memory-api-add-participants.md
canonical_url: https://developer.salesforce.com/docs/data/agentic-memory-context/references/agentic-memory-context-api-ref/agentic-memory-api-add-participants.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: a118eb2e23fe9e54dbbe56c9d0adc90c70788c31ad1ad090218ba738a676ac54
products:
  - Agentic Memory & Context
  - Data 360 Developer Documentation
---
# Add Participants

Add additional participants to an active session. Use this endpoint for agent handoffs or multi-agent collaboration.

**URI:** `/api/v1/agentic/conversations/{conversationId}/sessions/{sessionId}/participants`

**Format:** `application/json`

**HTTP Method:** `POST`

**Authentication:** Bearer JWT

## Path Parameters

| Parameter      | Required | Description              |
| -------------- | -------- | ------------------------ |
| conversationId | Yes      | Conversation identifier. |
| sessionId      | Yes      | Session identifier.      |

## Request Headers

| Header        | Required | Description                |
| ------------- | -------- | -------------------------- |
| Authorization | Yes      | Bearer JWT token.          |
| agent_id      | Yes      | Registered agent API name. |

## Request Body Schema

| Field               | Type   | Required | Description                                                                                                           |
| ------------------- | ------ | -------- | --------------------------------------------------------------------------------------------------------------------- |
| participants        | Array  | Yes      | Participants to add. Minimum 1 required.                                                                              |
| participants[].id   | String | Yes      | Participant identifier. Use the agent's registered API name, Individual ID, or User ID depending on participant type. |
| participants[].type | String | Yes      | Participant type. Values: `individual`, `employee`, `agent`, or free-form string.                                     |
| participants[].role | String | Yes      | Participant role in the session. Values: `owner`, `participant`.                                                      |

### Example Request

```json
{
  "participants": [
    {
      "id": "agent-bot-1",
      "type": "agent",
      "role": "participant"
    }
  ]
}
```

## Response Body Schema

| Field          | Type   | Description                                   |
| -------------- | ------ | --------------------------------------------- |
| statusCode     | String | Operation status. Value: `participantsAdded`. |
| conversationId | String | Parent conversation identifier.               |
| sessionId      | String | Parent session identifier.                    |

### Example Response

**Status:** `202 Accepted`

```json
{
  "statusCode": "participantsAdded",
  "conversationId": "...",
  "sessionId": "..."
}
```

## Error Codes

| Status Code | Description                                                     |
| ----------- | --------------------------------------------------------------- |
| 400         | Bad Request. Invalid request format or missing required fields. |
| 401         | Unauthorized. Invalid or missing JWT token.                     |
| 404         | Not Found. Conversation or session does not exist.              |
| 500         | Internal Server Error.                                          |
