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
SMS→Twilio, Vonage, Infobip, and Sinch configuration and test SMS. Available since v1.0.1.Email→SMTP, Resend, SendGrid, and Mailgun configuration and test email.Storage→Google Cloud Storage, S3, Cloudinary, and Azure configuration.Social Login / OAuth→Google, Facebook, and Apple administrator configuration.Maps→Provider configuration reserved for future use.Bank Transfer→Bank account details, payment instructions, and account-number masking.AI Search→OpenAI, Anthropic, and Gemini credentials, models, and enabled state.
1. List Integrations
Returns every supported integration and its sanitized configuration.
GET
/admins/platform-settings/integrations/Auth: Required
Headers
Authorization: Bearer {{admin_access_token}}
Content-Type: application/jsonSuccess Example
The response below shows one entry; the full response includes all supported integration types.
{
"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, andstorage. - Listing integrations creates missing records in the disabled state and returns records ordered by type.
is_enabledis the saved enabled state.configuredmeans 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 includeaccount_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 return404 Not Found. - Configuration remains on the
/api/v1namespace. SMS was added in releasev1.0.1; it does not introduce a new API namespace. - Applicable errors:
401missing, expired, or invalid JWT;403administrator access required;406unsupported response format.
Unauthorized - HTTP 401
{
"success": false,
"message": "Authentication credentials were not provided.",
"errors": {}
}Forbidden - HTTP 403
{
"success": false,
"message": "You do not have permission to perform this action.",
"errors": {}
}