Getting Started

Welcome! This guide will help you get started with the Caf Connect API, from creating your first application to making authenticated requests and understanding permissions.

Step 1: Create an application

To use the APIs, you first need to create an application in Trust. You will receive a client_id and client_secret.

Step 2: Understand permissions

Your application requires specific permissions to access different API features. Review and select the permissions needed for your use case.

Step 3: Authenticate and obtain an access token

With your credentials, you can authenticate and obtain an OAuth2 access token. This token is required for all API requests.

For enhanced security, Caf Connect supports mutual TLS (mTLS) authentication. This provides an additional layer of security by requiring both the client and server to verify each other's certificates.

  1. Create a Certificate:

  2. Configure mTLS in Your Application:

    • Implement mTLS authentication using your certificate and private key.

    • Access Using mTLS for code examples and detailed instructions.

Next steps

Tip: Keep your credentials and certificates secure and never expose them in client-side code or public repositories.

Last updated