# Create Embeddable Magic Link **POST /v1/auth/magic_links/create** Create an embeddable token for Magic Link for a specific user. The token can be used with a custom email or any other methods of delivery to your user. ## HTTP Request `POST /v1/auth/magic_links/create` ## Returns A successful response returns an object with `user_id`, `token` properties. ## Servers - Production: https://api.moonkey.fun (Production) ## Authentication methods - Authorization ## Parameters ### Body: application/json (object) - **user_id** (string) Given Unique ID that identifies the user. - **expires_in** (number) Expiration time of the magic link in minutes. Must be between 5 to 10080 minutes (7 days). - **device_fingerprint** (object) Device fingerprinting metadata for fraud detection during verification step. This is useful to ensure that the user who originated the request matches the user that verifies the token. Verification requirements can be enabled in the `Verify Token` step by matching fields in the `device_fingerprint` such as IP, User Agent or the combination of them (more fraud detection features **coming soon**!) ## Responses ### 200 OK #### Body: application/json (object) - **user_id** (string) - **token** (string) [Powered by Bump.sh](https://bump.sh)