Skip to main content
GET
/
api
/
notifications
/
preferences
Get notification preferences
curl --request GET \
  --url https://app.autoposting.ai/api-proxy/api/notifications/preferences \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "inApp": {
      "post.published": true,
      "post.failed": true,
      "agent.run.completed": true,
      "clip.render.completed": true,
      "team.invitation": true
    },
    "email": {
      "post.published": false,
      "post.failed": true,
      "agent.run.completed": false,
      "clip.render.completed": false,
      "team.invitation": true
    }
  }
}

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Response

Notification preferences

success
boolean
required
data
object
required

Per-channel map of notification event type to enabled boolean.