Invites
Create an invite
post/invites.json
Headers
Api-Keystring required
Api-Usernamestring required
Request body
Example request
{
"email": "not-a-user-yet@example.com",
"max_redemptions_allowed": 5,
"group_ids": "42,43",
"group_names": "foo,bar"
}Response
success response
Example response
{
"id": 42,
"link": "http://example.com/invites/9045fd767efe201ca60c6658bcf14158",
"email": "not-a-user-yet@example.com",
"custom_message": "Hello world!",
"created_at": "2021-01-01T12:00:00.000Z",
"updated_at": "2021-01-01T12:00:00.000Z",
"expires_at": "2021-02-01T12:00:00.000Z",
"topics": [],
"groups": []
}