Skip to main content

Portal Integration

Managers and consultants create their own API integration through the portal: they create the integration, register the public key and receive the API Key right there. No key ever travels by email.

This is the standard path

Registering the public key through the screen is the recommended procedure for managers and consultants, in both Sandbox and Production. Sending the public key by email is treated as an exception — see When email delivery is still used.

Through the portal the key is registered by the person responsible, with an explicit confirmation and the fingerprint visible on screen. This removes the manual handover of files between mailboxes, reduces the risk of registering the wrong key, and lets you rotate the key at any time without opening a ticket.

Flow overview

StepWho does itWhere
1. Master user registrationQI Tech integration teamFrom your contact by email or WhatsApp
2. Portal accessMaster userManager Portal or Consultant Portal
3. Creation of other users and permissionsMaster userPortal, under Gestão de Acesso > Usuários (Access Management > Users)
4. Integration creationMaster user or a user with permissionPortal, under Gestão de Acesso > Integração API (Access Management > API Integration)
5. Public key registrationUser with permissionPortal, on the integration screen
6. Integration permission grantQI Tech integration teamShown on the same screen once completed
7. Webhook configuration (optional)User with permissionPortal, on the integration screen

1. Request the master user registration

Contact the QI Tech integration team by email (integracao.dtvm@qitech.com.br) or WhatsApp providing, for the person responsible for the homologation:

  • Full name
  • Corporate email
  • CPF

With this information we create the master user for the manager or the consultant in the requested environment. This user is the starting point: they create the other users, grant permissions and create the API integrations.

Do not send keys by email

The request contains only the name, email and CPF of the person responsible. Do not attach the public key to that message — you register it yourself in the portal, in step 5. And the private key is never sent to anyone, under any circumstances: QI Tech will never ask you to share it.

2. Access the portal

ProfileEnvironmentPortal
ManagerSandboxhttps://portal-do-gestor.sandbox.fundos.qitech.com.br/
ManagerProductionhttps://portal-do-gestor.fundos.qitech.com.br/
ConsultantSandboxhttps://portal-do-consultor.sandbox.fundos.qitech.com.br/
ConsultantProductionhttps://portal-do-consultor.fundos.qitech.com.br/

Access is done through single sign-on (SSO) with the email registered in the previous step.

3. Create the other users and grant permissions

Only the master user (or whoever they authorise) can see the integration screen. To give access to other people on your team:

  1. Go to Gestão de Acesso > Usuários (Access Management > Users) and click Criar usuário (Create user).
  2. Provide Nome (first name), Sobrenome (last name), E-mail and CPF.
  3. Open the user you created and grant the integration permission:
    • Manager: Gerenciar Integração API (manager.manage_integration)
    • Consultant: Gerenciar integração com a API (consultant.manage_integration)

Without this permission the Integração API item does not appear in the menu.

4. Create the integration

Under Gestão de Acesso > Integração API, click Criar integração (Create integration) and give it a name that identifies its use (for example, ETL noturno or Backoffice).

On confirmation, QI Tech generates the integration credentials and the detail screen opens:

CredentialWhat it is for
API KeyGoes in the API-CLIENT-KEY header of every request. See Authentication Test.
Client Integration KeyIdentifier of the integration. Use it to refer to the integration when contacting the integration team.

The same manager or consultant may keep several active integrations at the same time, each with its own public key — useful for separating internal systems or environments.

The integration starts with status Criada (Created). It only becomes Ativa (Active) after the public key is registered.

5. Register the public key

On the integration screen, click Cadastrar chave pública (Register public key). There are two ways to do it.

Option A — Generate the key pair in the browser

The portal generates the pair directly in your browser and downloads the private key to your machine. The private key is never sent to QI Tech: only the public key is transmitted.

  1. Choose the Algoritmo da chave (Key algorithm).
  2. Click Gerar par de chaves (Generate key pair). The private key download starts automatically.
  3. Store the private key in a safe place — it is not shown again and cannot be recovered. If needed, use Baixar chave privada (Download private key) and Baixar chave pública (Download public key) before leaving the screen.
  4. The public key is already filled in the form. Confirm to register it.

