---
title: "Sign up (or, if this phone already has an account, log in) via SMS -- sends an OTP"
method: POST
path: "/auth/phone/register"
tags: ["Auth"]
---

# Sign up (or, if this phone already has an account, log in) via SMS -- sends an OTP

`POST /auth/phone/register`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/auth/phone/register`
- Auth: none declared

## Request body

- PhoneRegisterRequest
  - `phone` string, required
  - `captchaToken` string
  - `displayName` string

## Response `200`

OTP sent

- object
  - `data` object, required
    - `otpSent` true, required
    - `phone` string, required
  - `meta` object, required
    - `requestId` string, required

## Other responses

- `422`: Invalid phone number, or GoTrue/Twilio rejected the request

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
