Skip to main content
GET
/
users
/
me
Get user info
curl --request GET \
  --url https://api.cloud.flexprice.io/v1/users/me \
  --header 'x-api-key: <api-key>'
{
  "email": "<string>",
  "id": "<string>",
  "roles": [
    "<string>"
  ],
  "tenant": {
    "billing_details": {
      "address": {
        "address_city": "<string>",
        "address_country": "<string>",
        "address_line1": "<string>",
        "address_line2": "<string>",
        "address_postal_code": "<string>",
        "address_state": "<string>"
      },
      "email": "<string>",
      "help_email": "<string>",
      "phone": "<string>"
    },
    "created_at": "<string>",
    "id": "<string>",
    "metadata": {},
    "name": "<string>",
    "status": "<string>",
    "updated_at": "<string>"
  },
  "type": "user"
}

Authorizations

x-api-key
string
header
required

Enter your API key in the format x-api-key <api-key>*

Response

OK

email
string

Empty for service accounts

id
string
roles
string[]
tenant
object
type
enum<string>
Available options:
user,
service_account