---
title: "Get Agent For Number"
method: GET
path: "/v1/phone-numbers/{number}/agent"
tags: ["Phone Numbers", "Phone Numbers"]
---

# Get Agent For Number

`GET /v1/phone-numbers/{number}/agent`

## Request

- Base URL: `https://api.call2me.app`
- URL: `https://api.call2me.app/v1/phone-numbers/{number}/agent`
- Auth: HTTP bearer

Get agent configuration for a phone number.

This endpoint is used by the orchestrator to lookup agent config
when a call comes in to a specific DID.

## Path parameters

- `number` string, required

## Response `200`

Successful Response

- AgentConfigResponse: Agent configuration for orchestrator (phone-number lookup path). Not: internal.py'de aynı isimli DAHA ZENGİN bir model var (email_verified, balance, builtin_functions vb.). Bu minimal versiyon yalnızca /{number}/agent inbound lookup için — isim çakışmasına dikkat, farklı router'lar ayrı import eder.
  - `agent_id` string, required
  - `system_prompt` string, required
  - `model` string, required
  - `temperature` number, required
  - `language` string, required
  - `voice_id` string, required
  - `user_id` string, nullable, required
  - `engine` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/call2me/apis/call2me-api.md) · [All operations](https://skmtc.dev/call2me/apis/call2me-api/llms.txt) · [OpenAPI document](https://skmtc.dev/call2me/apis/call2me-api/revisions/3951f9b7e47d?raw)
