Magic Links

Create a magic link

Creates a magic link in the authenticated workspace.

post/v1/magic-links

Request

  • Base URL: https://api.mailrith.com
  • URL: https://api.mailrith.com/v1/magic-links
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Optional idempotency key to retry the request safely. It must not exceed 256 UTF-8 bytes.

Request body

namestring required
target_type'redirect' | 'message' required
redirect_urlstring nullable
success_messagestring nullable
add_tag_idsstring[]
remove_tag_idsstring[]
add_sequence_idsstring[]
remove_sequence_idsstring[]

Response

Magic link created

Changes

No recorded changes to this operation across all 1 revision of this API.