# Record a client's marketing consent **PUT /api/v1/account/{account_uuid}/marketing-consent** Records one decision per channel supplied. Every call appends to the history; nothing is overwritten. Portal users are always recorded with the client_portal method at the current time. ## Servers - https://api.plannrcrm.com: https://api.plannrcrm.com () ## Authentication methods - Personal access token & O auth2 ## Parameters ### Headers - **X-PLANNR-ACCOUNT-UUID** (string) ### Path parameters - **account_uuid** (string) The UUID of the client account. ### Body: application/json (object) - **consents** (array[object]) One decision per channel. Saving the same channel twice records both; the later entry wins. ## Responses ### 200 #### Body: application/json (object) - **email** (string) Marketing consent status for email. One of not_captured, opted_in and opted_out - **phone** (string) Marketing consent status for phone. One of not_captured, opted_in and opted_out - **letter** (string) Marketing consent status for letter. One of not_captured, opted_in and opted_out - **sms** (string) Marketing consent status for SMS. One of not_captured, opted_in and opted_out ### 400 Account is not a client #### Body: application/json (object) - **message** (string) A human-readable description of the error. ### 422 Validation error #### Body: application/json (object) - **message** (string) A human-readable description of the error. - **errors** (object) Validation messages keyed by the field that failed. [Powered by Bump.sh](https://bump.sh)