All requests must be made over HTTPS and will be authenticated over standard HTTP basic authentication.
Authentication requires a
username and a
password. When these values are requested in console/terminal, programming libraries, SDKs, or even here in our docs, use the following values for
Production or Sandbox API Key
You can retrieve your production and sandbox API keys from the API keys page in the dashboard.
Keep your API keys secret!
API keys must be kept secret. They should not be in your client-side code or checked into your application's code.
curl --request GET \ -u ORGANIZATION_ID:API_KEY \ --url https://app.moderntreasury.com/api/ping
You can also view information about the current API key. (View more.)
curl --request GET \ -u ORGANIZATION_ID:API_KEY \ --url https://app.moderntreasury.com/api/api_keys/current