Skip to content

List ad-platform pixel configs (credentials masked)

projectId
required
string

{ platforms } — credentials returned masked (••••••{last4}). Some keys are dynamic — CREDENTIALS ARE NOT RETURNED IN PLAINTEXT. The handler overwrites credentials with the output of maskCredentials(): each stored key is preserved, but the value becomes “••••••” + the LAST 4 CHARACTERS of the decrypted secret (or bare “••••••” when the value is empty/non-string or decryption fails). So key NAMES and a 4-char suffix of each secret leak; the full secret does not. Treat the 4-char suffix as a low-severity information disclosure, not plaintext exposure. credentials keys are dynamic (per ad platform: token / appId / accessToken / pixelId …), so additionalProperties: string is the honest model. eventMapping is null when never set; otherwise a dynamic map of internal event name -> platform event name (may be an empty object). createdAt/updatedAt pass through normalizeUtcTimestamp (ISO-8601 UTC), falling back to the raw D1 string. Ordered by createdAt ASC.

Media typeapplication/json
object
platforms
required
Array<object>
object
id
required
string
projectId
required
string
platform
required
string
Allowed values: BAIDU DOUYIN TENCENT KUAISHOU XIAOHONGSHU BILIBILI WEIBO GOOGLE META TIKTOK BING TWITTER LINKEDIN SNAPCHAT PINTEREST KWAI GOOGLE_MEASUREMENT BIGO TRAFFICSTARS TRAFFICJUNKY PROPELLERADS DEEPCLICK MGSKY ADJUST XIAOBU OKSPIN SNAPTUBE APPLUCK MACAN
name
required
string
credentials
required

REDACTED. Keys are the stored credential field names (dynamic per platform); each value is “••••••” optionally suffixed with the last 4 characters of the decrypted secret. Never full plaintext.

object
key
additional properties
string
eventMapping
required

Dynamic map of internal event name -> platform event name; may be {}.

object
key
additional properties
string
isActive
required
boolean
lastError
required
string
nullable
createdAt
required

ISO-8601 UTC timestamp.

string
updatedAt
required

ISO-8601 UTC timestamp.

string