---
title: "Assign User Number To Kb"
method: POST
path: "/twilio/numbers/{number_id}/settings"
tags: ["Twilio Realtime"]
---

# Assign User Number To Kb

`POST /twilio/numbers/{number_id}/settings`

## Request

- Base URL: `https://api.dante-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dante-ai.com/twilio/numbers/{number_id}/settings`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2
    - Password
    - Token URL: `auth/jwt/login`
- TypeScript: <https://skmtc.dev/dante-ai/apis/dante-ai-api/docs/twilio/numbers/:number_id/settings/post.ts> (a function with typed inputs; its response is checked against the schema)

Assign a Twilio number to the user.

## Path parameters

- `number_id` string, uuid, required

## Query parameters

- `knowledge_base_id` string, uuid, required
- `welcome_message` string, required

## Response `200`

Successful Response

- TwilioKnowledgeBaseSettings
  - `id` string, uuid
  - `date_created` string, date-time
  - `date_updated` string, date-time
  - `twilio_number_id` string, uuid, required: The ID of the Twilio number associated with the knowledge base.
  - `kb_id` string, uuid, required: The ID of the knowledge base associated with the Twilio number.
  - `welcome_message` string, required: The welcome message for the Twilio number.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dante-ai/apis/dante-ai-api.md) - [All operations](https://skmtc.dev/dante-ai/apis/dante-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dante-ai/apis/dante-ai-api/revisions/38b6c9a4246d?raw)
