<- Team API

Team API

All versions ->

Bulk create team members

POST

 /v2/team-members/bulk-create

Creates multiple TeamMember objects.

The created TeamMember objects are returned on successful creates. This process is non-transactional and processes as much of the request as possible. If one of the creates in the request cannot be successfully processed, the request is not marked as failed, but the body of the response contains explicit error information for the failed create.

Learn about Troubleshooting the Team API.

Permissions:EMPLOYEES_WRITE
Try in API Explorer
Link to section

Request body

Example code

Link to section

team_members

Required

The data used to create the TeamMember objects. Each key is the idempotency_key that maps to the CreateTeamMemberRequest. The maximum number of create objects is 25.

If you include a team member's wage_setting, you must provide job_id for each job assignment. To get job IDs, call ListJobs.

Link to section

Response fields

Link to section

team_members

The successfully created TeamMember objects. Each key is the idempotency_key that maps to the CreateTeamMemberRequest.

Link to section

errors

The errors that occurred during the request.