Teams
List teams
Changed onList teams matching the given parameters, paginated, and ordered.
get/api/teams
Request
- Base URLhttps://your-domain.gorgias.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
cursorstring
Example:WyJuZXh0IiwgIjIwMjItMDEtMDFUMDE6MDA6MDAiLCAxMjNd
Value indicating your position in the list of all teams. If omitted, the first team of the list will be returned.
limitinteger
Maximum number of teams to return.
order_by'created_datetime:asc' | 'created_datetime:desc' | 'name:asc' | 'name:desc'
Attribute used to order teams.
Response
List of teams according to the given criteria.
Example response
[
{
"id": 123,
"name": "Warehouse team",
"members": [
{
"name": "Marie Curie",
"email": "marie@gorgias.io",
"meta": {}
}
]
}
]Changes
- info
added the optional property
/to the response with the status
- info