<- Team API

Team API

All versions ->

Search team members

POST

 /v2/team-members/search

Returns a paginated list of TeamMember objects for a business.

The list can be filtered by location IDs, ACTIVE or INACTIVE status, or whether the team member is the Square account owner.

Permissions:EMPLOYEES_READ
Try in API Explorer
Link to section

Request body

Example code

Link to section

query

The query parameters.

Link to section

limit

integer(32-bit)

The maximum number of TeamMember objects in a page (100 by default).

Link to section

cursor

string

The opaque cursor for fetching the next page. For more information, see pagination.

Link to section

Response fields

Link to section

team_members

The filtered list of TeamMember objects.

Link to section

cursor

string

The opaque cursor for fetching the next page. For more information, see pagination.

Link to section

errors

The errors that occurred during the request.