Team API
Team management endpoints
Auto-generated from OpenAPI spec on 2025-10-02
GET /team/members
GET members
🔒 Authentication Required: Bearer token
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X GET https://api.syaala.com/team/members \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"POST /team/invite
POST invite
🔒 Authentication Required: Bearer token
Request Body
{}Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X POST https://api.syaala.com/team/invite \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json" \\
-d '{}'GET /team/invitations
GET invitations
🔒 Authentication Required: Bearer token
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X GET https://api.syaala.com/team/invitations \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"POST /team/invitations/{id}
POST id
🔒 Authentication Required: Bearer token
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | path | Yes | id identifier |
Request Body
{}Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X POST https://api.syaala.com/team/invitations/abc123 \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json" \\
-d '{}'DELETE /team/invitations/{id}
DELETE id
🔒 Authentication Required: Bearer token
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | path | Yes | id identifier |
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X DELETE https://api.syaala.com/team/invitations/abc123 \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"GET /team/invite/{token}
GET token
🔒 Authentication Required: Bearer token
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
token | path | Yes | token identifier |
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X GET https://api.syaala.com/team/invite/example-id \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"POST /team/invite/{token}/decline
POST decline
🔒 Authentication Required: Bearer token
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
token | path | Yes | token identifier |
Request Body
{}Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X POST https://api.syaala.com/team/invite/example-id/decline \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json" \\
-d '{}'POST /team/invite/{token}/accept
POST accept
🔒 Authentication Required: Bearer token
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
token | path | Yes | token identifier |
Request Body
{}Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X POST https://api.syaala.com/team/invite/example-id/accept \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json" \\
-d '{}'