GET
/v1/mgmt/magiclink/settingsAuthorization
Descope Project ID and Management Key AuthorizationBearer <token>
Project ID:Management Key as bearer token.
In: header
Get the project's magic link settings, using a valid management key.
curl -X GET "https://api.descope.com/v1/mgmt/magiclink/settings"{ "enabled": true, "expirationTime": 0, "expirationTimeUnit": "string", "redirectUrl": "string", "emailServiceProvider": "string", "textServiceProvider": "string", "emailTemplateId": "string", "textTemplateId": "string"}/** * Magic link (Terraform: descope_magiclink_settings). Carries the same representation used in * exported snapshots, and the Get response and Set request are the same message. * Patch semantics: omitted fields are left untouched; present fields are written. */export interface Response {enabled?: booleanexpirationTime?: numberexpirationTimeUnit?: stringredirectUrl?: stringemailServiceProvider?: stringtextServiceProvider?: string/** * Active template selection by id. Absent = keep the current selection; "" = reset to the * built-in System template; a template id = select that stored template. */emailTemplateId?: stringtextTemplateId?: string} Was this helpful?