User Profile
- Name
get
- Type
- /v1/account/profile
- Description
By sending requests to the profile, you can get information like first name, last name, address and etc.
Request
The following table shows the standard user profile attributes.
Properties
- Name
uuid
- Type
- string
- Description
The unique universal identifier for the current account.
- Name
first_name
- Type
- string
- Description
Account first name.
- Name
last_name
- Type
- string
- Description
Account last name.
- Name
email
- Type
- string
- Description
The email address used by the current user to register for SimplyStack.
- Name
company
- Type
- string
- Description
Account company information.
- Name
phone
- Type
- string
- Description
Account phone information.
- Name
address
- Type
- string
- Description
Account billing address information.
- Name
created_at
- Type
- string
- Description
A time value given in ISO8601 combined date and time format that represents when the account was created.
- Name
limits
- Type
- object
- Description
The object with total number of features the current user may have at one time.
- Name
features
- Type
- array
- Description
The list of features available to the account.
- Name
gravatar_url
- Type
- string
- Description
Static URL for the account avatar.
- Name
is_member
- Type
- boolean
- Description
If True, the user has invintation to team or teams. False otherwise.
- Name
is_verified
- Type
- boolean
- Description
If True, the user has added credit card to their account. False otherwise.
- Name
is_email_confirmed
- Type
- boolean
- Description
If True, the user has verified their account via email. False otherwise.
Example
curl -X GET "https://api.simplystack.com/v1/account/profile" \
-H "Content-Type: application/json" \
-H "Authorization: Token d359ad9cc9422b5ff07aede0cd2707da4ff82be0"
Response
Example
{
"profile": {
"uuid": "3f80a877-3a80-4200-9e31-271b512cc726",
"email": "[email protected]",
"first_name": "John",
"last_name": "Doe",
"is_email_confirmed": true,
"is_member": false,
"is_verified": true,
"address": "New York, Wall Street 27",
"company": "SimplyStack",
"features": ["floating_ip"],
"gravatar_url": "https://i2.wp.com/assets.simplystack.com/base/img/avatar.png?ssl=1",
"phone": "123456987123",
"limits": {
"stacklets": {
"available": 25,
"used": 1
}
},
"created_at": "2021-02-01T00:00:02.602000Z"
}
}