---
title: "Get a random phone number"
method: GET
path: "/testing/accounts/phones"
tags: ["Testing"]
---

# Get a random phone number

`GET /testing/accounts/phones`

Get a random, fictitious phone number that is not assigned to any existing Bolt account.

## Headers

- `X-Publishable-Key` string, required

## Response `200`

Successfully generated a random, fictitious, unassigned phone number.

- AccountTestPhoneData
  - `phone` string, phone, required — A random, fictitious, unassigned phone number.

## Other responses

- `4XX` — An error has occurred, and further details are contained in the response
- `default` — An error has occurred, and no further details are provided (e.g. 5xx errors)

---

[API](https://skmtc.dev/bolt/apis/bolt-api-reference-2.md) · [All operations](https://skmtc.dev/bolt/apis/bolt-api-reference-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bolt/bolt-api-reference-2/revisions/18e78f3cf6f3/schema)
