User
Get User
Get information about your account.
GET
/
v2
/
user
Header
curl --request GET \
--url https://api.squarecloud.app/v2/user \
--header 'Authorization: <authorization>'
{
"status": "success",
"response": {
"user": {
"id": "313397145698959364",
"tag": "joaootavios",
"locale": "pt-BR",
"email": "joao@squarecloud.app",
"plan": {
"name": "deluxe",
"memory": {
"limit": 0000,
"available": 0000,
"used": 0000
},
"duration": 1732072955446
}
},
"applications": [
{
"id": "446b0b4118634a1c99e73bac9a54e475",
"tag": "Square Example APP",
"ram": 128,
"lang": "javascript",
"cluster": "fl-haswell-1",
"isWebsite": false,
"avatar": "https://cdn.squarecloud.app/avatars/4.png"
}
]
}
}
Authorization
string
requiredThe API key for your account. You can find this in your account settings.
Response
status
string
Indicates whether the call was successful. “success” if successful, “error” if not.
response
object
The contents of the response.
Was this page helpful?
curl --request GET \
--url https://api.squarecloud.app/v2/user \
--header 'Authorization: <authorization>'
{
"status": "success",
"response": {
"user": {
"id": "313397145698959364",
"tag": "joaootavios",
"locale": "pt-BR",
"email": "joao@squarecloud.app",
"plan": {
"name": "deluxe",
"memory": {
"limit": 0000,
"available": 0000,
"used": 0000
},
"duration": 1732072955446
}
},
"applications": [
{
"id": "446b0b4118634a1c99e73bac9a54e475",
"tag": "Square Example APP",
"ram": 128,
"lang": "javascript",
"cluster": "fl-haswell-1",
"isWebsite": false,
"avatar": "https://cdn.squarecloud.app/avatars/4.png"
}
]
}
}