Skip to main content
POST
Magic Link
Generate a magic login link for an applicant. When the applicant clicks the link, an application will be created (or found if exists) and they will be logged in automatically.

Endpoint

Authentication

[!NOTE] Requires a valid company API key in the Authorization header (format: Api-Key <key>).

Request Body

Example Request

Responses

200: OK

Successfully generated magic login link.

400: Bad Request

Missing required fields or invalid hiring flow.

500: Internal Server Error

Internal server error occurred while generating the magic link.

Notes

  • Magic links expire after the configured duration (default: 24 hours)
  • The link logs the user in and redirects to their application
  • If the candidate already has an application in the flow, the existing application is used
  • Useful for sending in SMS or email notifications