For the complete documentation index, see llms.txt. This page is also available as Markdown.

Email Consents

Operations related to Email Consents in Email Campaign

Deprecated

Find email consent selections

get
/email_campaigns/{campaign_id}/email_blasts/{blast_id}/email_consents
Path parameters
campaign_idinteger · int64Required

The id of the campaign from which to get the email consent selections

blast_idinteger · int64Required

The id of the campaign blast from which to get the email consent selections

Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
max_resultsintegerRequired
countintegerRequired
first_resultintegerRequired
totalintegerRequired
get/email_campaigns/{campaign_id}/email_blasts/{blast_id}/email_consents
GET /v1/email_campaigns/{campaign_id}/email_blasts/{blast_id}/email_consents HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": [
    {
      "id": "text",
      "name": "text",
      "technical_name": "text",
      "consent_id": "text"
    }
  ],
  "max_results": 1,
  "count": 1,
  "first_result": 1,
  "total": 1
}
Deprecated

Create email consent selection

post
/email_campaigns/{campaign_id}/email_blasts/{blast_id}/email_consents
Path parameters
campaign_idinteger · int64Required

The id of the campaign from which to create the email consent selection

blast_idinteger · int64Required

The id of the campaign blast from which to create the email consent selection

Body
idstringRead-onlyRequired
namestringRead-onlyRequired
technical_namestringRead-onlyRequired
consent_idstringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/email_campaigns/{campaign_id}/email_blasts/{blast_id}/email_consents
POST /v1/email_campaigns/{campaign_id}/email_blasts/{blast_id}/email_consents HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "consent_id": "text"
}
{
  "status": "ok",
  "data": {
    "id": "text",
    "name": "text",
    "technical_name": "text",
    "consent_id": "text"
  }
}
Deprecated
get
/email_campaigns/{campaign_id}/email_blasts/{blast_id}/email_consents/{consent_id}
Path parameters
campaign_idinteger · int64Required

The id of the campaign from which to create the email consent selection

blast_idinteger · int64Required

The id of the campaign blast from which to create the email consent selection

consent_idinteger · int64Required

The id of specific email consent selection you want to access

Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/email_campaigns/{campaign_id}/email_blasts/{blast_id}/email_consents/{consent_id}
GET /v1/email_campaigns/{campaign_id}/email_blasts/{blast_id}/email_consents/{consent_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "id": "text",
    "name": "text",
    "technical_name": "text",
    "consent_id": "text"
  }
}
Deprecated
delete
/email_campaigns/{campaign_id}/email_blasts/{blast_id}/email_consents/{consent_id}
Path parameters
campaign_idinteger · int64Required

The id of the campaign from which to create the email consent selection

blast_idinteger · int64Required

The id of the campaign blast from which to create the email consent selection

consent_idinteger · int64Required

The id of specific email consent selection you want to access

Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/email_campaigns/{campaign_id}/email_blasts/{blast_id}/email_consents/{consent_id}
DELETE /v1/email_campaigns/{campaign_id}/email_blasts/{blast_id}/email_consents/{consent_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Last updated

Was this helpful?