Skip to main content

Create a team member

Endpoint:

https://api.visidea.ai/accounts/team

Method: POST

Request:

{
"firstname": "John",
"lastname": "Smith",
"username": "[email protected]",
"acl": "{\"www.website1.com\":\"1111\",\"www.website2.com\":\"1111\"}",
}
note

acl contains an object with the websites names in the keys and the acl in the values. The acl is a string containing 4 digits, every digit can be 0 or 1. At each position is represented the access of features accordingly to this list:

  1. dashboard
  2. configuration
  3. settings
  4. custom recommendations

Response:

{
"id": "...",
"plan": "team",
"firstname": "John",
"lastname": "Smith",
"username": "[email protected]",
"acl": "{\"www.website1.com\":\"1111\",\"www.website2.com\":\"1111\"}",
"team_id": "...",
"createdDate": "2022-11-15T16:21:46.802Z"
}