Connected apps and OAuth apps
Other platforms (a sales system, a CRM) can use DISKA on your company's behalf without being given an API key: in the platform you click "Connect with DISKA", pick the company and the permissions on a DISKA screen, and the platform is connected. If you build the integration, see OAuth for partner platforms.
Connecting an app
On the DISKA authorization screen:
- Check the app's name and its publisher. An app not yet verified by DISKA shows a warning: connect it only if you know it.
- Pick the company. Only the company's Owner and Admins can connect it.
- Uncheck the permissions you do not want to give.
- Click Ligar (connect). You return to the platform, already connected.
No app can, whatever the permission: see or create API keys, manage members and invites, see billing and minutes, change numbers, telephony or WhatsApp, or delete the company.
Connected apps
Definições → Aplicações ligadas (Settings → Connected apps; Owner and Admins) shows, for each app: its publisher, who connected it and when, and when it was last used.
- Retirar permissões (take permissions away): uncheck and click the button. It applies to the app's very next request. To give more permissions, the app has to ask again.
- Desligar (disconnect): the app loses access immediately. To use it again, authorize it again.
Connecting, taking permissions away and disconnecting are recorded in the activity log.
OAuth apps (partners)
If your organization is a DISKA partner platform, Definições → Apps OAuth (Settings → OAuth apps) lets you register the app your customers will connect. The page appears once DISKA switches the feature on for your organization.
- Click Registar aplicação (register app) and fill in the name, the environment (Teste/test or Produção/live), the redirect URIs and the permissions the app may ask for.
- Copy the Client ID and the Client secret. The secret is shown only once; Gerar novo secret (new secret) creates another and the old one stops working.
- Optional: under Webhook, set the URL that receives events from every connected company, send a ping and look at the latest deliveries.
Each app shows how many companies connected it and its status: Não verificada (unverified, up to 100 companies), Verificada (verified) or Suspensa (suspended). A verified app becomes unverified again if its name, description, logo, pages or redirect URIs change, or if it asks for new permissions. Deleting an app disconnects every company.

