/membership/create
- 1 Minute to read
- Print
- DarkLight
/membership/create
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
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": []
}
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?