ExoVoIPDeveloper guide

Getting started

In a few minutes: an API key, your first request and your first extension.

1. Create an API key

In the control panel open Developers and click New key:

  • give it a recognizable name (e.g. "CRM integration");
  • choose only the permissions you need (read permissions are enough to start);
  • optional: restrict the IP addresses the key can be used from and set an expiry date.

The full key (exo_live_…) is shown only once: store it in a secrets manager or an environment variable, never in source code.

Test keys: exo_test_… keys work like exo_live_… keys and help you tell integrations under development apart in the usage log.

2. Install the SDK (optional)

Download the archive for your language from SDKs and install it, or use cURL or any HTTP client.

# Nessuna installazione: cURL e la chiave API in una variabile d'ambiente
export EXOPBX_API_KEY="exo_live_..."

3. First request

curl -s https://centralino.exovoip.it/api/v1/tenants/current \
  -H "X-API-Key: $EXOPBX_API_KEY"

If the response is 401, check that the key is complete and active; if it is 403 SCOPE_MISSING, the key lacks the permission required by the endpoint (listed in each guide and in the Swagger reference).

4. Create an extension

Requires the extensions:write scope.

curl -s -X POST https://centralino.exovoip.it/api/v1/extensions \
  -H "X-API-Key: $EXOPBX_API_KEY" -H "Content-Type: application/json" \
  -d '{"number":"105","name":"Giulia Verdi","email":"giulia.verdi@example.com",
       "voicemail":{"enabled":true,"email":"giulia.verdi@example.com"}}'

The SIP password is returned only on creation and regeneration: configure it on the phone right away, or retrieve the full credentials with GET /v1/extensions/:id/sip-credentials.

5. Follow calls in real time

With the live:read scope:

# -N disattiva il buffer: gli eventi arrivano appena accadono
curl -N "https://centralino.exovoip.it/api/v1/live/events?types=channel.update,channel.hangup,calendar.override" \
  -H "X-API-Key: $EXOPBX_API_KEY"

Next steps