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
Add a team member
POST
/
v1
/
teams
/
{teamId}
/
members
Copy
Ask AI
curl --request POST \
--url https://platform.thena.ai/v1/teams/{teamId}/members \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"email": "<string>",
"userId": "<string>",
"isAdmin": true
}'
Copy
Ask AI
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"invitedBy": "<string>",
"teamId": "<string>",
"teamName": "<string>",
"isActive": true,
"role": "<string>",
"userType": "<string>",
"isOwner": true,
"avatarUrl": "<string>",
"joinedAt": "<string>",
"createdAt": "<string>"
}
Authorizations
Enter your API key
Path Parameters
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/{teamId}/members \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"email": "<string>",
"userId": "<string>",
"isAdmin": true
}'
Copy
Ask AI
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"invitedBy": "<string>",
"teamId": "<string>",
"teamName": "<string>",
"isActive": true,
"role": "<string>",
"userType": "<string>",
"isOwner": true,
"avatarUrl": "<string>",
"joinedAt": "<string>",
"createdAt": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.