Authentication (Allauth Headless)
Get the phone number
Retrieves the phone number of the account, if any. Note that while the endpoint returns a list of phone numbers, at most one entry is returned.
get/api/v2/allauth/app/v1/account/phone
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
client'app' | 'browser' required
The type of client accessing the API.
Headers
X-Session-Tokenstring
Session token. Only needed when client is equal to app.
Response
List of phone numbers.
Example response
{
"data": [
{
"phone": "+314159265359"
}
]
}Changes
No recorded changes to this operation across all 50 revisions of this API.