Add or update consent
POST https://{{contactPolicyBaseURL}}/v1/groups/:groupId/members
Use this method to add or update consent details in the specified group.
Request Body
{"address"=>"", "channel"=>"text/email/voice/whatsapp", "consent"=>"true/false", "reason"=>"", "expires"=>"", "metadata"=>{"keyword"=>"", "campaign"=>"", "source"=>"", "messageBody"=>""}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |