Numbers
Update Inbound Binding
PATCH
/api/v1/number/inbound보낸 필드만 저장됩니다. 모르는 필드는 무시하지 않고 400입니다. 반영은 다음 통화부터입니다.
Authorization
numberKey AuthorizationBearer <token>
번호 API 키. 키가 곧 발신 번호이자 접근 범위다 — 그 번호의 통화만 조회·제어할 수 있다.
In: header
Header Parameters
X-Number-Id?string|null
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Properties
1 <= propertiesResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/v1/number/inbound" \ -H "Content-Type: application/json" \ -d '{ "agent_type": "mastra", "chat_url": "https://agent.example.com/chat" }'{ "agent_type": "mastra", "assistant_id": "support", "chat_url": "https://agent.example.com/api/agents/support/stream", "number_id": "8b21d4e6-77af-4c30-9f5b-1a0c3d2e4f60", "phone": "07079193558"}