cURL
curl --request POST \ --url https://api.example.com/external/v1/applications/magic-link/
Generate a magic login link for a candidate
POST /external/v1/applications/magic-link/
email
application_id
curl -X POST "https://your-instance.firstwork.com/external/v1/applications/magic-link/" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "email": "john.doe@example.com", "application_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7" }'
{ "status": "success", "data": { "magic_link": "https://app.firstwork.com/login?token=abc123def456...", "expires_at": "2025-01-21T10:30:00Z" } }