Skip to content
API PlatformDevelopers
GET/v1/short-links/{short_link_id}beta

Get a short link

Needs
Read your data (mcp:read)
Plan
Any plan with API access
Limits
300 a minute per key
Undo
Nothing to undo: this only reads.

Returns one WhatsApp short link: the wa.me link, the message it types for the customer, the QR code image and the number it opens a chat with.

The QR image is hosted by WhatsApp and its URL can expire: download the image and keep your own copy for anything you print.

Try it

Path

This only reads. It uses your real data and changes nothing.

Code and response

curl -X GET 'https://api.wa-api.cloud/v1/short-links/sl-12' \
  -H "Authorization: Bearer $API_KEY"

The code reads your key from $API_KEY.

Parameters

Parameters
FieldTypeWhat it is
short_link_idrequiredstring | integer · pathThe short link id.

Headers

Headers
FieldTypeWhat it is
AuthorizationrequiredheaderBearer $API_KEY — your API key.
Api-VersionheaderThe API version to use, e.g. 2026-10-01. Default: the version your key is pinned to.one of: 2026-10-01 · pattern ^\d{4}-\d{2}-\d{2}$

Response 200

The short link.

Response fields
FieldTypeWhat it is
idrequiredstring
coderequiredstringThe code at the end of the link.
urlrequiredstringThe click-to-chat link (https://wa.me/message/…). Share it, or print its QR code.
messagerequiredstring or nullThe text the customer finds already typed; they can edit it before sending.
qr_image_urlrequiredstring or nullQR code image of the link, hosted by WhatsApp. The link can expire: download and keep your own copy for print.
qr_image_formatrequiredstring or nullPNG or SVG; null when there is no image or its format is not known.one of: PNG, SVG
channelrequiredobject or nullThe WhatsApp number it belongs to.
idrequiredstringWorkspace channel id (as GET /v1/channels lists it).
namerequiredstring or null
phonerequiredstring or nullThe WhatsApp number the link opens a chat with.
created_atrequiredstring or null
updated_atrequiredstring or null

Errors

Errors are application/problem+json. Branch on code.

StatusCodeWhen
400invalid_input

A field is missing or has the wrong format. errors[] points at each field.

401unauthenticated

The Authorization header is missing, the key is unknown, expired or revoked, or the request came from an address outside the key's IP allowlist (checked on every operation, before anything runs).

403entitlement_required

The workspace's plan does not include API access (api_access).

403insufficient_scope

The key does not have the permission this operation needs. Checked before the body and headers: without the permission, this is the answer whatever was sent.

404not_found

No short link with this id in your workspace.

429rate_limited

The key or workspace went over its rate limit, or a service behind the API asked to slow down. Wait for Retry-After seconds (always sent).

503upstream_unavailable

A service behind the API is briefly unavailable. Safe to retry with backoff.

Examples

Read one short link

Response 200

{
  "id": "sl-12",
  "code": "4PZQX7M2LCKHA1",
  "url": "https://wa.me/message/4PZQX7M2LCKHA1",
  "message": "Hi! I'd like to order 🍕",
  "qr_image_url": "https://scontent-bom5-2.xx.fbcdn.net/m1/v/t6/An9_qr4PZQX7M2LCKHA1?ccb=10-5&oe=66F00000",
  "qr_image_format": "PNG",
  "channel": {
    "id": "301",
    "name": "Main WhatsApp",
    "phone": "+1 555-555-0100"
  },
  "created_at": "2026-09-12T10:00:00.000Z",
  "updated_at": "2026-09-12T10:00:00.000Z"
}

Operation path

The same operation is also at POST /v1/ops/messaging_get_short_link, with every field in the JSON body.