Get Organization Info
This endpoint returns the organization's info. It is used in many places across the UI. It returns the name in the navbar and the public key of the organization’s distribution account.
Responses
- 200
- 401
Returns organization details
- application/json
- Schema
- Example (from schema)
Schema
- name string
- logo_url string
- distribution_account_public_key string
- timezone_utc_offset string
- is_approval_required boolean
Enables multi-user approval workflow for disbursements
{
"name": "Stellar Aid",
"logo_url": "https://stellar-disbursement-platform-backend-dev.stellar.org/organization/logo",
"distribution_account_public_key": "GCXAJ3XJ3VK3JFH3QMDFOSKM2NMMZBSO3VIT6EUPQWSDW2J74M23RRSL",
"timezone_utc_offset": "+00:00",
"is_approval_required": true
}
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
- response
Schema
- error string
extras object
status numbermessage string
{
"error": "Not authorized",
"extras": {
"status": 401,
"message": "Not authorized"
}
}
{
"error": "Not authorized",
"extras": {
"status": 401,
"message": "Not authorized"
}
}
Loading...