Skip to main content
GET
/
audiences
/
attributes
/
{id}
Get an audience attribute
curl --request GET \
  --url https://your_a2_service/audiences/attributes/{id} \
  --header 'Authorization: Bearer <token>'
{
  "code": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "no": 123,
  "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "updated_at": "2023-11-07T05:31:56Z",
  "value_count": 123,
  "visibility": "public"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string<uuid>
required

The ID of Audience Attribute

Response

Successful Response

Represents a audience attribute entity.

code
string
required

Code representing the audience attribute.

This code serves as a key for properties in both AudienceSegment and Audience.

Required string length: 1 - 32
id
string<uuid>
required
name
string
required

Name of the audience attribute

no
integer
required
owner_id
string<uuid>
required

Owner ID of the audience attribute

value_count
integer
required

The number of the possible values of audience attribute

visibility
enum<string>
required

Visibility of the audience attribute

Available options:
public,
private
created_at
string<date-time> | null

The date and time the entity was created.

description
string | null

Description of the audience attribute

updated_at
string<date-time> | null

The date and time the entity was last updated.