---
title: "Get Call Id"
method: POST
path: "/eval/get-call-id"
---

# Get Call Id

`POST /eval/get-call-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/eval/get-call-id`
- Auth: none declared

Start a new eval call.

Regression tests usually pre-store API/LLM mocks through
/eval/regression-mocks and pass callUUID so first-turn actions can read
mocks immediately. apiMocks is still accepted for older eval callers.

## Headers

- `authorization` string, nullable
- `x-internal-api-key` string, nullable

## Request body

- GetCallIdRequest
  - `agentId` string, required
  - `useCustomPrompt` boolean, nullable
  - `apiMocks` object, nullable
  - `callUUID` string, nullable
  - `callStartTime` string, nullable
  - `customerPhoneNumber` string, nullable
  - `businessPhoneNumber` string, nullable
  - `callIdFirestore` string, nullable
  - `startFlowId` string, nullable
  - `startNodeId` string, nullable
  - `liveVariables` object[], nullable
  - `simulationMode` boolean, nullable

## 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)
