Skip to main content
Create group membership

Authorizations

Authorization
string
header
required

A Tightknit admin API key, sent as Authorization: Bearer <key>.

Body

application/json
group_id
string
required

The unique id of the group to add the member to, starting with grup_. Returned as id by GET /v1/groups.

Pattern: ^grup_[a-zA-Z0-9]{12}$
profile_id
string
required

The unique id of the member to add, starting with prof_. Returned as id by GET /v1/profiles; to look one up, filter that list by email or slack_profile_id.

Pattern: ^prof_[a-zA-Z0-9]{12}$

Response

Success

object
enum<string>
required

Always group_membership.

Available options:
group_membership
id
string
required

Unique identifier for the object.

Example:

"gmem_4k8p2n6x1vqz"

created_at
string<date-time>
required

When the object was created.

group_id
string
required

The id of the group.

Example:

"grup_7m3x9k4t8plz"

profile_id
string
required

The id of the member’s profile.

Example:

"prof_9f2b8c1d4e5a"

group
object | null

The group. Present only when group is expanded.

profile
object | null

The member’s profile. Present only when profile is expanded.