Skip to main content
POST
/
{env_id}
/
magicLink
Create a Magic Link
curl --request POST \
  --url https://api.hotglue.com/{env_id}/magicLink \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "tenant": "<string>",
  "flow": "<string>",
  "entityId": "<string>",
  "type": "<string>",
  "expiresAt": "2023-11-07T05:31:56Z",
  "options": {}
}
'
{
  "url": "<string>",
  "expiresAt": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

Path Parameters

env_id
string
required

ID of environment

Body

application/json
tenant
string | null
flow
string | null
entityId
string | null
type
string | null
expiresAt
string<date-time> | null

Optional expiration timestamp for the Magic Link.

options
object

Response

200 - application/json

Magic Link created

url
string<uri>
expiresAt
string<date-time> | null