Commands
The commands endpoint is designed to manipulate visitor data easily. Add tags, update fields, and more with a single request.
post
https://app.bentonow.com
/api/v1/fetch/commands
Run Command
To run different commands, change the structure of the query.
1
// Tag Subscriber
2
{ "command": "add_tag", "email": "[email protected]", "query": "example" }
3
4
// Remove Tag
5
{ "command": "remove_tag", "email": "[email protected]", "query": "example" }
6
7
// Add Field
8
{ "command": "add_field", "email": "[email protected]", "query": {"key": "test", "value": "test" }
9
10
// Remove Field
11
{ "command": "remove_field", "email": "[email protected]", "query": "example" }
12
13
// Subscribe
14
{ "command": "subscribe", "email": "[email protected]" }
15
16
// Unsubscribe
17
{ "command": "unsubscribe", "email": "[email protected]" }
Copied!
Last modified 1mo ago
Copy link