---
title: "GET /api/get-email-and-phone"
method: GET
path: "/api/get-email-and-phone"
tags: ["User API"]
---

# GET /api/get-email-and-phone

`GET /api/get-email-and-phone`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/get-email-and-phone`
- Auth: none declared

get email and phone by username

## Request body `application/x-www-form-urlencoded`

- object
  - `username` string, required: The username of the user
  - `organization` string, required: The organization of the user

## Response `200`

The Response object

- ControllersResponse
  - `data` 11830xc000639290False
  - `data2` 12170xc0006392c0False
  - `msg` string
  - `name` string
  - `status` string
  - `sub` string

## Changes

- **2023-03-01** `9866321fa069`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/casdoor/apis/casdoor-restful-api/changes/api/get-email-and-phone/get.md)

---

[API](https://skmtc.dev/casdoor/apis/casdoor-restful-api.md) - [All operations](https://skmtc.dev/casdoor/apis/casdoor-restful-api/llms.txt) - [OpenAPI document](https://skmtc.dev/casdoor/apis/casdoor-restful-api/revisions/be9a5584b821?raw)
