POST
/
admin
/
v0
/
groups
/
{group_id}
/
members
Add a user as a member of a group
curl --request POST \
  --url https://api.tightknit.ai/admin/v0/groups/{group_id}/members \
  --header 'Authorization: Bearer <token>' \
  --header 'content-type: <content-type>' \
  --data '{
  "user": {
    "slack_user_id": "U1234567A"
  }
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

content-type
enum<string>
required
Available options:
application/json

Path Parameters

group_id
string<uuid>
required

The ID of the group

Example:

"123e4567-e89b-12d3-a456-426614174000"

Body

application/json
user
object
required

The user identifier, which must be exactly one of the following: Slack user ID, email, or Tightknit profile ID

Response

Gets a list of calendar events in the community

success
boolean
required