Opt-in provider

Create an email opt-in provider

POST https://api.mediarithmics.com/v1/consents

Request Body

NameTypeDescription

technical_name

string

Technical name for the consent

purpose

string

Default value "EMAIL_OPTIN"

name

string

Name for the consent

organisation_id

string

The organisation ID

{
    "status": "ok",
    "data": {
        "id": "string",
        "organisation_id": "string",
        "name": "string",
        "technical_name": "string",
        "purpose": "string"
    }
}

Last updated