/membership/create
  • 1 Minute to read
  • Dark
    Light

/membership/create

  • Dark
    Light

Article summary

Get
/membership/create

Creates a new membership (meaning the user is subscribed to a group). This call differs from subscribing, in that notification is not sent.

Query parameters
userId
integer (int64) Required

ID of the user.

groupId
integer (int64) Required

ID of the group.

Responses
200

Example response:
{
"userId": 18076325029,
"groupId": 1800116178,
"attributes": []
}

Expand All
object
userId
integer (int64)
groupId
integer (int64)
attributes
Array of object (Attribute)
object
name
string
value
string
400
404

Error response: {
"errorActor": "CLIENT",
"errorCode": "INVALID_REQUEST",
"message": "Not Found"
}


Was this article helpful?