API reference
32 API v6 endpoints, grouped by service. Each one explains what it does, who can call it, its limits and its errors, and you can try it from its page.
Base URL
https:
Authentication
Every request carries your API key in the Authorization: header. Without it, the API returns 401.
Before you start
Endpoints by service
Utilities (1 endpoints)
Diagnostic endpoints, available to any API key. Use them to verify your credentials are wired correctly.
Tools (2 endpoints)
General-purpose catalogs you can consume from your app. Available to any API key.
SMS (10 endpoints)
Send text messages to mobile numbers in Colombia: a priority one (transactional only: codes and alerts), one marketing message per call, or a bulk send of up to 100,000 destinations; query each message and its timeline, list your messages by day or by number, follow each bulk send’s progress and see what people wrote to you.
- POST
/Send a priority SMSA transactional message (a code, an alert) to a mobile number in Colombia. It goes out first and carries the priority charge.api/ v6/ sms/ priority - POST
/Send a marketing SMSOne marketing or informational message per call, with the same quota as the priority route: it honors the marketing controls and does not pay the priority charge.api/ v6/ sms/ marketing - POST
/Send a bulk SMSUp to 100,000 destinations in one request, with a common text with variables or one text per destination. All or nothing against your balance.api/ v6/ sms/ bulk - GET
/Get a messageThe status of a message, by its `id`: at Hablame and, once it went out, towards the carrier.api/ v6/ sms/ messages/ {id} - GET
/Get a message timelineWhat happened to a message, step by step: when Hablame received it, each send to the carrier with its answer and each delivery receipt.api/ v6/ sms/ messages/ {id}/ timeline - GET
/List messagesYour organization’s messages in a range of days, or the ones that went to a number, one page at a time and without the text.api/ v6/ sms/ messages - GET
/Get a bulk send’s progressA bulk send’s status (`status`) and its counters: admitted, processed, refunded and handed to output.api/ v6/ sms/ bulk/ {batchId} - GET
/List campaignsYour organization’s campaigns, the newest first, each one with the added-up progress of its bulk sends.api/ v6/ sms/ campaigns - GET
/Get a campaignA campaign with the added-up progress of its bulk sends and the list of each one.api/ v6/ sms/ campaigns/ {campaignId} - GET
/List what people wrote to youThe messages people wrote to your code in the last 7 days, without the text: their number, their parts, their cost and their webhook notification.api/ v6/ sms/ inbound
URL Shortener (11 endpoints)
Create and manage short links on your domains, and read their click analytics.
- POST
/Create a short linkPublish a short link with a generated code or your own alias. Charged on creation, unless your plan includes it.api/ v6/ urlshortener/ links - POST
/Create short links in bulkUp to 1,000 links in one request, with one result per link and a single charge for what was created.api/ v6/ urlshortener/ links/ batch - GET
/List short linksYour links, paginated, with search, filters, sorting and their visit counters.api/ v6/ urlshortener/ links - GET
/List available domainsDomains your organization can publish links on, with the default first.api/ v6/ urlshortener/ domains - GET
/Get a short linkOne of your links by domain and code.api/ v6/ urlshortener/ links/ {domain}/ {code} - PATCH
/Update a short linkChange the destination, the status or the expiry. Domain and code do not change.api/ v6/ urlshortener/ links/ {domain}/ {code} - DELETE
/Delete a short linkThe link stops redirecting and disappears from the API. Its code stays taken, and you can restore it for 90 days.api/ v6/ urlshortener/ links/ {domain}/ {code} - POST
/Restore a deleted linkBrings back a link of yours that you deleted, with the same code and no new charge.api/ v6/ urlshortener/ links/ {domain}/ {code}/ restore - GET
/Link statisticsRange totals, a daily or hourly series and breakdowns by country, device, OS, browser or source.api/ v6/ urlshortener/ links/ {domain}/ {code}/ stats - GET
/Organization overviewInventory, range activity against the previous period, trends, top links and breakdowns for your whole organization.api/ v6/ urlshortener/ overview - GET
/URL Shortener pricingWhat creating a link and each visit cost your organization, and whether its plan includes it.api/ v6/ urlshortener/ pricing
Storage (7 endpoints)
Read what your organization stores: usage, consumption, files, download links, retention and pricing. Read-only; storage never pauses.
- GET
/SummaryWhat your organization has stored now, the month so far and what is deleted soon.api/ v6/ storage/ summary - GET
/UsageSeries of the storage used (GB-months and cost) per day, month or hour.api/ v6/ storage/ usage - GET
/List filesYour organization’s files, newest first, paginated by cursor.api/ v6/ storage/ objects - GET
/Get a fileThe detail of a file of your organization.api/ v6/ storage/ objects/ {id} - GET
/Download linkA temporary link to download a file.api/ v6/ storage/ objects/ {id}/ download-url - GET
/RetentionHow long each file type is kept before it is deleted.api/ v6/ storage/ retention - GET
/Storage pricingThe price per GB-month applied to your organization today, and the next one if already set.api/ v6/ storage/ pricing
Organization (1 endpoints)
Organization profile, cost centers and users. Includes personal data.