List backup rules

gethttps://api.expiryedge.com/v1/getBackupRules
any role (editors and admins see every rule; viewers only their own)60/min
Request
curl 'https://api.expiryedge.com/v1/getBackupRules' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Response
{
  "rules": [
    {
      "id": "br_8Vt1xKd",
      "organization_id": "org_northwind",
      "primary_user_id": "u_4Np8cZe",
      "primary_user_name": "Sam Ortiz",
      "backup_type": "general",
      "general_backup_user_id": "u_71bXq",
      "general_backup_user_name": "Dana Brooks",
      "fallback_user_id": null,
      "fallback_user_name": "",
      "type_backups": [],
      "updated_by": "u_71bXq"
    }
  ],
  "users": [
    {
      "id": "u_71bXq",
      "email": "dana@northwinddental.com",
      "firstName": "Dana",
      "lastName": "Brooks",
      "role": "admin"
    }
  ]
}

Also returns the organization's users for pickers. Unbounded.

Returns

200
Backup rules with display names, plus the organization's users.
  • rulesarray of objectsrequired
  • usersarray of objectsrequired
    Every user in the organization (id plus profile fields).

Errors

401
Missing, expired or invalid bearer token.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
Server error, including a missing or invalid token (legacy {message} body).