Skip to content

What the brand preference center offers: topics (lists), frequency and name (reports.read)

GET
/v1/brands/{brand}/preference-settings
curl --request GET \
--url https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/preference-settings
brand
required
string
/^brd_[a-z0-9]{26}$/

Example

brd_01hx0000000000000000000000

Settings

Media typeapplication/json
object
offerFrequency
required
boolean
allowName
required
boolean
lists
required
Array<object>
<= 200 items
object
id
required
string
/^lst_[a-z0-9]{26}$/
showInPreferences
required
boolean
position
integer
<= 100000
publicName
object
es-MX
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
es-ES
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
es-AR
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
en
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
pt-BR
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
fr
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
de
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
it
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
ja
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
ko
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
zh-CN
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
ar
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
publicDescription
object
es-MX
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
es-ES
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
es-AR
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
en
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
pt-BR
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
fr
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
de
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
it
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
ja
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
ko
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
zh-CN
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
ar
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
lists
required
Array<object>
object
id
required
string
/^lst_[a-z0-9]{26}$/
showInPreferences
required
boolean
position
required
integer
publicName
object
es-MX
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
es-ES
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
es-AR
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
en
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
pt-BR
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
fr
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
de
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
it
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
ja
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
ko
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
zh-CN
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
ar
string
>= 1 characters <= 80 characters /^[^\x00-\x1f\x7f]*$/
publicDescription
object
es-MX
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
es-ES
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
es-AR
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
en
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
pt-BR
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
fr
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
de
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
it
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
ja
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
ko
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
zh-CN
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
ar
string
>= 1 characters <= 300 characters /^[^\x00-\x1f\x7f]*$/
name
required
string

Example

{
"lists": [
{
"publicName": {},
"publicDescription": {}
}
]
}

Invalid data

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

No session, expired session, or invalid, expired or revoked API key

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Does not exist or is not visible to you

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}