Skip to Content
Indexify
Account

Update multiple notification preferences at once

POST
/api/notification_preferences.php?action=update_bulk

Authorization

ApiKeyAuth
headerX-API-KEY<token>

API key with the ix_ prefix. You can generate an API Key by navigating to Settings -> API Key in the web app. Pass it in the X-API-KEY header on every request.

Query Parameters

action*"update_bulk"
Value in"update_bulk"

Request Body

application/json
  1. body
preferences*array<>
Items1 <= items

Response Body

All preferences updated.

application/json
  1. response
success*boolean
Example Request
curl -X POST 'https://api.indexify.finance/api/notification_preferences.php?action=update_bulk' \  -H 'Content-Type: application/json' \  -d '{  "preferences": [    {      "notification_type": "stack_follow",      "enabled": true    }  ]}'
Example Response
{  "success": true}