---
title: "Test Imessage Link"
method: POST
path: "/api/test/imessage-link"
---

# Test Imessage Link

`POST /api/test/imessage-link`

## Request

- Base URL: `https://api.yourbeckett.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.yourbeckett.com/api/test/imessage-link`
- Auth: none declared

Link a phone number to a user account. Admin-only.

Body: {"phone_number": "+13035024378"}
Optional: {"user_id": "uuid"} to link a different user (default: current user).

Phone number is normalized to E.164 via `normalize_phone` on input,
eliminating format-drift bugs between OTP linking, admin linking, and
the Sendblue inbound handler's lookup.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/yourbeckett/apis/beckett-platform.md) · [All operations](https://skmtc.dev/yourbeckett/apis/beckett-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/yourbeckett/apis/beckett-platform/revisions/a1cb8f2c8961?raw)
