GET List entity audience memberships
Base URL: https://server-url-from-token-page.endpoint. Version: 1.2.0.
GET /api/v1/public/audience-memberships — List entity audience memberships
Read-only operation
List current Audience memberships for one account or stakeholder as Audience and entity references with membership dates, with pagination. Use getAudience for Audience details.
Use URL path and query parameters; no request body. Query arrays and objects are JSON-encoded where indicated. Workspace scope comes exclusively from the bearer credential. Available to read-only and read/write API credentials.
Parameters
entityType(query, ACCOUNT | STAKEHOLDER, required)query parameter
entityId(query, string, required)query parameter
skip(query, integer, optional)query parameter
take(query, integer, optional)query parameter
JSON response schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"audience": {
"type": "string",
"minLength": 1,
"description": "Audience id; use getAudience for its name, status, and entity type."
},
"entityId": {
"type": "string",
"minLength": 1
},
"entityType": {
"type": "string",
"enum": [
"ACCOUNT",
"STAKEHOLDER"
]
},
"joinedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "string",
"format": "date-time"
}
]
},
"leftAt": {
"nullable": true
},
"isCurrentMember": {
"nullable": true
},
"performance": {
"nullable": true
},
"performanceByTechnique": {
"type": "array",
"items": {
"type": "object",
"properties": {
"technique": {
"type": "string",
"enum": [
"LinkedIn",
"Individual Targeting",
"IP",
"GEO",
"Retargeting"
]
},
"targetingTechnique": {
"nullable": true,
"type": "string",
"enum": [
"LINKEDIN",
"IP",
"GEO",
"RETARGETING",
null
]
},
"metricBasis": {
"type": "string",
"enum": [
"DURING_MEMBERSHIP",
"LIFETIME",
"REPORTING_PERIOD",
"ACTIVATION_ONLY",
"UNAVAILABLE"
]
},
"metrics": {
"nullable": true,
"type": "object",
"properties": {
"impressions": {
"type": "number",
"minimum": 0
},
"clicks": {
"type": "number",
"minimum": 0
},
"reached": {
"type": "boolean"
},
"engaged": {
"type": "boolean"
}
},
"required": [
"impressions",
"clicks",
"reached",
"engaged"
],
"additionalProperties": false
}
},
"required": [
"technique",
"targetingTechnique",
"metricBasis",
"metrics"
],
"additionalProperties": false
}
}
},
"required": [
"id",
"audience",
"entityId",
"entityType",
"joinedAt"
],
"additionalProperties": false
}
},
"metadata": {
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"skip": {
"type": "integer"
},
"take": {
"type": "integer"
}
},
"required": [
"count",
"skip",
"take"
],
"additionalProperties": false
}
},
"required": [
"items",
"metadata"
],
"additionalProperties": false
}Responses
200: Operation receipt or read result. Arrays are returned under items; scalar and null results under value.
RateLimit-Policy(header, value, optional)Response header
RateLimit-Limit(header, value, optional)Response header
RateLimit-Remaining(header, value, optional)Response header
RateLimit-Reset(header, value, optional)Response header
400: Invalid operation input or record identifiers.
400 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}401: Bearer credential is missing, expired or invalid.
401 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}402: Insufficient research credits. Add credits before retrying.
402 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}403: Write access or resource permission is required.
403 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}404: Record is not available in the credential workspace.
404 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}405: Use the documented HTTP method.
405 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}409: Revision conflict or a record has dependencies. Refetch and reconcile links before retrying.
409 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}413: Request exceeds the permitted JSON body size.
413 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}429: Rate limit exceeded. Observe Retry-After.
RateLimit-Policy(header, value, optional)Response header
RateLimit-Limit(header, value, optional)Response header
RateLimit-Remaining(header, value, optional)Response header
RateLimit-Reset(header, value, optional)Response header
429 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}500: Internal server error.
500 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}503: Service temporarily unavailable. Observe Retry-After when present.
503 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}504: Execution timed out. A write may have committed; check receipts or progress before retrying.
504 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}List entity audience memberships
curl "https://server-url-from-token-page.endpoint/api/v1/public/audience-memberships?entityType=ACCOUNT&entityId=507f1f77bcf86cd799439011" \
-H "Authorization: Bearer $DOE_API_TOKEN" \
-H "Accept: application/json"Response example
No response example is supplied. See the JSON response schema.