Skip to main content
GET
/
user
/
profile
Get user profile
curl --request GET \
  --url https://us.cybedefend.com/user/profile \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "firstName": "<string>",
  "email": "[email protected]",
  "notification": true,
  "isOnboardingCompleted": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "myOrganizations": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "country": "<string>",
      "industry": "<string>",
      "isActive": true,
      "myTeams": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "name": "<string>",
          "myRole": "<string>"
        }
      ],
      "myRole": "<string>",
      "subscription": {
        "plan": "developer",
        "seats": 123,
        "resetAt": "2023-11-07T05:31:56Z",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "currentPeriodEnd": "2023-11-07T05:31:56Z",
        "status": "<string>",
        "trialEndsAt": "2023-11-07T05:31:56Z"
      }
    }
  ],
  "lastName": "<string>",
  "picture": "<string>"
}

Authorizations

Authorization
string
header
required

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

Response

User profile retrieved successfully

id
string<uuid>
required

User unique identifier

firstName
string
required

User first name

email
string<email>
required

User email address

notification
boolean
required

Enable or disable notifications

isOnboardingCompleted
boolean
required

Indicates if the onboarding is completed

createdAt
string<date-time>
required

Date of account creation

updatedAt
string<date-time>
required

Date of last account update

myOrganizations
object[]
required

List of organizations the user is part of

lastName
string

User last name

picture
string

User picture URL

Maximum string length: 8192