POST
/
connect
/
file-picker
curl --request POST \
  --url https://api.openint.dev/v0/connect/file-picker \
  --header 'Content-Type: application/json' \
  --header 'x-apikey: <api-key>' \
  --header 'x-connection-id: <api-key>' \
  --data '{
  "customerId": "<string>",
  "validityInSeconds": 2592000,
  "theme": "light",
  "multiSelect": true,
  "folderSelect": true,
  "themeColors": {
    "accent": "<string>",
    "background": "<string>",
    "border": "<string>",
    "button": "<string>",
    "buttonLight": "<string>",
    "buttonForeground": "<string>",
    "buttonHover": "<string>",
    "buttonStroke": "<string>",
    "buttonSecondary": "<string>",
    "buttonSecondaryForeground": "<string>",
    "buttonSecondaryStroke": "<string>",
    "buttonSecondaryHover": "<string>",
    "card": "<string>",
    "cardForeground": "<string>",
    "foreground": "<string>",
    "navbar": "<string>",
    "primary": "<string>",
    "primaryForeground": "<string>",
    "secondary": "<string>",
    "secondaryForeground": "<string>",
    "sidebar": "<string>",
    "tab": "<string>"
  },
  "connectionId": "<string>"
}'
{
  "url": "<string>"
}

Authorizations

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

Body

application/json
connectionId
string
required

Must start with 'conn_'

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

theme
enum<string> | null
Available options:
light,
dark
multiSelect
boolean | null
folderSelect
boolean | null
themeColors
object | null

Response

200
application/json
Successful response
url
string
required