Loading...
Skip to main content

GET /preferences

URL: https://api.courier.com/preferences

Method: GET

Responses

status: 200 OK

uncategorizedarray
+ Show Properties
categoriesarray
+ Show Properties

status: 400 Bad Request

messagestring
A message describing the error that occurred.
typestring
[invalid_request_error] The type of error that occurred.

Request Example

curl --request GET \
--url https://api.courier.com/preferences \
--header 'Accept: application/json'

Responses Example

{
"uncategorized": [
{
"config": {
"type": "OPT_OUT"
}
}
],
"categories": [
{
"config": {
"type": "OPT_OUT"
},
"notifications": [
{
"config": {
"type": "OPT_OUT"
}
}
]
}
]
}
{
"message": "Error Message",
"type": "invalid_request_error"
}