Name | Type | Description |
---|---|---|
object | string | Is "account". |
created | integer | |
name | string | |
string | ||
avatar_image_url | string | |
referral_code | string | The referral code the user can use to referrer others. |
{
"object": "account",
"created": 1412036805,
"name": "John Doe",
"email": "[email protected]",
"avatar_image_url": "http://example.com/image.jpg",
"referral_code": "V7OAkRU"
}
Returns the current authenticated user account.
curl https://spaces.com/api/v1/account \
-u ACCESS_TOKEN:
{
"object": "account",
"created": 1412036805,
"name": "John Doe",
"email": "[email protected]",
"avatar_image_url": "http://example.com/image.jpg",
"referral_code": "V7OAkRU"
}