PerpetuusPerpetuus Developers

Generating an API key

Create an API key (ppt_…) in the Perpetuus interface to use in integrations.

For integrations (Zapier, Make, n8n, scripts, BI), you need an API key: a token that starts with ppt_, with scopes and an expiration. Administrators and managers can create one.

From the interface

Go to Configurações in the side menu and open API Tokens e MCP (/settings/api-tokens).

In the Conectar sua IA (MCP) card, click Conectar editor and then Conectar novo editor.

Give it a name (for example, Zapier), choose the expiration (1 to 365 days), and select the permissions (scopes) the integration needs.

Click Gerar configuração.

Copy the ppt_… key from the Authorization field of the configuration. It will not be shown again.

Test with GET /api/auth/token-info (see Authentication).

Security best practices

  • Treat the key as a password: whoever has it can act in the CRM on your behalf, within the scopes.
  • Select only the scopes you need. An integration that only reads contacts needs crm:read.
  • Store it in an environment variable or a secrets vault, never in shared spreadsheets or public repositories.
  • If a key leaks, remove it in Conexões ativas in the same panel and create another one.

The old "Personal Access Token" (no scopes) is deprecated. See Legacy.

Next step

With the key in hand, create your first card. That page is currently available in Portuguese.

On this page