---
title: "Get the extracted links"
method: GET
path: "/v1/sms/{id}/links"
tags: ["sms"]
---

# Get the extracted links

`GET /v1/sms/{id}/links`

## Request

- Base URL: `https://api.mailfixture.com`
- URL: `https://api.mailfixture.com/v1/sms/{id}/links`
- Auth: HTTP bearer

Byte-identical shape to the email links endpoint.

## Path parameters

- `id` string, uuid, required

## Response `200`

Classified links; empty array when none were extracted.

- LinkList
  - `links` ExtractedLink[], required
    - `class` 'verify' | 'reset' | 'unsubscribe' | 'other', required: Class guess from URL path + anchor keywords; magic-link/login URLs class as `verify`.
    - `text` string, nullable, required: Anchor text; null for bare-text URLs.
    - `url` string, required

## Other responses

- `401`: Missing bearer token, malformed key, or unknown/revoked/invalid API key.
- `404`: No such SMS on this account.
- `429`: Per-key rate limit exceeded. `Retry-After` says when the next request will be admitted; the RateLimit headers name the bucket that refused (`requests` or `creates`) with `r=0`.
- `500`: Unexpected server error. `detail` is null — internals are never leaked.

---

[API](https://skmtc.dev/mailfixture/apis/mailfixture-api.md) · [All operations](https://skmtc.dev/mailfixture/apis/mailfixture-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mailfixture/apis/mailfixture-api/revisions/4ddefe29f6f6?raw)
