Create Team
Copy
POST /teams
Request Body
Copy
{
"name": "Finance Team",
"organization_id": 1,
"settings": {
"notifications_enabled": true
}
}
Response
Copy
{
"id": 1,
"name": "Finance Team",
"organization_id": 1,
"settings": {
"notifications_enabled": true
},
"created_at": "2024-01-01T12:00:00Z"
}
Example
Copy
import httpx
async with httpx.AsyncClient() as client:
response = await client.post(
"https://api.humancheck.dev/reviews",
headers={
"Authorization": "Bearer your-api-key-here",
"Content-Type": "application/json"
},
json={
"name": "Finance Team",
"organization_id": 1,
"settings": {
"notifications_enabled": True
}
}
)
team = response.json()