Team memberships API

Team memberships for capacity planning teams. Users can be either Aha! users or virtual users

Add user to a team

POST /api/v1/teams/:team_id/team_memberships

Parameters
NameDescription
team_id *

Team ID

user_id

ID of the Aha! user to add to the team. Only one of these or virtual_user_id can be present

virtual_user_id

ID of the virtual capacity planning user to add to the team. Only one of these or user_id can be present

product_id

When adding virtual users, pass in the product ID the virtual user belongs to. If missing, it's assumed the virtual user is at the account level

Example request

POST /api/v1/teams/949295028/team_memberships

Example CURL command

curl "https://company.aha.io/api/v1/teams/949295028/team_memberships" -d '{"team_membership":{"user_id":689956296}}' -X POST \
	-H "Authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76" \
	-H "Content-Type: application/json" \
	-H "Accept: application/json"

Request

authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76
contentType: application/json
accept: application/json

Request body

Response

Status: 204 No Content