Sirportly

Toggle Menu

Users

This method allows you to list all users configured on your system. This is very basic data about the users and is available to all authenticated users. Optionally you can pass a ticket reference which will return the tickets current team users.

URL

/api/v2/objects/users

Supported Parameters

  • ticket - the ticket reference (only returns teams which can be assigned to this ticket)

Example JSON

[
    {
        "id": 1,
        "username": "adam",
        "first_name": "Adam",
        "last_name": "Cooke",
        "job_title": null,
        "avatar_url": "http://somedomain.com/avatar/adam.jpg?size={{size}}"
    },
    {
        "id": 4,
        "username": null,
        "first_name": "Evie",
        "last_name": "Howorth",
        "job_title": null,
        "avatar_url": "http://somedomain.com/avatar/evie.jpg?size={{size}}"
    },
    {
        "id": 5,
        "username": null,
        "first_name": "Alex",
        "last_name": "Pearce",
        "job_title": null,
        "avatar_url": "http://somedomain.com/avatar/alex.jpg?size={{size}}"
    },
    {
        "id": 6,
        "username": "danq",
        "first_name": "Dan",
        "last_name": "Quinney",
        "job_title": null,
        "avatar_url": "http://somedomain.com/avatar/danq.jpg?size={{size}}"
    },
    {
        "id": 2,
        "username": "charlie",
        "first_name": "Charlie",
        "last_name": "Smurthwaite",
        "job_title": null,
        "avatar_url": "http://somedomain.com/avatar/charlie.jpg?size={{size}}"
    },
    {
        "id": 3,
        "username": "dan",
        "first_name": "Dan",
        "last_name": "Wentworth",
        "job_title": null,
        "avatar_url": "http://somedomain.com/avatar/dan.jpg?size={{size}}"
    }
]