curl --request POST \
--url https://api.avala.ai/api/v1/organizations/{slug}/teams/{team_slug}/members/ \
--header 'Content-Type: application/json' \
--header 'X-Avala-Api-Key: <api-key>' \
--data '{
"role": "lead"
}'{
"user_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"username": "<string>",
"email": "jsmith@example.com",
"full_name": "<string>",
"picture": "<string>",
"role": "lead",
"created_at": "2023-11-07T05:31:56Z"
}Add member to team (owner/admin only).
curl --request POST \
--url https://api.avala.ai/api/v1/organizations/{slug}/teams/{team_slug}/members/ \
--header 'Content-Type: application/json' \
--header 'X-Avala-Api-Key: <api-key>' \
--data '{
"role": "lead"
}'{
"user_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"username": "<string>",
"email": "jsmith@example.com",
"full_name": "<string>",
"picture": "<string>",
"role": "lead",
"created_at": "2023-11-07T05:31:56Z"
}API key for authentication. Generate one in Mission Control Settings > Security & Identity.
lead, member Was this page helpful?