---
title: "Text a confirmation code to an owner phone"
method: POST
path: "/api/v1/inboxes/{id}/owners/{ownerId}/phone"
tags: ["SMS"]
---

# Text a confirmation code to an owner phone

`POST /api/v1/inboxes/{id}/owners/{ownerId}/phone`

## Request

- Base URL: `https://cooperemail.com`
- URL: `https://cooperemail.com/api/v1/inboxes/{id}/owners/{ownerId}/phone`
- Auth: HTTP bearer

Requires owner_manage. The owner email must already be verified (HTTP 409 owner_not_verified). The number must have opted in at /sms within the last 24 hours (HTTP 409 consent_required). Sends a code on Avatar 8 LLC's verified campaign from the toll-free number. Codes are limited to 5 per hour for a number. HTTP 404 owner_not_found for another inbox's owner. HTTP 404 not_found when SMS is off. The response does not include the code.

## Path parameters

- `id` string, required
- `ownerId` string, required

## Request body

- object
  - `e164` string
  - `phone` string: Same as e164. One of the two is required.

## Response `201`

Pending or already verified owner phone. The code is not returned.

- OwnerPhone
  - `object` 'owner_phone', required
  - `id` string, required
  - `owner_id` string, required
  - `inbox_id` string, required
  - `e164` string, required
  - `status` 'pending' | 'verified' | 'toll_free_verification_pending', required
  - `confirmed_at` string, date-time, nullable

## Other responses

- `404`: not_found or owner_not_found
- `409`: owner_not_verified or consent_required
- `429`: rate_limited

---

[API](https://skmtc.dev/cooperemail/apis/cooper-email-api.md) · [All operations](https://skmtc.dev/cooperemail/apis/cooper-email-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cooperemail/apis/cooper-email-api/revisions/6d800a7b3e33?raw)
