Skip to main content

WorkflowProjectInvitationAcceptResponse

errCodeintegerrequired
Constant value: 0
errMessagestringrequired
Constant value:
data objectrequired
invitation objectrequired
idstringrequired
workflowIdstringrequired
tokenstringrequired

The invitation token issued by the server, the front end uses ${origin}/invite/${token} to splice the complete link.

roleWorkflowInvitationRolerequired

Possible values: [manager, runner, viewer]

createdBystring
createdByProfile object
userIdstringrequired
displayNamestringrequired
emailstring

Optional email address for the profile summary.

avatarUrlstring

Optional avatar image URL or data URL for the uploader profile.

createdAtstring<date-time>required
expiresAtstring<date-time>required
acceptedBystring
acceptedByProfile object
userIdstringrequired
displayNamestringrequired
emailstring

Optional email address for the profile summary.

avatarUrlstring

Optional avatar image URL or data URL for the uploader profile.

acceptedAtstring<date-time>
revokedAtstring<date-time>
member objectrequired
workflowIdstringrequired
userIdstringrequired
profile object
userIdstringrequired
displayNamestringrequired
emailstring

Optional email address for the profile summary.

avatarUrlstring

Optional avatar image URL or data URL for the uploader profile.

roleWorkflowProjectRolerequired

Possible values: [owner, manager, runner, viewer]

createdBystring
createdByProfile object
userIdstringrequired
displayNamestringrequired
emailstring

Optional email address for the profile summary.

avatarUrlstring

Optional avatar image URL or data URL for the uploader profile.

createdAtstring<date-time>required
WorkflowProjectInvitationAcceptResponse
{
"errCode": 0,
"errMessage": "string",
"data": {
"invitation": {
"id": "string",
"workflowId": "string",
"token": "string",
"role": "manager",
"createdBy": "string",
"createdByProfile": {
"userId": "string",
"displayName": "string",
"email": "string",
"avatarUrl": "string"
},
"createdAt": "2024-07-29T15:51:28.071Z",
"expiresAt": "2024-07-29T15:51:28.071Z",
"acceptedBy": "string",
"acceptedByProfile": {
"userId": "string",
"displayName": "string",
"email": "string",
"avatarUrl": "string"
},
"acceptedAt": "2024-07-29T15:51:28.071Z",
"revokedAt": "2024-07-29T15:51:28.071Z"
},
"member": {
"workflowId": "string",
"userId": "string",
"profile": {
"userId": "string",
"displayName": "string",
"email": "string",
"avatarUrl": "string"
},
"role": "owner",
"createdBy": "string",
"createdByProfile": {
"userId": "string",
"displayName": "string",
"email": "string",
"avatarUrl": "string"
},
"createdAt": "2024-07-29T15:51:28.071Z"
}
}
}