WorkflowProjectInvitation
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>
WorkflowProjectInvitation
{
"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"
}