v1

latestOpenAPI 3.1.02026-07-2419603.1 MB
Data Activation

Fetch activation logs

Returns activation logs from the last 30 days, newest to oldest. Requires view permission.

get/api/cdp/v3/logs/apps/{app_id}/activations/{activation_id}

Path parameters

app_idstring uuid required

ID of the app.

Example:3929d56c-cd62-4001-a4fc-013f5f954691
activation_idstring uuid required
Example:e898ae47-61cd-4c9d-9d67-e5a930eb9f39

An activation UUID for which last logs are requested

Query parameters

qstring

Filter entries by a fragment of their identifier (case insensitive).

limitinteger

How many objects should be returned

Example:20
offsetinteger

How many objects to skip (for use in pagination)

Example:10
profile_typestring[]

Return only activation logs that affected profiles of selected types.

statusstring[]

Return only activation logs with selected statuses.

Response

Paginated activation logs

offsetinteger required

Current page offset.

limitinteger required

Current page size.

totalinteger required

Total number of resources for the given query.

Example response

{
  "limit": 10,
  "total": 1,
  "items": [
    {
      "time": "2023-05-26T16:58:12.195361Z",
      "profile_identifier_type": "cookie_id",
      "profile_identifier_value": "aa2720bcb1ddce1b",
      "retry_number": 1,
      "status": "success",
      "success": true,
      "error": {
        "code": "connection-error",
        "message": "Host address could not be resolved"
      },
      "request": {
        "method": "POST",
        "url": "https://example.com/webhook/09e107ec60874f0b/b177f26d392fc49c",
        "headers": [
          [
            "Content-type",
            "application/json"
          ],
          [
            "Host",
            "example.com"
          ]
        ],
        "body": "{\"user\":\"tom@example.com\",\"revenue\":102.55}"
      },
      "response": {
        "time_ms": 146,
        "status": 200,
        "headers": [
          [
            "Content-type",
            "application/json"
          ],
          [
            "Host",
            "example.com"
          ]
        ],
        "body": "OK"
      }
    }
  ]
}