# Get profile Deprecated

get ` https://app.mk.io/api/profile/`

This endpoint returns the details of the current user.

Requires authentication; no additional RBAC permissions required.

## Authentication

Authorization Bearer

Bearer authentication of the form `Bearer <token>`, where token is your
auth token.

## Response

200 OK

metadata object [UserMetadata](https://docs.mediakind.com/api-reference/management-api/schemas/usermetadata) Required

Metadata.

Show 1 property Hide 1 property

id string Required format: uuid

The unique identifier of the user.

spec object [UserProfileSpec](https://docs.mediakind.com/api-reference/management-api/schemas/userprofilespec) Required

Specification.

Show 12 properties Hide 12 properties

- avatar string Required <=200 characters
  
  Avatar.
- company string or null Required 0-1024 characters
  
  Company.
- contact_email string Required 1-1024 characters
  
  Contact email address
- country string Required 0-1024 characters
  
  Country.
- customer_id string Required
  
  Primary customer relationship.
- customers map from strings to string Required
  
  Customers.
  
  Show value schema Hide value schema

\[any key\] string

- is_active boolean Required
  
  Is this user active?
- is_admin boolean Required
  
  Is this user a global administrator?
- jobrole string or null Required 0-1024 characters
  
  Job Role.
- name string Required 1-1024 characters
  
  Full name.
- phonenumber string Required 0-1024 characters
  
  Phone number including international dialing code
- signup_problem string or null Required
  
  Issues with signing up to MK.IO?

## Errors

### 400 Bad Request

error object [ErrorDetail](https://docs.mediakind.com/api-reference/management-api/schemas/errordetail) Required

Pertinent information about the error

Show 3 properties Hide 3 properties

- code string Required
  
  The error code.
- detail string Required
  
  The error message.
- extraDetail map from strings to any Optional
  
  Extra information regarding this error.
  
  Show value schema Hide value schema

\[any key\] any

- ref string Required
  
  A reference to the request that caused the error.
- status integer Required
  
  The HTTP status code

### 401 Unauthorized

error object [ErrorDetail](https://docs.mediakind.com/api-reference/management-api/schemas/errordetail) Required

Pertinent information about the error

Show 3 properties Hide 3 properties

\[any key\] any

- ref string Required
  
  A reference to the request that caused the error.
- status integer Required
  
  The HTTP status code

### 403 Forbidden

error object [ErrorDetail](https://docs.mediakind.com/api-reference/management-api/schemas/errordetail) Required

Pertinent information about the error.

Show 3 properties Hide 3 properties

\[any key\] any

- ref string Required
  
  A reference to the request that caused the error.
- status integer Required
  
  The HTTP status code

### 404 Not Found

error object [ErrorDetail](https://docs.mediakind.com/api-reference/management-api/schemas/errordetail) Required

Pertinent information about the error.

Show 3 properties Hide 3 properties

\[any key\] any

- ref string Required
  
  A reference to the request that caused the error.
- status integer Required
  
  The HTTP status code

### 429 Too Many Requests

error object [ErrorDetail](https://docs.mediakind.com/api-reference/management-api/schemas/errordetail) Required

Pertinent information about the error.

Show 3 properties Hide 3 properties

\[any key\] any

- ref string Required
  
  A reference to the request that caused the error.
- status integer Required
  
  The HTTP status code

### 500 Internal Server Error

error object [ErrorDetail](https://docs.mediakind.com/api-reference/management-api/schemas/errordetail) Required

Pertinent information about the error.

Show 3 properties Hide 3 properties

\[any key\] any

- ref string Required
  
  A reference to the request that caused the error.
- status integer Required
  
  The HTTP status code
