Audience
Application audience APIs for user groups and attributes.
Operations
GET
# Get user attributes
PATCH
# Update user attributes
FDK Method Name: getUserAttributes
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.
Was this section helpful?
GET
Response
Get user attributes
getUserAttributes
FDK Method Name: updateUserAttributes
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
Was this section helpful?
PATCH
Response
Update user attributes
updateUserAttributes
Operations
GET
# Get user groups
GET
# Get group categories
FDK Method Name: getUserGroupsForUser
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.
Was this section helpful?
GET
Response
Get user groups
getUserGroupsForUser
FDK Method Name: getUserGroupCategories
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.
Was this section helpful?
GET
Response