---
title: "Delete contacts by phone"
method: POST
path: "/contacts/delete-by-phone"
tags: ["Contacts"]
---

# Delete contacts by phone

`POST /contacts/delete-by-phone`

## Request

- Base URL: `https://api.textla.com/v1`
- URL: `https://api.textla.com/v1/contacts/delete-by-phone`
- Auth: HTTP bearer

Deletes contacts whose phone appears in the supplied list under the authenticated account. The list accepts 1 to 10,000 phones; unusable phones are reported in the ordered rejected array while other phones are still processed. Requires a user-scope token; tenant-admin tokens are rejected with 403.

## Request body

- object
  - `phones` string[], nullable, required

## Response `200`

OK

- BulkDeleteByPhonesReport
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `deleted` integer, required
  - `rejected` PhoneRejection[], nullable, required
    - `index` integer, required
    - `phone` string, required
    - `reason` string, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `412`: Precondition Failed
- `422`: Unprocessable Entity
- `500`: Internal Server Error
- `502`: Bad Gateway
- `503`: Service Unavailable
- `504`: Gateway Timeout

---

[API](https://skmtc.dev/textla/apis/textla-api.md) - [All operations](https://skmtc.dev/textla/apis/textla-api/llms.txt) - [OpenAPI document](https://skmtc.dev/textla/apis/textla-api/revisions/473f03350bc1?raw)
