GET https://api.engagor.com/{account_id}/settings/teams

Description

Returns the list of Teams for a certain account.

Required Access Token Scope

accounts_read

GET Parameters

Param Description Required Default Value
page_token Paging parameter. No
limit Amount of Teams to return. (Allowed: 0 to 200.) No
(int) 20

Result

paged_list of team items.

POST https://api.engagor.com/{account_id}/settings/teams

Description

Adds a new Team for a certain account.

Required Access Token Scope

accounts_read, accounts_write

POST Parameters

Param Description Required Default Value
team A JSON encoded array of a Team you want to make. Structure of the object should be like team. Eg. {"name":"My team","users":[{"id": 1},{"id": 2}]} Yes

Result

team The new Team.

Examples

Add a new Team for a certain account