Authentication
All API requests are authenticated with a Bearer token in the Authorization header. Every endpoint is tenant-scoped — you can only operate on numbers and trunks your tenant owns.
Base URL
https://voice-api.edesy.in/v1
Credentials
Authenticate as the owning tenant with either of the following:
Generate and manage your keys in the portal at voice-app.edesy.in.
Tenant API key (recommended for server-to-server calls). Keys start with the prefix vp_:
Authorization: Bearer vp_your_api_key_here
Session JWT — a bearer token issued to a logged-in session:
Authorization: Bearer <jwt>
Treat your API key like a password — store it in an environment variable and never commit it to source control.
Tenant scoping
Numbers, carriers, gateways, and applications are all bound to the tenant identified by the token. A number can only be inspected or modified by the tenant that owns it — requests for a resource your tenant does not own return 404 not_found, not an authorization error, so ownership is never leaked.
A missing or invalid token returns 401.
Example
curl -H "Authorization: Bearer vp_YOUR_API_KEY" \
https://voice-api.edesy.in/v1/phone-numbers