Teams
Create a team
Changed onpost/api/teams
Request
- Base URLhttps://your-domain.gorgias.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "Warehouse team",
"members": [
{
"name": "Marie Curie",
"email": "marie@gorgias.io",
"meta": {}
}
]
}Response
The created team.
Example response
{
"id": 123,
"name": "Warehouse team",
"members": [
{
"name": "Marie Curie",
"email": "marie@gorgias.io",
"meta": {}
}
]
}Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info