Skip to content
POST /integrated-account/form-token

Request Body

integrated_account_idstring · uuid

The connection whose post-connect form should be reopened. Must belong to this session's tenant.

Example: 1ba1f401-7183-47c5-9e39-e8e257e3c795

Response Body

expires_atstring · date-time

When the token stops working.

Example: 2021-08-10T10:10:00.000Z
integrated_account_tokenstring · uuid

The purpose-limited token. Keep it in memory; never put it in a URL.

Example: 1ba1f401-7183-47c5-9e39-e8e257e3c795
curl -X POST 'https://api.truto.one/integrated-account/form-token' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json' \
  -d '{
  "integrated_account_id": "1ba1f401-7183-47c5-9e39-e8e257e3c795"
}'
const body = {
  "integrated_account_id": "1ba1f401-7183-47c5-9e39-e8e257e3c795"
};

const response = await fetch('https://api.truto.one/integrated-account/form-token', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify(body),
});

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

url = "https://api.truto.one/integrated-account/form-token"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}
payload = {
    "integrated_account_id": "1ba1f401-7183-47c5-9e39-e8e257e3c795"
}

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