Skip to main content
GET
/
v1
/
brands
/
{brandId}
/
integrations
/
analytics
Get analytics configurations
curl --request GET \
  --url https://api.letsway.com/v1/brands/{brandId}/integrations/analytics
{
  "id": "integration-123",
  "brandId": "brand-456",
  "type": "opera",
  "config": {
    "setting1": true
  },
  "credential": {
    "apiKey": "secret-key"
  },
  "syncStatus": {
    "lastSyncedAt": "2024-03-01T12:00:00Z",
    "code": "SUCCESS",
    "detail": {
      "reason": "Manual sync triggered"
    }
  }
}

Path Parameters

brandId
string

Response

200 - application/json

Get analytics configurations

id
string
required

The unique identifier of the integration

Example:

"integration-123"

brandId
string
required

The brand ID associated with this integration

Example:

"brand-456"

type
enum<string>
required

The type of integration

Available options:
opera,
stayntouch,
kicc,
revinate,
infor,
alice,
tealiumAnalytics,
gtmAnalytics,
ga4Analytics
Example:

"opera"

config
object

Configuration settings of the integration

Example:
{ "setting1": true }
credential
object

Credential details for the integration

Example:
{ "apiKey": "secret-key" }
syncStatus
object

Sync status information