Skip to main content
Skip table of contents

Current User

Contents

Get Current User

Get information about current user – the user authenticating the API request.

Endpoint:

URL

/api/v2/user/

Method

GET

Expected response code

200

Expected response type

JSON

Example:

BASH
curl -v \
    -H "Authorization: apikey $API_USER:$API_KEY" \
    $COREDATA_BASE_URL/api/v2/user/

Example response:

Current User details JSON
JSON
{
    "meta": {
        "limit": 20,
        "next": null,
        "offset": 0,
        "previous": null,
        "total_count": 1
    },
    "objects": [
        {
            "first_name": "Administrator",
            "last_name": "Administrator",
            "resource_uri": "/api/v2/user/Administrator/",
            "user_type": "Administrator",
            "username": "Administrator"
        }
    ]
}

Users

For more information see Users.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.