> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequenzy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Push Settings

> Read web push, APNs and Firebase readiness and device counts

# Get Push Settings

Returns whether web push is on (with the VAPID public key browsers subscribe with), whether APNs (iOS) and Firebase (Android) credentials are connected, the last credential error for each platform, the default icon, the brand icon used when no default icon is set, and active device counts. Secrets are never returned. Requires the `account:read` scope.

See [Push notifications](../../concepts/push-notifications) for setup.

## Request

No parameters. Pass `X-Company-Id` if your API key has access to multiple companies.

```bash theme={null}
curl "https://api.sequenzy.com/api/v1/push/settings" \
  --header "Authorization: Bearer $SEQUENZY_API_KEY"
```

## Responses

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "push": {
      "web": {
        "enabled": true,
        "vapidPublicKey": "BH3tXU0JSzok9ND7DyeQRcEy..."
      },
      "ios": {
        "configured": true,
        "keyId": "ABC123DEFG",
        "teamId": "DEF123GHIJ",
        "bundleId": "com.example.app",
        "environment": "production",
        "lastError": null,
        "lastErrorAt": null
      },
      "android": {
        "configured": false,
        "projectId": null,
        "clientEmail": null,
        "lastError": null,
        "lastErrorAt": null
      },
      "defaultIconUrl": "https://cdn.example.com/icon-192.png",
      "brandIconUrl": "https://cdn.example.com/logo.png",
      "devices": {
        "active": {
          "web": 1204,
          "ios": 312,
          "android": 0
        },
        "identifiedActive": 980,
        "totalActive": 1516
      }
    },
    "message": "Push is ready for web, iOS."
  }
  ```

  ```json 401 theme={null}
  {
    "error": "Invalid API key"
  }
  ```

  ```json 403 theme={null}
  {
    "error": "API key is missing required scope: account:read"
  }
  ```
</ResponseExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.