API reference

36 endpoints, each with its scope, its limits, the errors it can return and a Try-It panel to run it with your own API key.

Download OpenAPIhttps://developers.hablame.co/api/v6

Utilities

Diagnostic endpoints, available to any API key. Use them to verify your credentials are wired correctly.

Tools

General-purpose catalogs you can consume from your app. Available to any API key.

Number Insight

Resolves a phone number: country, line type, current carrier (porting-aware in Colombia) and area. One by one or in batches.

URL Shortener

Create and manage short links on your domains, and read their click analytics.

POST/api/v6/urlshortener/links

Create a short link

Publish a short link with a generated code or your own alias. Charged on creation, unless your plan includes it.

API key with the urlshortener service enabled and the urlshortener.write capability granted · 35 requests per second

POST/api/v6/urlshortener/links/batch

Create short links in bulk

Up to 1,000 links in one request, with one result per link and a single charge for what was created.

API key with the urlshortener service enabled and the urlshortener.write capability granted · 35 requests per second

GET/api/v6/urlshortener/links

List short links

Your links, paginated, with search, filters, sorting and their visit counters.

API key with the urlshortener service enabled · 30 requests per minute

GET/api/v6/urlshortener/domains

List available domains

Domains your organization can publish links on, with the default first.

API key with the urlshortener service enabled · 30 requests per minute

GET/api/v6/urlshortener/links/{domain}/{code}

Get a short link

One of your links by domain and code.

API key with the urlshortener service enabled · 60 requests per minute

PATCH/api/v6/urlshortener/links/{domain}/{code}

Update a short link

Change the destination, the status or the expiry. Domain and code do not change.

API key with the urlshortener service enabled and the urlshortener.write capability granted · 35 requests per second

DELETE/api/v6/urlshortener/links/{domain}/{code}

Delete a short link

The link stops redirecting and disappears from the API. Its code stays taken, and you can restore it for 90 days.

API key with the urlshortener service enabled and the urlshortener.write capability granted · 35 requests per second

POST/api/v6/urlshortener/links/{domain}/{code}/restore

Restore a deleted link

Brings back a link of yours that you deleted, with the same code and no new charge.

API key with the urlshortener service enabled and the urlshortener.write capability granted · 35 requests per second

GET/api/v6/urlshortener/links/{domain}/{code}/stats

Link statistics

Range totals, a daily or hourly series and breakdowns by country, device, OS, browser or source.

API key with the urlshortener service enabled · 120 requests per minute

GET/api/v6/urlshortener/overview

Organization overview

Inventory, range activity against the previous period, trends, top links and breakdowns for your whole organization.

API key with the urlshortener service enabled · 120 requests per minute

GET/api/v6/urlshortener/pricing

Current pricing

What creating a link and each visit cost your organization, and whether its plan includes it.

API key with the urlshortener service enabled · 60 requests per minute

Text-to-Speech

Turn text into audio with natural voices, automatically reuse an identical audio already generated, and check the state of each request.

Call Blasting

Outbound voice calls with pre-recorded audio or text-to-speech, with configurable retries and per-attempt status.

Account

Billing summary for the organization: balance or credit, spending limits and movements. Sensitive financial data.

Organization

Organization profile, cost centers and users. Includes personal data.

Platform

Operational status of the services and a catalog of what your account has enabled.