curl --request PUT \
--url https://api-staging.boost.xyz/users/address/{address}/notification-preferences \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"boostCompleted": true,
"boostStarted": true
}'
{
"id": "<string>",
"user": "<string>",
"notificationPreferences": {
"boostStarted": true,
"boostCompleted": true
}
}
This endpoint updates a user’s notification preferences.
curl --request PUT \
--url https://api-staging.boost.xyz/users/address/{address}/notification-preferences \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"boostCompleted": true,
"boostStarted": true
}'
{
"id": "<string>",
"user": "<string>",
"notificationPreferences": {
"boostStarted": true,
"boostCompleted": true
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Success
The response is of type object
.