Each algorithm determines the alg you must use when signing the JWT of your requests:

Algorithm in the portalJWT signature
RSA 2048 (recommended)RS256
RSA 4096RS256
EC P-256ES256
EC P-384ES384
EC P-521ES512

Option B — Upload your own public key

If you already generated the pair outside the portal — see Key Exchange — send the public key only:

  • Drag the file onto the indicated area, or click to select it (.pem, .pub, .key, .crt or .txt); or
  • Paste the PEM content into the text field.

The portal identifies the key algorithm and shows, below the field, which alg you must use to sign your requests.

Requirements and rejections

The key must be in PEM format, inside a -----BEGIN PUBLIC KEY----- block. The portal rejects the registration in the following cases:

SituationReason
Private key content (BEGIN ... PRIVATE KEY)The private key must never be sent
Certificate (BEGIN CERTIFICATE)Not a public key
OpenSSH format key (ssh-rsa, ecdsa-sha2-...)Convert it to PEM
RSA smaller than 2048 bitsBelow the accepted minimum
Unreadable PEMCorrupted or incomplete content

To confirm, type CADASTRAR in the confirmation field. Registration is immediate: the integration starts using that key as soon as you confirm.

Once registered, the screen shows the key's Fingerprint (SHA-256) and the registration date. Use the fingerprint to check that the registered key is indeed yours.

6. Integration permission grant

Managers only

Consultants do not go through this step: authorisation comes from the consultant's fund permissions, and the integration is ready to use right after the key is registered.

For managers, the last step is granting the integration's Leitura (Read) and Escrita (Write) permissions, done by the QI Tech integration team. There is no need to wait on the screen — the status appears under Permissões (Permissions) once the grant is completed.

7. Configure webhooks (optional)

Still on the integration screen, the Webhooks block lets you register the destination URL for notifications. The available systems are:

SystemEvents
Assignor registryAnalyses, assignor registrations and annotations
Assignment contractsAssignment contract and product statuses
Trade receivablesAssignments and assets in the receivables pipeline
SettlementPayment batches and settlements

You can use the same URL for all systems or one URL per system. Each system generates its own HMAC signature key, used to validate the deliveries you receive — see Receiving Webhooks.

Webhooks are configured per agent

The webhook configuration applies to the manager or consultant as a whole, not per integration. If there is more than one API integration, they all share the same configuration.

Rotating the public key

At any time, on the integration screen, use Trocar chave (Rotate key) and repeat step 5. Confirm by typing TROCAR.

Rotation is immediate

The previous key is invalidated right away. Requests signed with it start failing as soon as the new key is registered. Rotate during a window in which you can update the private key used by your application.

Deactivating and reactivating the integration

Desativar integração (Deactivate integration, confirmed with DESATIVAR) makes every call using that credential be refused. Nothing is deleted: the public key, the permissions and the webhooks remain saved and take effect again on reactivation.

Use deactivation as the immediate response to a suspected private key leak; then generate a new pair and register the new public key before reactivating.

Going live

The procedure in Production is the same. Send the integration team, by email, the name, email and CPF of the master user of the manager or consultant in the Production environment. From that master user's access onwards, creating the other users, granting permissions and creating the API integrations are done by you, through the portal — with no further contact with the team.

Sandbox credentials are not valid in Production: each environment has its own integrations, keys and API Keys.

Important Notice!

Real data of individuals and/or companies must not be used in QI Tech Sandbox environments.

When email delivery is still used

Portal registration is available to managers and consultants. The remaining access profiles — assignors, originators, investors and distributors — still send the public key to the integration team, as described in Key Exchange.

If you are a manager or a consultant and do not have portal access yet, request the master user through step 1 instead of sending the key by email.