Hubs
Create a new Hub
API Reference
Connect API
- Introduction
- Endpoints
Embedded API
- Introduction
- Endpoints
- Hubs
- End Users
- Connections
- Integrations
- Connectors
- Embed
- Activations
- Miscellaneous
Organisations API
- Overview
- Signing Keys
Hubs
Create a new Hub
Create a new Hub
POST
/
hubs
curl --request POST \
--url https://platform.versori.com/api/embedded/v1/hubs \
--header 'Content-Type: application/json' \
--data '{
"organisationId": "<string>",
"name": "<string>",
"primaryConnectorId": "<string>",
"authSchemeConfig": {
"id": "<string>",
"description": "<string>",
"validationMessages": [
{
"text": "<string>",
"severity": "info",
"detail": [
"<string>"
]
}
],
"schemeType": "<string>"
}
}'
{
"id": "<string>",
"name": "<string>",
"primaryConnector": {
"connectorId": "<string>",
"name": "<string>",
"authSchemeConfig": {
"id": "<string>",
"description": "<string>",
"validationMessages": [
{
"text": "<string>",
"severity": "info",
"detail": [
"<string>"
]
}
],
"schemeType": "<string>"
},
"imageUrl": "<string>",
"variables": [
{
"name": "<string>",
"value": "<string>"
}
]
},
"isDefault": true
}
Body
application/json
CreateHubRequest is the payload to create a new Hub.
Response
201
application/json
Created
A Hub description
curl --request POST \
--url https://platform.versori.com/api/embedded/v1/hubs \
--header 'Content-Type: application/json' \
--data '{
"organisationId": "<string>",
"name": "<string>",
"primaryConnectorId": "<string>",
"authSchemeConfig": {
"id": "<string>",
"description": "<string>",
"validationMessages": [
{
"text": "<string>",
"severity": "info",
"detail": [
"<string>"
]
}
],
"schemeType": "<string>"
}
}'
{
"id": "<string>",
"name": "<string>",
"primaryConnector": {
"connectorId": "<string>",
"name": "<string>",
"authSchemeConfig": {
"id": "<string>",
"description": "<string>",
"validationMessages": [
{
"text": "<string>",
"severity": "info",
"detail": [
"<string>"
]
}
],
"schemeType": "<string>"
},
"imageUrl": "<string>",
"variables": [
{
"name": "<string>",
"value": "<string>"
}
]
},
"isDefault": true
}