get_message_share_link
Look up an existing message share link by its ID to get its URL, access settings, and validity status before using it.
Instructions
Look up an existing message share link by its ID, including the message behind it.
USE WHEN: You have a share link ID and want its URL, access settings, or whether it is still valid — check revoked_at and end_access_at before relying on it.
USE INSTEAD: create_message_share_link to make a new link; this only reads existing ones. get_message if you have the message ID and do not care about the share.
FIRST: share_link_id comes from create_message_share_link (field id) — call it first if you don't have one.
EXAMPLE: {"share_link_id":"share-abc"}
RETURNS: Same shape as create_message_share_link: {id, link, share_type, access_type, revoked_at?, end_access_at?, shared_message: {...}, ...}.
NARROW: pass response_fields ["id","link","revoked_at","end_access_at"] unless you need more — the full payload is much larger.
ERROR NOT_FOUND: No share link with that ID, or it is no longer accessible. — Create a new one with create_message_share_link; do not retry the same ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| share_link_id | Yes | Share link ID, from `create_message_share_link` (its `id`). | |
| response_fields | No | Dot-path allowlist to shrink the response, e.g. ["results.id","total"]. Omit for the full payload. |