---
title: "Store phone API key"
method: POST
path: "/phone-api-keys"
tags: ["PhoneAPIKeys"]
---

# Store phone API key

`POST /phone-api-keys`

Creates a new phone API key which can be used to log in to the httpSMS app on your Android phone

## Request body

- RequestsPhoneAPIKeyStoreRequest
  - `name` string, required

## Response `200`

OK

- ResponsesPhoneAPIKeyResponse
  - `data` EntitiesPhoneAPIKey, required
    - `api_key` string, required
    - `created_at` string, required
    - `id` string, required
    - `name` string, required
    - `phone_ids` string[], required
    - `phone_numbers` string[], required
    - `updated_at` string, required
    - `user_email` string, required
    - `user_id` string, required
  - `message` string, required
  - `status` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `402` — Payment Required
- `422` — Unprocessable Entity
- `500` — Internal Server Error

## Changes

> 25 revisions in range; 1 could not be searched.

- **2026-05-22** `81daf689ed46` — 1 info
  - added the non-success response with the status `402`
- **2025-04-27** `6827fb66abc2` — 1 info
  - endpoint added
- **2023-12-22** `7e5887f7aceb` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ndolestudio/apis/httpsms-api-reference/changes/phone-api-keys/post.md)

---

[API](https://skmtc.dev/ndolestudio/apis/httpsms-api-reference.md) · [All operations](https://skmtc.dev/ndolestudio/apis/httpsms-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ndolestudio/httpsms-api-reference/revisions/7e5d7ce790b3/schema)
