Api Commands
Api commands are used to comunicate directly with our Api via javascript.
To use the Web SDK please install the snippet first.
Api commands will only work after popup is initialized (there is a callback for when it is initialized)
Command | Description | Values | Callback data |
| Sets the consent of a specific policy | Id (policy id) Grant (bool) | Success (bool) Message (string) |
| Sets the consent of a specific thirdparty | Id (thirdparty id) Grant (bool) | Success (bool) Message (string) |
| Sets the consent of the cookies | Grant (bool) | Success (bool) Message (string) |
Last updated