Open click

GET /v2/client/clicks

Creates a click and redirects to the target url. This is the endpoint that should be used to open a survey.

Query parameters

  • s string Required

    session id

  • i string Required

    impression id

  • tags string(URL-encoded query)

    Optional set of key-value pairs to be passed back in callbacks. Max 10 pairs with both key and value up to 50 characters long. Keys and values are trimmed and lower-cased. Keys can only contain alphanumeric characters and underscores. Values can contain any characters. If you need to pass sensitive information, note that users can potentially manipulate this data.

  • demo string

    optional data for app testing mode

  • sc_token string

    optional token for survey deduplication

Responses

GET /v2/client/clicks
curl \
 -X GET https://api.bitlabs.ai/v2/client/clicks?s=string&i=string