two_factor

Assign a phone number

Gives a saved login a Pomerado phone number to receive its website's text-message sign-in codes, so sign-ins need no one to read them.

  • Assigning again returns the same number.
  • Next, the person sets this number as the website account's phone for codes. Then call logins.verify_sms_number to check that codes arrive.
  • features.sms_numbers on your account says whether you may assign one.
post/v1/logins/{id}/sms-number

Request

  • Base URL: https://api.pomerado.ai
  • URL: https://api.pomerado.ai/v1/logins/{id}/sms-number
  • Auth: HTTP bearer

Path parameters

idstring required
Example:login_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190

a saved login ID: login_ and 32 lowercase hex digits

Response

The login's number

phone_numberstring required
status'linked' | 'verified' required
linked_atstring required
verified_atstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.