Menu
Create Team
Create a team
POST
/api/teamsUse it in a workflow
- Add a step and choose the Gorgias connector.
- Pick the Create Team action (under Teams).
- Fill in the fields below, then reference the result from later steps as
{{createTeam.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"name": "Warehouse team",
"description": "string",
"decoration": {},
"members": [
{
"id": 0,
"name": "Marie Curie",
"email": "marie@gorgias.io",
"meta": {}
}
]
}
Response
Returns 201 with an object. Read it in later steps with {{createTeam.response.data.<field>}}.
{
"id": 123,
"uri": "string",
"name": "Warehouse team",
"description": "string",
"decoration": {},
"members": [
{
"id": 0,
"name": "Marie Curie",
"email": "marie@gorgias.io",
"meta": {}
}
],
"created_datetime": "2025-01-01T00:00:00Z"
}
Need more? See the Gorgias guide for connection setup and behaviour shared by every action.
Was this page helpful?