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>"
}
Successful response
The response is of type object
.
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>"
}