Source: https://support.atomicwork.com/api-reference/requests/postapi-v1-requests-requestid-move

# Move Request

POST `https://{tenant}.atomicwork.com/api/v1/requests/{requestId}/move`

**DEPRECATED**: Use `/requests/\{requestId\}/move/result` instead.

This endpoint does not handle permission-based responses correctly when the user
lacks view access to the destination workspace.

## Authorization

#### X-Api-Key (header, string, required)

API key authentication.

## Headers

#### X-Workspace-Id (header, string)

## Path Parameters

#### requestId (path, string, required)

## Body

#### destination\_workspace\_id (body, integer)

#### request\_note (body, object)

#### properties

#### description (string)

#### workflow\_request\_note (body, object)

Payload to create a request note. Mentions (`mentions`) and agent-group mentions
(`agent_group_mentions`) can be supplied. Public notes notify the requester,
assignee and all followers (direct users plus members of any agent groups following
the request, de-duplicated). Agent groups listed in `agent_group_mentions` are
added as request followers.

#### properties

#### user\_id (integer)

#### conversation\_id (integer)

When set, the reply is mirrored into this conversation's thread (UAG).

#### description (string)

#### mentions (array of integer)

User IDs mentioned in the note. Mentioned users are notified and added as direct followers.

#### agent\_group\_mentions (array of integer)

Agent group IDs mentioned in the note. Members of these groups are notified
and the groups are added as request followers.

#### is\_private (boolean)

#### source (enum (string)) — allowed: EMAIL, SLACK, TEAMS, PORTAL, WORKFLOW, JOURNEY, API, UNIVERSAL\_AGENT

#### type (enum (string)) — allowed: ESD\_NOTE, SLACK\_NOTE, EMAIL\_NOTE, RATING, TEMPLATE, WORKFLOW\_NOTE

#### attachments (array of integer)

#### cc\_emails (array of string)

#### bcc\_emails (array of string)

#### is\_broadcast (boolean)

#### external\_id (string)

#### external\_source\_type (enum (string)) — allowed: SAAS\_GENIE, SNOW, JSM\_BRIDGE

#### email\_content (string)

#### event\_created\_at (string)

Event creation timestamp. When provided via public API, also backdates the note's created time, SLA metrics, and activity timestamps. Must not be in the future or before the request's creation time.

#### transition (object)

Applied in the same transaction as the note: both commit, or neither does. Takes the same body PATCH /requests/{requestId} accepts

#### data (body, object)

## Response

#### 200

Successful response

#### Request

```bash cURL
curl -X POST 'https://{tenant}.atomicwork.com/api/v1/requests/{requestId}/move' \
  -H 'X-Api-Key: <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{"destination_workspace_id": 0, "request_note": {"description": "string"}, "workflow_request_note": {"user_id": 0, "conversation_id": 0, "description": "string", "mentions": [0], "agent_group_mentions": [0], "is_private": true, "source": "EMAIL", "type": "ESD_NOTE", "attachments": [0], "cc_emails": ["string"], "bcc_emails": ["string"], "is_broadcast": true, "external_id": "string", "external_source_type": "SAAS_GENIE", "email_content": "string", "event_created_at": "date-time", "transition": {}}, "data": {}}'
```

```javascript JavaScript
const res = await fetch('https://{tenant}.atomicwork.com/api/v1/requests/{requestId}/move', {
  method: 'POST',
  headers: {
    'X-Api-Key': '<api-key>',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({"destination_workspace_id": 0, "request_note": {"description": "string"}, "workflow_request_note": {"user_id": 0, "conversation_id": 0, "description": "string", "mentions": [0], "agent_group_mentions": [0], "is_private": true, "source": "EMAIL", "type": "ESD_NOTE", "attachments": [0], "cc_emails": ["string"], "bcc_emails": ["string"], "is_broadcast": true, "external_id": "string", "external_source_type": "SAAS_GENIE", "email_content": "string", "event_created_at": "date-time", "transition": {}}, "data": {}}),
});
const data = await res.json();
```

```python Python
import requests

res = requests.post(
    'https://{tenant}.atomicwork.com/api/v1/requests/{requestId}/move',
    headers={'X-Api-Key': '<api-key>'},
    json={"destination_workspace_id": 0, "request_note": {"description": "string"}, "workflow_request_note": {"user_id": 0, "conversation_id": 0, "description": "string", "mentions": [0], "agent_group_mentions": [0], "is_private": true, "source": "EMAIL", "type": "ESD_NOTE", "attachments": [0], "cc_emails": ["string"], "bcc_emails": ["string"], "is_broadcast": true, "external_id": "string", "external_source_type": "SAAS_GENIE", "email_content": "string", "event_created_at": "date-time", "transition": {}}, "data": {}}
)
data = res.json()
```
