Invite

Create email invites

POST
http://localhost:3000/api/invite/emails

Body

application/json
tenantobject
tenantIdstring
organizationobjectrequired
organizationIdstringrequired
sentTostring
emailIdsArray<string>required
teamIdsArray<string>
inviteTypestringUSEREMPLOYEECANDIDATETEAMrequired
startedWorkOnstring<date-time>
invitationExpirationPeriodstring171430Never
fullNamestring
callbackUrlstring
roleIdstringrequired
roleobjectrequired

Role reference: an object with the role id (UUID).

Response

201CreatedInvite

The record has been successfully created.

Response fields application/json
deletedAtstring<date-time>
Example
2018-11-21T06:20:32.232Z
createdAtstring<date-time>

The creation timestamp of the entity.

Example
2018-11-21T06:20:32.232Z
updatedAtstring<date-time>

The last update timestamp of the entity.

Example
2018-11-21T06:20:32.232Z
idstring
isActivebooleantrue
isArchivedbooleanfalse
archivedAtstring<date-time>
Example
2018-11-21T06:20:32.232Z
tenantIdstring
organizationIdstring
tokenstringrequired
emailstringrequired
fullNamestring
statusstringINVITEDACCEPTEDEXPIREDREJECTEDrequired
expireDatestring<date-time>
actionDatestring<date-time>
roleRole
Show child attributes
deletedAtstring<date-time>
Example
2018-11-21T06:20:32.232Z
createdAtstring<date-time>

The creation timestamp of the entity.

Example
2018-11-21T06:20:32.232Z
updatedAtstring<date-time>

The last update timestamp of the entity.

Example
2018-11-21T06:20:32.232Z
idstring
isActivebooleantrue
isArchivedbooleanfalse
archivedAtstring<date-time>
Example
2018-11-21T06:20:32.232Z
tenantIdstring
namestringSUPER_ADMINADMINDATA_ENTRYEMPLOYEECANDIDATEMANAGERVIEWERINTERVIEWERrequired
isSystembooleanfalse
roleIdstring
userIdstring
400Bad Request

Invalid input, The response body may contain clues as to what went wrong

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey