POST
/
applications
/
{app}
/
groups
/
{group}
/
members

Authorizations

x-rownd-app-key
string
headerrequired

The publishable key of your application credentials. (more details)

x-rownd-app-secret
string
headerrequired

The private secret of your application credentials. (more details)

Path Parameters

app
string
required

Rownd application ID

group
string
required

Group ID

Body

application/json
user_id
string
required

The ID of a user to add as a group member. The user must belong to the Rownd application.

roles
string[]
required

The roles that the member belongs. (The first member added or invited to a group will always be created with the 'owner' role along with any additional roles specified)

state
enum<string>

The state of the group member. A member that has been invited will not go into the active state until they accept the invitation.

Available options:
active,
invite_pending,
invite_rejected
profile
any

User profile data

Response

200 - application/json
user_id
string
required

The ID of a user to add as a group member. The user must belong to the Rownd application.

roles
string[]
required

The roles that the member belongs. (The first member added or invited to a group will always be created with the 'owner' role along with any additional roles specified)

id
string

The group member ID

state
enum<string>

The state of the group member. A member that has been invited will not go into the active state until they accept the invitation.

Available options:
active,
invite_pending,
invite_rejected
invited_by
string

The authenticated party that invited the user to the group

added_by
string

The authenticated party that added the user to the gruop

profile
any

User profile data

group_id
string

The group ID