curl --request POST \
--url https://api.getcargo.io/v1/workspaceManagement/workspaces \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"logoBase64": "<string>",
"metadata": {
"referralSource": [
"<string>"
]
}
}
'{
"workspace": {
"uuid": "<string>",
"name": "<string>",
"allowedEmailDomains": [
"<string>"
],
"temporalNamespace": "<string>",
"temporalTaskQueuePrefix": "<string>",
"openAiVectorStoreId": "<string>",
"syncs": [
{
"domain": "connection",
"temporalScheduleWorkflowId": "<string>",
"cron": "<string>"
}
],
"createdAt": "<string>",
"updatedAt": "<string>",
"logoUrl": "<string>",
"metadata": {
"mainGoal": [
"<string>"
],
"salesRepCount": "<string>",
"gtmStackList": [
"<string>"
],
"referralSource": [
"<string>"
]
},
"chromeExtensionMasterAgentUuid": "<string>",
"chromeExtensionAvailableAgentUuids": [
"<string>"
],
"defaultRoleUuid": "<string>"
}
}Create a new workspace
curl --request POST \
--url https://api.getcargo.io/v1/workspaceManagement/workspaces \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"logoBase64": "<string>",
"metadata": {
"referralSource": [
"<string>"
]
}
}
'{
"workspace": {
"uuid": "<string>",
"name": "<string>",
"allowedEmailDomains": [
"<string>"
],
"temporalNamespace": "<string>",
"temporalTaskQueuePrefix": "<string>",
"openAiVectorStoreId": "<string>",
"syncs": [
{
"domain": "connection",
"temporalScheduleWorkflowId": "<string>",
"cron": "<string>"
}
],
"createdAt": "<string>",
"updatedAt": "<string>",
"logoUrl": "<string>",
"metadata": {
"mainGoal": [
"<string>"
],
"salesRepCount": "<string>",
"gtmStackList": [
"<string>"
],
"referralSource": [
"<string>"
]
},
"chromeExtensionMasterAgentUuid": "<string>",
"chromeExtensionAvailableAgentUuids": [
"<string>"
],
"defaultRoleUuid": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful response
Show child attributes
Was this page helpful?