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

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring