JavaScript API - Team
The JavaScript team API can be used to receive the availability status of a team to see if there is someone available or all are busy.
The following code is an example how such a call could look like:
CV.team.availability(
"your-team-id",
res => {console.log(res)}
)
Please make sure that you have set your authentication token, in order to call this function.
Parameter | Type |
---|---|
teamId | String |
callbackFn | (status) => void |