API reference
Team
Members, roles and invitations.
GET
Members and pending invitations of the caller's org (a signed-in person)
header
AuthorizationBearer <token>An API key (wa_<region>_…) or a dashboard access token.
OK
application/json- response
members*array<>invitations*array<>curl -X GET 'https://api.us.webagent.lookover.ai/v1/team'Example Response
{ "members": [ { "userId": "string", "email": "string", "name": "string", "role": "owner", "joinedAt": 0 } ], "invitations": [ { "id": "string", "email": "string", "role": "owner", "status": "pending", "expiresAt": 0, "invitedBy": "string" } ]}POST
Invite someone by email with a role; identity emails the link (admin or owner)
header
AuthorizationBearer <token>An API key (wa_<region>_…) or a dashboard access token.
application/json- body
email*stringMatch
^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Format
emailLength
length <= 254role?stringDefault
"member"Value in
"owner""admin""member"OK
application/json- response
id*stringLength
1 <= lengthemail*stringrole*stringValue in
"owner""admin""member"status*stringValue in
"pending""accepted""rejected""canceled""expired"expiresAt*integerRange
0 <= value <= 9007199254740991invitedBy*string|nullcurl -X POST 'https://api.us.webagent.lookover.ai/v1/team/invitations' \ -H 'Content-Type: application/json' \ -d '{ "email": "[email protected]"}'Example Response
{ "id": "string", "email": "string", "role": "owner", "status": "pending", "expiresAt": 0, "invitedBy": "string"}DELETE
header
AuthorizationBearer <token>An API key (wa_<region>_…) or a dashboard access token.
id*stringLength
1 <= lengthOK
application/json- response
deleted*booleancurl -X DELETE 'https://api.us.webagent.lookover.ai/v1/team/invitations/string'Example Response
{ "deleted": true}PATCH
Change a member's role (admin or owner; only an owner makes or changes an owner); applies to their dashboard sessions at once
header
AuthorizationBearer <token>An API key (wa_<region>_…) or a dashboard access token.
userId*stringLength
1 <= lengthapplication/json- body
role*stringValue in
"owner""admin""member"OK
application/json- response
userId*stringLength
1 <= lengthemail*stringname*string|nullrole*stringValue in
"owner""admin""member"joinedAt*integerRange
0 <= value <= 9007199254740991curl -X PATCH 'https://api.us.webagent.lookover.ai/v1/team/members/string' \ -H 'Content-Type: application/json' \ -d '{ "role": "owner"}'Example Response
{ "userId": "string", "email": "string", "name": "string", "role": "owner", "joinedAt": 0}DELETE
header
AuthorizationBearer <token>An API key (wa_<region>_…) or a dashboard access token.
userId*stringLength
1 <= lengthOK
application/json- response
deleted*booleancurl -X DELETE 'https://api.us.webagent.lookover.ai/v1/team/members/string'Example Response
{ "deleted": true}