GET https://api.profit.co/app/dao/v6/teams?a=getAllTeams&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>
To get all the teams data from your Profit.co account.
Body
PARAM
Key | Datatype | Required | Description |
a
|
string | ||
apiKey
|
string | Required: API key of your Profit.co Account | |
accessKey
|
string | Required: Access key of your Profit.co Account |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{"data":[{"id":"2011823","teamId":2011823,"objectStatus":"0","teamName":"Break Room","emailId":"","numOfEmployees":2,"isEnabled":"N","employeeIds":[2096266,2096269],"firmId":418703,"customAttributes":[],"labels":[],"phoneNumbers":[],"emailAddresses":[],"createdBy":2031085,"lastUpdatedBy":2031085,"createdByName":"Alex Cross","creationDate":"2020-11-05 08:47:34","lastUpdateDate":"2020-11-05 08:47:34","lastUpdatedByName":"Alex Cross","version":1},{"id":"2012733","teamId":2012733,"objectStatus":"0","teamName":"Client Relations","emailId":"","numOfEmployees":2,"employeeIds":[2080076,2080077],"firmId":418703,"customAttributes":[],"labels":[],"phoneNumbers":[],"emailAddresses":[],"createdBy":2031085,"lastUpdatedBy":2031085,"createdByName":"Alex Cross","creationDate":"2021-05-03 00:44:01","lastUpdateDate":"2021-05-03 00:44:01","lastUpdatedByName":"Alex Cross","version":0},{"id":"2011845","teamId":2011845,"objectStatus":"0","teamName":"Server Team","name":"Server Team","emailId":"sathish@example.com","numOfEmployees":3,"employeeIds":[2096263,2096330,2080066],"firmId":418703,"customAttributes":[],"labels":[],"addresses":[],"phoneNumbers":[],"emailAddresses":[],"createdBy":2031085,"lastUpdatedBy":2031085,"createdByName":"Alex Cross","creationDate":"2020-11-06 01:46:36","lastUpdateDate":"2021-02-09 23:53:50","lastUpdatedByName":"Alex Cross","version":4},{"id":"2011240","teamId":2011240,"objectStatus":"0","teamName":"War Room","emailId":"","numOfEmployees":2,"isEnabled":"N", Curl curl -X GET 'https://api.profit.co/app/dao/v6/teams?a=getAllTeams&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>?a=getAllTeams&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>' ENDPOINTS |