POST
/
applications
/
{app}
/
groups
/
{group}
/
members
curl --request POST \
  --url https://api.rownd.io/applications/{app}/groups/{group}/members \
  --header 'Content-Type: application/json' \
  --header 'x-rownd-app-key: <api-key>' \
  --header 'x-rownd-app-secret: <api-key>' \
  --data '{
  "user_id": "user_fbylaq38591cghym5pabupj2",
  "roles": [
    "owner",
    "editor"
  ],
  "state": "active"
}'
{
  "id": "member_dnn5g4e3q6aptail2gr43kpj",
  "user_id": "user_fbylaq38591cghym5pabupj2",
  "roles": [
    "owner",
    "editor"
  ],
  "state": "active",
  "invited_by": "<string>",
  "added_by": "<string>",
  "profile": {
    "user_id": "user_a7b53gwdaml5jt7t71442nt7",
    "email": "gary@foo.com",
    "first_name": "Gary",
    "last_name": "Jackson"
  },
  "group_id": "group_ig42thhwf4cig25o7t9jtlyu"
}

Authorizations

x-rownd-app-key
string
header
required

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

x-rownd-app-secret
string
header
required

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

Response

200 - application/json
Group member created successfully

The response is of type object.