EstateHub

Administrator Integrations API

Use the list endpoint to discover integration status, then open the dedicated reference for configuration, provider fields, examples, and errors. All endpoints on these pages require an administrator bearer token.

Base URL: http://localhost:8000/api/v1
Prefix: /admins/platform-settings/integrations
Auth: Administrator JWT required
Headers: Content-Type: application/json

1. List Integrations

Returns every supported integration and its sanitized configuration.

GET/admins/platform-settings/integrations/

Auth: Required

Headers

HTTP
Authorization: Bearer {{admin_access_token}}
Content-Type: application/json

Success Example

The response below shows one entry; the full response includes all supported integration types.

JSON
{
  "success": true,
  "message": "Integrations retrieved successfully.",
  "data": {
    "integrations": [
      {
        "type": "sms",
        "is_enabled": true,
        "configured": true,
        "config": {
          "provider": "twilio",
          "twilio_account_sid": "replace-with-account-sid",
          "twilio_phone_number": "+15125550100",
          "has_twilio_api_key": true,
          "has_twilio_api_secret": true,
          "has_vonage_private_key": false,
          "has_infobip_api_key": false,
          "has_sinch_api_token": false
        },
        "updated_at": "2026-11-24T10:00:00Z"
      }
    ]
  }
}

Notes

  • Supported types: ai_search, bank_transfer, email, maps, oauth, sms, and storage.
  • Listing integrations creates missing records in the disabled state and returns records ordered by type.
  • is_enabled is the saved enabled state. configured means encrypted configuration exists; it does not verify credentials or provider connectivity.
  • Sensitive values are write-only and replaced with has_* flags in responses. Bank-transfer responses can also include account_number_last4.
  • Retrieve or update a type through /admins/platform-settings/integrations/{integration_type}/; use the dedicated references above for the complete contracts. Unsupported types return 404 Not Found.
  • Configuration remains on the /api/v1 namespace. SMS was added in release v1.0.1; it does not introduce a new API namespace.
  • Applicable errors: 401 missing, expired, or invalid JWT; 403 administrator access required; 406 unsupported response format.

Unauthorized - HTTP 401

JSON
{
  "success": false,
  "message": "Authentication credentials were not provided.",
  "errors": {}
}

Forbidden - HTTP 403

JSON
{
  "success": false,
  "message": "You do not have permission to perform this action.",
  "errors": {}
}