Authorizations
Path Parameters
Body
application/json
The parameters to initialise a new connection
Response
The configuration to initialise a new connection.
curl --request POST \
--url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/connection-init \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"appId": "<string>",
"authType": "<string>"
}'
{
"action": {
"redirect": {
"url": "<string>"
},
"form": {
"schema": {}
}
}
}
InitialiseConnection is used to initiate a connection of an App to a user’s organisation. Different connections require different auth methods (or even no auth method at all), this endpoint returns the necessary configuration required to establish that connection.
curl --request POST \
--url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/connection-init \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"appId": "<string>",
"authType": "<string>"
}'
{
"action": {
"redirect": {
"url": "<string>"
},
"form": {
"schema": {}
}
}
}
The parameters to initialise a new connection
The configuration to initialise a new connection.
Show child attributes