User - get by UUID

This GET request expects a URL slug (represented by {UUID}). The UUID must belong to a user attached to your organisation.

Basic request:

GET https://{APIDOMAIN}/api-v1/user/{UUID}

Typical response

Returns the user, their assignments and any groups they’re associated with.

{
    "type": "user",
    "uuid": "3cab6bdf-d108-4392-aa95-0c85fb64fbe5",
    "sex": "F",
    "created": "2019-08-08 14:24:44",
    "occupation": "1312",
    "country": "AZ",
    "assignments": [
        {
            "key": "AI",
            "survey_uuid": "77ef9c93-1a26-4bce-ac93-ae4633c992ec"
        },
        {
            "key": "AI",
            "survey_uuid": "1ee62557-46aa-4512-91cb-2f3d6d4d3e86"
        },
        {
            "key": "AI",
            "survey_uuid": "897970d7-fcbb-42dc-8a84-99eae4d5ed8e"
        },
        {
            "key": "TA",
            "survey_uuid": "284fa578-3880-4d6d-9a3a-386962486428"
        }
    ],
    "groups": [
        {
            "name": "wibble dee dee",
            "uuid": "66a1fab1-2a24-4460-8036-7fb2e8925129",
            "type": "COMPANY"
        }
    ]
}