---
title: "Convert Action Id"
method: POST
path: "/agent/convert-action-id"
---

# Convert Action Id

`POST /agent/convert-action-id`

## Request

- Base URL: `https://api.phonely.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.phonely.ai/agent/convert-action-id`
- Auth: none declared. Required headers: `authorization`

Converts a list of action IDs to random ID format

Args:
    action_ids (list): List of action IDs to convert

Returns:
    dict: Response with status, data and message
        - On success: {"status": "success", "data": {"idMap": {"action_id": "random_id", ...}}, "message": "..."}

## Headers

- `authorization` string, required

## Request body

- ActionIdRequest
  - `actionIds` string[], required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/phonely/apis/phonely-api.md) - [All operations](https://skmtc.dev/phonely/apis/phonely-api/llms.txt) - [OpenAPI document](https://skmtc.dev/phonely/apis/phonely-api/revisions/9bfd5599d479?raw)
