Stormz

Developer


Invitations

List workshop’s invitations

GET /v1/workshops/:workshop_id/invitations

Response

200 OK
[
  {
    "id": "5007d396eb7abf319a000047",
    "email": "foo@example.org",
    "state": "pending"
  }
]
State

The state can be either pending or accepted.

Send an invitation email

To invite someone in the workshop with a one-time link.

POST /v1/workshops/:workshop_id/invitations

Parameters

Name Type Description
emails string Required one or more emails separated by a comma
content string Required a message to be send

Response

201 Created
[
  {
    "id": "5007d396eb7abf319a000047",
    "email": "foo@example.org",
    "state": "pending"
  }
]

Resend an invitation email

POST /v1/workshops/:workshop_id/invitations/:id/resend

Response

204 No Content

Delete an invitation

To invalidate or cleanup the list of invitations.

DELETE /v1/workshops/:workshop_id/invitations/:id

Response

204 No Content