Skip to main content

Get Organization Info

GET 

/organization

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

Returns organization details

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

    sms_registration_message_template string

    The custom SMS message template set for the registration invite. The default message isn't returned. In the message's content it's possible to add the following template variables: {{.OrganizationName}} which is the Organization Name configured and {{.RegistrationLink}} which is the link generated by SDP to send to the receiver (in case this is not present in the message, it's automatically appended at the end).

    otp_message_template string

    The custom OTP message template set to send OTP code to the receiver complete the registration flow. The default message isn't returned. In the message's content it's possible to add the following template variables: {{.OrganizationName}} which is the Organization Name configured and {{.OTP}} which is the OTP code to send to the receiver complete the registration flow (in case this is not present in the message, it's automatically appended at the end).

Loading...