API reference
Platform
- Search
- Users
- Teams
- GETGet all teams that user is the part of!
- POSTCreate a team
- GETGet all public teams
- GETGet a team by ID
- DELDelete a team
- PATCHUpdate a team
- GETGet sub teams for a team
- GETGet all team members
- POSTAdd a team member
- DELRemove a team member
- GETGet team configurations
- PATCHUpdate team configurations
- GETGet team routing
- POSTCreate a team routing rule
- DELDelete a team routing rule
- PATCHUpdate team routing
- GET
- Tickets
- Tags
- Ticket tags
- Accounts
- Forms
- Comments
- Emoji actions
- Custom object fields
- Custom objects
- Object records
- Views
- Views types
- Draft tickets
- Storage
- Reactions
Workflows
- Workflows
Apps platform
- App creation
- App installation
- App uninstallation
- App reinstallation
- Incoming webhook
Teams
Create a team
POST
/
v1
/
teams
Copy
Ask AI
curl --request POST \
--url https://platform.thena.ai/v1/teams \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"color": "<string>",
"identifier": "<string>",
"parentTeamId": "<string>",
"isPrivate": true
}'
Copy
Ask AI
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"name": "<string>",
"icon": "<string>",
"color": "<string>",
"parentTeamId": "<string>",
"parentTeamName": "<string>",
"teamId": "<string>",
"identifier": "<string>",
"description": "<string>",
"teamOwner": "<string>",
"teamOwnerId": "<string>",
"fallbackSubTeam": "<string>",
"createdAt": "<string>",
"isActive": true,
"isPrivate": true,
"archivedAt": "<string>",
"updatedAt": "<string>"
}
}
Authorizations
Enter your API key
Body
application/json
Response
201
application/json
Operation successful
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://platform.thena.ai/v1/teams \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"color": "<string>",
"identifier": "<string>",
"parentTeamId": "<string>",
"isPrivate": true
}'
Copy
Ask AI
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"name": "<string>",
"icon": "<string>",
"color": "<string>",
"parentTeamId": "<string>",
"parentTeamName": "<string>",
"teamId": "<string>",
"identifier": "<string>",
"description": "<string>",
"teamOwner": "<string>",
"teamOwnerId": "<string>",
"fallbackSubTeam": "<string>",
"createdAt": "<string>",
"isActive": true,
"isPrivate": true,
"archivedAt": "<string>",
"updatedAt": "<string>"
}
}
Assistant
Responses are generated using AI and may contain mistakes.