Skip to content
GET /unified/meta/{model_name}/{integration_name}

For certain integrations, your customers might need assistance in connecting them to Truto, especially for API Key based integrations where they need to provide their API Key to Truto. In other cases, the features provided by the unified API for the integration might be available only on certain pricing plans, or the user connecting the integration might need to have certain user permissions or roles.

To help your customers with this, you can use this endpoint to get integration specific documentation for a unified model like,

  • Pricing plan considerations
  • User roles who can connect the integration
  • Scopes required (for OAuth integrations)
  • Integration specific instructions

This information can be displayed to your customers when they are connecting the integration to Truto.

Truto provides this information in 3 formats,

  • JSON
  • Markdown
  • HTML (Sanitized)

Path Parameters

model_namestring
required·

The name of the unified model to get the documentation for.

Example: user-directory
integration_namestring
required·

The name of the integration to get the documentation for.

Example: freshdesk

Query Parameters

formatstring

The format in which to return the documentation. Default is json.

Possible values:
jsonmdhtml

Response Body

instructionsstring · markdown

The integration specific instructions like steps to create an API key, getting account subdomain, etc. In Markdown format.

pricing_planstring[]

The list of pricing plans for which the integration is available. In free text format, ready to be displayed as it is.

scopesstring[]

The list of scopes required to make the unified API work.

user_rolestring[]

The list of user roles who can connect the integration. In free text format, ready to be displayed as it is.

curl -X GET 'https://api.truto.one/unified/meta/{model_name}/{integration_name}' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.truto.one/unified/meta/{model_name}/{integration_name}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
import requests

url = "https://api.truto.one/unified/meta/{model_name}/{integration_name}"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.get(url, headers=headers, params=params)
print(response.json())