Less Annoying CRM logo Less Annoying CRM LACRM
Settings Functions

Teams

Teams are used to organize user permissions in your account. You can read more about how teams work in the CRM here.

Create a team

Create a team to organize users.

How to call this function
Function name
CreateTeam
Parameters
Name Text Required

The name of the team.

UserIdList Array

List of the ids of users that you want to add to the team. If left blank, no users will be added.

Response
{
"TeamId": "3862526536182982522388559944798"
}

Delete a team

This function will delete an existing team. Only account owners and administrators can delete teams.

How to call this function
Function name
DeleteTeam
Parameters
TeamId Uid Required

The id of the team.

Response
This function doesn't return anything. If there's no error message returned, that means the call was completed successfully.

Edit a team

You can use this function to rename your team and/or update the list of users in the team.

How to call this function
Function name
EditTeam
Parameters
TeamId Uid Required

The id of the team.

Name Text

The name of the team.

UserIdList Array

List of the ids of users that you want to add to the team. If left blank, no users will be added.

Response
This function doesn't return anything. If there's no error message returned, that means the call was completed successfully.

Get a team

Get a specified team

How to call this function
Function name
GetTeam
Parameters
TeamId Uid Required

The id of the team.

Response
{
"TeamId": "3862526536182982522388560040782",
"Name": "",
"DateCreated": "2023-01-30T10:37:44-08:00",
"UserIds": [
3862526536185288365397773569624,
3862526536185288365397774395369,
3862526536185288365397774404626
]
}

Get all teams

Gets all teams on an account if called by an admin, only gets a user's teams otherwise.

How to call this function
Function name
GetTeams
Parameters
This function doesn't take any parameters.
Response
[
{
"TeamId": "3862526536185288365397774408674",
"Name": "",
"DateCreated": "2023-01-30T10:37:44-08:00",
"UserIds": [
3862526536187594208406986260149,
3862526536187594208406987931460,
3862526536187594208406987990474
]
},
{...},
{...}
]
Next page: Users