PUT
/
me
/
groups
/
{group}
/
invites
/
{invite}
curl --request PUT \
  --url https://api.rownd.io/me/groups/{group}/invites/{invite} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "roles": [
    "editor"
  ],
  "email": "randy@foo.com",
  "phone": 19199993333,
  "user_id": "user_mni5316glfgwtgljboxrv2it",
  "redirect_url": "/somewhere/on/my/site#",
  "app_variant_id": "<string>"
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token> where <token> is the user's Rownd JWT

Path Parameters

group
string
required

Group ID

invite
string
required

Group Invite ID

Body

application/json
roles
string[]
required

The roles into which a group member will be added upon invite acceptance (The first member invited to a group will always be created with the 'owner' role along with any additional roles specified)

Example:
["editor"]
email
string

The email of a Rownd user in the specified application. This property is mutually exclusive with user_id and email

Example:

"randy@foo.com"

phone
string

The phone number of a Rownd user in the specified application. This property is mutually exclusive with user_id and email

Example:

19199993333

user_id
string

The ID of a Rownd user in the specified application. This property is mutually exclusive with phone and email

Example:

"user_mni5316glfgwtgljboxrv2it"

redirect_url
string

The relative or absolute path location to which a user will be directed after accepting the invite

Example:

"/somewhere/on/my/site#"

app_variant_id
string

The ID of an application variant for which this invite should be created. When a user accepts this invite, they will be added to the group as a member and signed into this application variant. (Learn about variants here)