Documentation Index

Fetch the complete documentation index at: https://docs.trustifi.com/llms.txt

Use this file to discover all available pages before exploring further.

Trustifi API

Prev Next

Trustifi supports an open API which allows users to perform any action within the Trustifi system (e.g. sending encrypted emails, getting quarantined email data) via REST API.

Generating API Key and Secret

Each Trustifi user has their own API key and secret, which can be used to authenticate and perform API actions.

To generate your API key and secret, navigate to the “API” page by typing “API” in the global search bar, or from the “Account Settings” page which can be accessed by hovering over your profile at the top right corner:

From there, you can go to the “API” tab.

From the “API” tab, click on the toggle in the middle of the page to generate your API key and secret.

Using the API Key and Secret

Once you’ve generated your API key and secret, you can use them as authentication headers in any relevant REST API request.

Use the API key with the “x-trustifi-key“ header, and the API secret with the “x-trustifi-secret“ header.

There is a quick action button to copy both the API key anb secret.

If you need to generate a new API secret for information security reasons, click on the “Regenerate” button next to the API secret.

Note: If you regenerate the API secret, any existing API requests will need to be updated to contain the new API secret, otherwise they will fail.

API Documentation

Trustifi has an extensive API documentation page which can be found here: https://api.trustifi.com/

This page can also be accessible via a link at the bottom of the “API” page in the Trustifi portal.

The Trustifi API documentation displays all of the necessary information regarding API use of the Trustifi system, including:

  • A list of POST/GET/PUT/DELETE actions that can be performed in Trustifi via the API

  • The required and optional fields that can be used for each request

  • Examples of requests and responses

  • Selection of different programming languages: HTTP, cURL, JavaScript, NodeJS, PHP, and more.