Get User
Get information about your account. Including remaining credits, account email and user ID.
GEThttps://api.spikes.studio/api/v1/api/user
Response
- Name
createdAt
- Type
- bigInt
- Description
- Name
updatedAt
- Type
- bigInt
- Description
- Name
id
- Type
- string
- Description
Unique ID of the user
- Name
email
- Type
- string
- Description
User’s email
- Name
remaining_credits
- Type
- float
- Description
Amount of remaining credits right now (current action included)
Request
GET
https://api.spikes.studio/api/v1/api/user https://api.spikes.studio/api/v1/api/user
Response
{
"createdAt": 1715154271695,
"updatedAt": 1715853964171,
"id": "156a99d3-8c5a-445b-812a-3512914174eb",
"email": "michaeljordan23@gmail.com",
"remaining_credits": 1000
}
Errors
- Name
400 Bad Request
- Description
The request was malformed or missing required parameters.
- Name
401 Unauthorized
- Description
The API key provided was invalid or missing.
- Name
404 Not Found
- Description
The requested resource was not found.
- Name
500 Internal Server Error
- Description
500 Internal Server Error