GET/desk/api/v2/me.json
Get the currently logged in user.
The following values are allowed in the includes query parameter:
- inboxes
- permissionusers
- trainingwheelsenrollments
- users
- all
Request Examples
Example Request
GET
/desk/api/v2/me.jsoncurl --request GET \ --url https://{site_name}.teamwork.com/account.json
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 OK
UserAPIBody handles request/response for a single user
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.
200 OK
UserAPIBody
{ "included": { "inboxes": [ { "autoReplyEnabled": true, "autoReplyFromUserId": 0, "autoReplyMessage": "string", "autoReplySubject": "string", "clientOnly": true, "createdAt": "2025-02-11T11:36:38.445Z", "createdBy": { "delete": true, "id": 0, "meta": { "additionalProp": "Unknown Type: any" }, "type": 0 },