---
# System prepended metadata

title: Numbers Warehouse

---

Systems Design & Architecture
---

# Numbers Warehouse


## HTTP API Design
Design an HTTP API that allows an internal system (no auth) to:
- get information about a number
- insert a new phone number into the system
- remove a number from the system
- assign a number to a user (a user may own many numbers)
- remove a number from a user

Assume the business logic fields for a number are:
- phone_number
- carrier_data
- user_id


### Get number info

**Request**

```
```
**Response**

```
```

### Insert a new number

**Request**

```
```
**Response**

```
```

### Delete a number

**Request**

```
```
**Response**

```
```

### Assign a number to a user

**Request**

```
```

**Response**

```
```

### Database
