Get attributes
Deprecated
POST /get-attributes
POST
/get-attributes
This endpoint is deprecated. Please use
/list-attributes
instead.
This endpoint returns a list of attribute IDs
and their active
status (true
/false
)
Notice
Pagination must be used to get the full list of attributes by specifying the page number and size in your request body. Increment the
page number
upon each request, using the samepage size
as the previous request(s), until the item count returned is smaller than thepage size
you requested.
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” dynata-expiration
required
string format: date-time
RFC3339 timestamp indicating request expiration
dynata-access-key
required
string
Dynata provided access key
Example
ABCD1234
dynata-signature
required
string
Signature created using the dynata methodology
Example
c156e91013eb715edb2b07df5491497a807206b1796bb7d031505107a9dbdcdf
Request Body
Section titled “Request Body ”object
country
string
page_number
integer format: int32
page_size
integer format: int32
Examples
{ "country": "US", "page_number": 0, "page_size": 100}
Responses
Section titled “ Responses ”Attributes obtained
Array
object
active
boolean
attribute_id
integer format: int64
Examples
[ { "active": true, "attribute_id": 123 }, { "active": true, "attribute_id": 456 }, { "active": true, "attribute_id": 789 }]
Bad request
object
message
required
string
Invalid credentials
object
message
required
string
Unauthorized
object
message
required
string
Internal server error
object
message
required
string