Links
Comment on page

API users

get
https://api.commander1.com/v1.0
/engage/visitors/
Visitor
get
https://api.commander1.com
/engage/user/
User

put
https://api.commander1.com
/engage/user/
User

Example Request

PUT
https://api.commander1.com/engage/user/?site=1234&user_id=1234&tc_id=1234&token=WvNIX8955cnZ7WF0f632s0Wb99Ql3rtA
{
"preferences.channel":"email",
"preference.frequency":"30d",
...
}

DELETE user

Delete a user

Resource URL

https://api.commander1.com/engage/user/

Resource Information

Response formats
JSON
Requires authentication?
Yes (token)

Parameters

NAME
REQUIREMENT
EXAMPLE VALUES
DESCRIPTION
site
d+
1234
Id of the site
user_id
d+
1234
Id of the user
tc_id (optional)
d+
1234
Id of the visitor
token
[a-zA-Z0-9]*
WvNIX8955cnZ7WF0f632s0Wb99Ql3rtA
Security token

Example Request

DELETE
https://api.commander1.com/engage/user/?site=1234&user_id=1234&tc_id=1234&token=WvNIX8955cnZ7WF0f632s0Wb99Ql3rtA

Response

{"success":true}