Invite
Module endpoints
GET /invites
GET /invites
GET
https://api.slyk.io/invites
Returns a paginated list of invites
.
Name | Type | Example |
code |
|
|
expiredAt |
|
|
invitedEmail |
|
|
invitedUserId |
|
|
inviterUserId |
|
|
status |
|
|
type |
|
|
GET /invites/:code
GET /invites/:code
GET
https://api.slyk.io/invites/:id
Gets the invite details of the given code
.
GET /invites/:code/validate
GET /invites/:code/validate
GET
https://api.slyk.io/invites/:code/validate
Validates the invite
with the given code
.
POST /invites
POST /invites
POST
https://api.slyk.io/invites
Creates a new invite
.
Field | Type | Required | Description |
|
| Email intended for the invitation. | |
inviterUserId |
|
| User who generated the invitation. Format |
POST /invites/:code/cancel
POST /invites/:code/cancel
POST
https://api.slyk.io/invites/:code/cancel
Cancels the invite of the given code
.
POST /invites/send
POST /invites/send
POST
http://api.slyk.io/invites/send
Sends the invite
directly to the emails to who is intended.
Field | Type | Required | Description |
|
| A single or an array of emails to who is intended for invitation. | |
inviterUserId |
|
| User who generated the invitation. Format |
Last updated