DocsAPI ReferenceContact/bff/contact/consent/grant
postContactAdmin BFF

/bff/contact/consent/grant

Grants a specific consent type for a contact.

ContactpostBffContactConsentGrant

Parameters

4 body

4 total
Body · 4
idstringRequired

Contact external ID.

typestringRequired

Consent type.

sourcestring

Source of the consent grant.

notestring

Optional note about the consent.

Request

POST /bff/contact/consent/grant

post
curl -X POST "https://api.bizkithub.com/bff/contact/consent/grant" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "id": "example_id",
  "type": "newsletter",
  "source": "admin",
  "note": "example_note"
}'

Response

JSON payload

{
  "success": true
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key