Users
Show the current user
Show the current user. Requires the user.read
scope.
Returns
Attributes | |
---|---|
id string | The ID of the user. |
username string | The username of the user. |
email string | The email address of the user. |
credits integer | Remaining conversion credits. |
created_at string | ISO8601 timestamp when the user was created. |
Endpoint
GET https://api.cloudconvert.com/v2/users/me
Example Request
$ curl -g "https://api.cloudconvert.com/v2/users/me" \
-H "Authorization: Bearer API_KEY"
Example Response
{
"data": {
"id": 1,
"username": "Username",
"email": "me@example.com",
"created_at": "2018-12-01T22:26:29+00:00",
"credits": 4434,
"links": {
"self": "https://api.cloudconvert.com/v2/users/1"
}
}
}