/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
Subscribes a contact to a group, creating a new membership. Unlike normal subscription, a 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
userId and groupId are mandatory, but are missing or incorrect. / User with id does not exist. / Group with id does not exist.
404
Error response: {
"errorActor": "CLIENT",
"errorCode": "INVALID_REQUEST",
"message": "Not Found"
}
Was this article helpful?