Public
PhoneSessions

Start phone sign-in (send SMS code)

Passwordless phone sign-in, step 1: sends a 6-digit SMS one-time code (self-issued) to the given Australian mobile. Works for numbers with or without an existing account — verifying a new number creates the account (phone sign-in is also phone sign-up). Always returns 204; the response never reveals whether a number has an account. Re-sends are rate-limited per number and per IP.

post/users/phone-sessions

Request

  • Base URL: https://api.purplegrain.com/api/v1
  • URL: https://api.purplegrain.com/api/v1/users/phone-sessions
  • Auth: none declared

Request body

mobilestring required

Australian mobile in any common format.

Response

Accepted (a code was sent if the number and rate limits allow).

Changes

No recorded changes to this operation across all 2 revisions of this API.