Security
form_session or user_session or component_session or component_token or api_token
User email address. Onboarded stores user emails in lowercase, and this value will be lowercased to match against existing users. If not provided, user_external_id is required and must identify a unique user.
Custom identifier provided upon user creation. Can be provided with or without user_email. If user_email is omitted, however, this field must uniquely identify a user. An error will be returned if multiple users hold the same external_id.
- Mock serverhttps://docs.onboarded.com/_mock/openapi/api/v1/magic_links
- Onboarded Production Serverhttps://app.onboarded.com/api/v1/magic_links
- form_session
- user_session
- component_session
- component_token
- api_token
- MagicLinkRedirectPath
- null
curl -i -X POST \
https://docs.onboarded.com/_mock/openapi/api/v1/magic_links \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"user_email": "user@example.com",
"user_external_id": "string",
"expire_in": 1,
"redirect_path": "string"
}'Success
The date and time when the redirect_path parameter will become invalid and stop working
Response
{ "url": "string", "expire_at": "string", "redirect_path_deprecation_deadline": "2019-08-24T14:15:22Z", "redirect_path_deprecation_note": "string" }