POST
/
connect
/
magic-link
curl --request POST \
  --url https://api.openint.dev/v0/connect/magic-link \
  --header 'Content-Type: application/json' \
  --header 'x-apikey: <api-key>' \
  --header 'x-connection-id: <api-key>' \
  --data '{
  "customerId": "<string>",
  "validityInSeconds": 2592000,
  "displayName": "<string>",
  "redirectUrl": "<string>",
  "connectorNames": "<string>",
  "integrationIds": "<string>",
  "connectionId": "<string>",
  "theme": "light",
  "view": "manage"
}'
{
  "url": "<string>"
}

Authorizations

x-apikey
string
header
required
x-connection-id
string
header
required

Body

application/json
customerId
string

Anything that uniquely identifies the customer that you will be sending the magic link to

Minimum length: 1
validityInSeconds
number
default:2592000

How long the magic link will be valid for (in seconds) before it expires

displayName
string | null

What to call user by

redirectUrl
string | null

Where to send user to after connect / if they press back button

connectorNames
string | null

Filter integrations by comma separated connector names

integrationIds
string | null

Filter integrations by comma separated integration ids

connectionId
string | null

Filter managed connections by connection id

theme
enum<string> | null

Magic Link display theme

Available options:
light,
dark
view
enum<string> | null

Magic Link tab view

Available options:
manage,
manage-deeplink,
add,
add-deeplink

Response

200
application/json
Successful response
url
string
required