{
"userAppId": {},
"collaborators": [
{
"id": "string",
"app": {
"id": "string",
"name": "string",
"defaultLanguage": "string",
"defaultWorkflowId": "string",
"defaultWorkflow": {
"id": "string",
"appId": "string",
"createdAt": "2019-08-24T14:15:22Z",
"nodes": [
{
"id": "string",
"model": {},
"nodeInputs": [
{
"nodeId": "string"
}
],
"suppressOutput": true,
"outputInfoOverride": {}
}
],
"metadata": {},
"visibility": {
"gettable": "UNKNOWN_VISIBILITY"
},
"userId": "string",
"modifiedAt": "2019-08-24T14:15:22Z",
"version": {
"id": "string",
"workflowId": "string",
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"visibility": {
"gettable": "UNKNOWN_VISIBILITY"
},
"nodes": [
{
"id": "string",
"model": {},
"nodeInputs": [
{
"nodeId": "string"
}
],
"suppressOutput": true,
"outputInfoOverride": {}
}
],
"metadata": {},
"appId": "string",
"userId": "string",
"description": "string",
"license": "string"
},
"isStarred": true,
"starCount": 0,
"description": "string",
"notes": "string",
"useCases": [
"string"
],
"checkConsents": [
"string"
],
"bookmarkOrigin": {
"id": "string",
"appId": "string",
"userId": "string",
"resourceType": "unknown"
}
},
"userId": "string",
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"legalConsentStatus": 0,
"metadata": {},
"description": "string",
"sampleMs": 0,
"visibility": {
"gettable": "UNKNOWN_VISIBILITY"
},
"dataTierId": "string",
"isStarred": true,
"starCount": 0,
"notes": "string",
"image": {
"url": "string",
"base64": "string",
"allowDuplicateUrl": true,
"hosted": {
"prefix": "string",
"suffix": "string",
"sizes": [
"string"
],
"crossorigin": "string"
},
"imageInfo": {
"width": 0,
"height": 0,
"format": "string",
"colorMode": "string"
}
}
},
"user": {
"id": "string",
"primaryEmail": "string",
"firstName": "string",
"lastName": "string",
"companyName": "string",
"jobTitle": "string",
"jobRole": "string",
"billType": "string",
"createdAt": "2019-08-24T14:15:22Z",
"dateGdprConsent": "2019-08-24T14:15:22Z",
"dateTosConsent": "2019-08-24T14:15:22Z",
"dateMarketingConsent": "2019-08-24T14:15:22Z",
"datePiiConsent": "2019-08-24T14:15:22Z",
"metadata": {},
"emailAddresses": [
{
"email": "string",
"primary": true,
"verified": true
}
],
"twoFactorAuthEnabled": true,
"teamsCount": 0,
"isStarred": true,
"starCount": 0,
"visibility": {
"gettable": "UNKNOWN_VISIBILITY"
},
"userDetail": {
"primaryEmail": "string",
"billType": "string",
"dateGdprConsent": "2019-08-24T14:15:22Z",
"dateTosConsent": "2019-08-24T14:15:22Z",
"dateMarketingConsent": "2019-08-24T14:15:22Z",
"datePiiConsent": "2019-08-24T14:15:22Z",
"metadata": {},
"emailAddresses": [
{
"email": "string",
"primary": true,
"verified": true
}
],
"twoFactorAuthEnabled": true,
"teamsCount": 0,
"country": "string",
"state": "string"
}
},
"scopes": [
"string"
],
"endpoints": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"deletedAt": "2019-08-24T14:15:22Z"
}
]
}
curl --location --request POST 'http://dev-cn.your-api-server.com/v2/users//apps//collaborators' \
--header 'Content-Type: application/json' \
--data-raw '{
"userAppId": {},
"collaborators": [
{
"id": "string",
"app": {
"id": "string",
"name": "string",
"defaultLanguage": "string",
"defaultWorkflowId": "string",
"defaultWorkflow": {
"id": "string",
"appId": "string",
"createdAt": "2019-08-24T14:15:22Z",
"nodes": [
{
"id": "string",
"model": {},
"nodeInputs": [
{
"nodeId": "string"
}
],
"suppressOutput": true,
"outputInfoOverride": {}
}
],
"metadata": {},
"visibility": {
"gettable": "UNKNOWN_VISIBILITY"
},
"userId": "string",
"modifiedAt": "2019-08-24T14:15:22Z",
"version": {
"id": "string",
"workflowId": "string",
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"visibility": {
"gettable": "UNKNOWN_VISIBILITY"
},
"nodes": [
{
"id": "string",
"model": {},
"nodeInputs": [
{
"nodeId": "string"
}
],
"suppressOutput": true,
"outputInfoOverride": {}
}
],
"metadata": {},
"appId": "string",
"userId": "string",
"description": "string",
"license": "string"
},
"isStarred": true,
"starCount": 0,
"description": "string",
"notes": "string",
"useCases": [
"string"
],
"checkConsents": [
"string"
],
"bookmarkOrigin": {
"id": "string",
"appId": "string",
"userId": "string",
"resourceType": "unknown"
}
},
"userId": "string",
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"legalConsentStatus": 0,
"metadata": {},
"description": "string",
"sampleMs": 0,
"visibility": {
"gettable": "UNKNOWN_VISIBILITY"
},
"dataTierId": "string",
"isStarred": true,
"starCount": 0,
"notes": "string",
"image": {
"url": "string",
"base64": "string",
"allowDuplicateUrl": true,
"hosted": {
"prefix": "string",
"suffix": "string",
"sizes": [
"string"
],
"crossorigin": "string"
},
"imageInfo": {
"width": 0,
"height": 0,
"format": "string",
"colorMode": "string"
}
}
},
"user": {
"id": "string",
"primaryEmail": "string",
"firstName": "string",
"lastName": "string",
"companyName": "string",
"jobTitle": "string",
"jobRole": "string",
"billType": "string",
"createdAt": "2019-08-24T14:15:22Z",
"dateGdprConsent": "2019-08-24T14:15:22Z",
"dateTosConsent": "2019-08-24T14:15:22Z",
"dateMarketingConsent": "2019-08-24T14:15:22Z",
"datePiiConsent": "2019-08-24T14:15:22Z",
"metadata": {},
"emailAddresses": [
{
"email": "string",
"primary": true,
"verified": true
}
],
"twoFactorAuthEnabled": true,
"teamsCount": 0,
"isStarred": true,
"starCount": 0,
"visibility": {
"gettable": "UNKNOWN_VISIBILITY"
},
"userDetail": {
"primaryEmail": "string",
"billType": "string",
"dateGdprConsent": "2019-08-24T14:15:22Z",
"dateTosConsent": "2019-08-24T14:15:22Z",
"dateMarketingConsent": "2019-08-24T14:15:22Z",
"datePiiConsent": "2019-08-24T14:15:22Z",
"metadata": {},
"emailAddresses": [
{
"email": "string",
"primary": true,
"verified": true
}
],
"twoFactorAuthEnabled": true,
"teamsCount": 0,
"country": "string",
"state": "string"
}
},
"scopes": [
"string"
],
"endpoints": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"deletedAt": "2019-08-24T14:15:22Z"
}
]
}'
{
"status": {
"code": {},
"description": "string",
"details": "string",
"stackTrace": [
"string"
],
"percentCompleted": 0,
"timeRemaining": 0,
"reqId": "string",
"internalDetails": "string",
"redirectInfo": {
"url": "string",
"resourceType": "string",
"oldResourceId": "string",
"newResourceId": "string"
}
},
"collaborators": [
{
"id": "string",
"app": {
"id": "string",
"name": "string",
"defaultLanguage": "string",
"defaultWorkflowId": "string",
"defaultWorkflow": {
"id": "string",
"appId": "string",
"createdAt": "2019-08-24T14:15:22Z",
"nodes": [
{
"id": "string",
"model": {},
"nodeInputs": [
{
"nodeId": "string"
}
],
"suppressOutput": true,
"outputInfoOverride": {}
}
],
"metadata": {},
"visibility": {
"gettable": "UNKNOWN_VISIBILITY"
},
"userId": "string",
"modifiedAt": "2019-08-24T14:15:22Z",
"version": {
"id": "string",
"workflowId": "string",
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"visibility": {
"gettable": "UNKNOWN_VISIBILITY"
},
"nodes": [
{
"id": "string",
"model": {},
"nodeInputs": [
{
"nodeId": "string"
}
],
"suppressOutput": true,
"outputInfoOverride": {}
}
],
"metadata": {},
"appId": "string",
"userId": "string",
"description": "string",
"license": "string"
},
"isStarred": true,
"starCount": 0,
"description": "string",
"notes": "string",
"useCases": [
"string"
],
"checkConsents": [
"string"
],
"bookmarkOrigin": {
"id": "string",
"appId": "string",
"userId": "string",
"resourceType": "unknown"
}
},
"userId": "string",
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"legalConsentStatus": 0,
"metadata": {},
"description": "string",
"sampleMs": 0,
"visibility": {
"gettable": "UNKNOWN_VISIBILITY"
},
"dataTierId": "string",
"isStarred": true,
"starCount": 0,
"notes": "string",
"image": {
"url": "string",
"base64": "string",
"allowDuplicateUrl": true,
"hosted": {
"prefix": "string",
"suffix": "string",
"sizes": [
"string"
],
"crossorigin": "string"
},
"imageInfo": {
"width": 0,
"height": 0,
"format": "string",
"colorMode": "string"
}
}
},
"user": {
"id": "string",
"primaryEmail": "string",
"firstName": "string",
"lastName": "string",
"companyName": "string",
"jobTitle": "string",
"jobRole": "string",
"billType": "string",
"createdAt": "2019-08-24T14:15:22Z",
"dateGdprConsent": "2019-08-24T14:15:22Z",
"dateTosConsent": "2019-08-24T14:15:22Z",
"dateMarketingConsent": "2019-08-24T14:15:22Z",
"datePiiConsent": "2019-08-24T14:15:22Z",
"metadata": {},
"emailAddresses": [
{
"email": "string",
"primary": true,
"verified": true
}
],
"twoFactorAuthEnabled": true,
"teamsCount": 0,
"isStarred": true,
"starCount": 0,
"visibility": {
"gettable": "UNKNOWN_VISIBILITY"
},
"userDetail": {
"primaryEmail": "string",
"billType": "string",
"dateGdprConsent": "2019-08-24T14:15:22Z",
"dateTosConsent": "2019-08-24T14:15:22Z",
"dateMarketingConsent": "2019-08-24T14:15:22Z",
"datePiiConsent": "2019-08-24T14:15:22Z",
"metadata": {},
"emailAddresses": [
{
"email": "string",
"primary": true,
"verified": true
}
],
"twoFactorAuthEnabled": true,
"teamsCount": 0,
"country": "string",
"state": "string"
}
},
"scopes": [
"string"
],
"endpoints": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"deletedAt": "2019-08-24T14:15:22Z"
}
]
}