Audience

Application audience APIs for user groups and attributes.

UserAttribute

User attribute operations.

Operations
GET
/service/application/audience/v1.0/user/attributes
# Get user attributes
PATCH
/service/application/audience/v1.0/user/attributes
# Update user attributes
GET

Get user attributes

Retrieve user attributes for the current user.
Parameters
slug
string
Filter by attribute slug.
Response
200
User attributes
UserAttributesDetail
attributes
object
Examples
Parameters
Parameters are not required.
GET
/service/application/audience/v1.0/user/attributes
Loading...
Response
Loading...
PATCH

Update user attributes

Update one or more user attributes for the current user.
Parameters
No Parameters
Request body
attributes
object
Response
200
400
Updated attributes
UserAttributesDetail
attributes
object
Examples
Parameters
body:
body
PATCH
/service/application/audience/v1.0/user/attributes
Loading...
Response
Loading...

UserGroup

User group operations.

Operations
GET
/service/application/audience/v1.0/groups
# Get user groups
GET
/service/application/audience/v1.0/groups/categories
# Get group categories
GET

Get user groups

Retrieve the groups and categories available to the current user.
Parameters
No Parameters
Response
200
User groups
UserGroupsDetail
user_groups
object (UserGroups)
UserGroups
l1
array of integer
l2
array of integer
l3
array of integer
Examples
Parameters
Parameters are not required.
GET
/service/application/audience/v1.0/groups
Loading...
Response
Loading...
GET

Get group categories

Retrieve the available group categories for the current application.
Parameters
No Parameters
Response
200
Categories
UserGroupCategoriesDetail
categories
array of object (UserGroupCategory)
Array of UserGroupCategory
name
string
key
string
Enum
description
string
Examples
Parameters
Parameters are not required.
GET
/service/application/audience/v1.0/groups/categories
Loading...
Response
Loading...