Documentation
↪ Back to homepage↗ Help Center
  • Getting Started
  • Topics
  • Foundry Platform
    • Overview
    • Authentication
    • Status Codes
    • Errors
    • Timestamps
    • Account
      • Get Account
      • Get Account Balance
      • Get Topup Details
    • Orders
      • Get Orders
      • Create Order
      • Get Order
      • Cancel Order
  • Segment Ledger
    • Ledger
      • Get Ledger
      • Update Ledger
    • Ledger Assets
      • Create Ledger Asset
      • List Ledger Assets
      • Get Ledger Asset
      • Update Ledger Asset
    • Ledger Accounts
      • Create Ledger Account
      • List Ledger Accounts
      • Get Ledger Account
      • Update Ledger Account
    • Ledger Transactions
      • Create Ledger Transaction
      • List Ledger Transactions
      • Get Ledger Transaction
  • Hyperhash
    • Under Development
Powered by GitBook
On this page
  • Authentication Method
  • API Authentication Key
  • Example Requests
  • Current API Key
  1. Topics

Authentication

Last updated 8 months ago

Authentication Method

All requests must be made over HTTPS and will be authenticated over standard .

API Authentication Key

Authentication requires a x-api-key. When these values are requested in console/terminal, programming libraries, SDKs, or even here in our docs, use the following values for x-api-key:

Key
Value

x-api-key

{API_KEY}

The API key must be kept secret. They should not be in your client-side code or checked into your application's code.

Example Requests

Ping Request
curl --request GET \
    -u x-api-key:API_KEY \
    --url {Sanbox_URL}/api/ping

Current API Key

Current API Key Request
curl --request GET \
  -u x-api-key:API_KEY \ 
  --url {Sanbox_URL}/api/api_keys/current
HTTP basic authentication