Skip to main content
Skip table of contents

Authentication

Secure and authenticate your requests to seamlessly integrate our financial services into your applications.

Obtain API Key

To access the Muse Finance API, you need an API key. Follow these steps to obtain your API key:

  1. Contact Support

    • Reach out to our dedicated support team at technical-support@getmymuse.com.

    • Request an API key, Client ID and Client Secret for Invoice and Supply Finance integration.

  2. Approval Process

    • Our team will guide you through the approval process, ensuring a smooth onboarding experience.

    • Once approved, you'll receive your unique API key, Client ID and Client Secret.

Send Requests

  1. Exchange API Key for JWT Token

    • Upon obtaining your API key, client ID and Client Secret you must exchange it for a JWT (JSON Web Token) through the designated endpoint. The JWT token will act as your Bearer token for subsequent requests.

  2. Include Bearer Token and API Key in Requests

    • In your API requests, include both the Bearer token in the “Authorization” header and the API key in the header with the name "x-api-key."

    • Example using cURL:

      CODE
      curl -H "Authorization: Bearer YOUR_JWT_TOKEN" -H "x-api-key: YOUR_API_KEY" https:/

Security Best Practices

To ensure the security of your integration, follow these best practices:

  1. Protect API Key

    • Treat your API key as sensitive information.

    • Avoid hardcoding it in client-side code.

  2. Use HTTPS

    • Always use HTTPS when communicating with the API to encrypt data.

Example Workflow

  1. Obtain API Key

    • Request and receive your API key from our support team.

  2. Include Token in Requests

    • Include the Bearer token in the Authorization header of your API requests.

    CODE
    GET /applications Authorization: Bearer YOUR_JWT_TOKEN x-api-key: YOUR_API_KEY
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.