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

Email Campaigns

Operations related to Email Campaigns, the activation tool to send emails to end users through email routers and providers, supporting email templates with custom rendering, frequency capping, and integration with Marketing Automation workflows.

Deprecated

Search email blasts

get
/email_campaigns.email_blasts
Query parameters
organisation_idinteger · int64Required

The organisation owning the campaign

automatedbooleanOptional

Campaign created within a scenario

campaign_idinteger · int64[]Optional
Responses
200

Success !

application/json
totalintegerRequired
statusstring · enumRequiredPossible values:
countintegerRequired
first_resultintegerRequired
max_resultsintegerRequired
get/email_campaigns.email_blasts
GET /v1/email_campaigns.email_blasts?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "total": 1,
  "data": [
    {
      "subject_line": "text",
      "batch_size": 0,
      "capping_period": "text",
      "id": "text",
      "reply_to": "text",
      "from_email": "text",
      "from_name": "text",
      "capping": 0,
      "number_mail_not_send": 0,
      "blast_name": "text",
      "min_period_between_shoots": "text",
      "status": "SCENARIO_ACTIVATED",
      "send_date": 0,
      "campaign_id": "text"
    }
  ],
  "status": "ok",
  "count": 1,
  "first_result": 1,
  "max_results": 1
}
Deprecated

Get campaign by id

get
/email_campaigns/{id}
Path parameters
idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/email_campaigns/{id}
GET /v1/email_campaigns/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "type": "DISPLAY",
    "time_zone": "text",
    "automated": false,
    "max_budget_period": "DAY",
    "organisation_id": "text",
    "editor_version_value": "text",
    "model_version": "V2014_06",
    "total_budget": 0,
    "status": "PENDING",
    "max_bid_price": 0,
    "id": "text",
    "max_budget_per_period": 0,
    "total_impression_capping": 0,
    "per_day_impression_capping": 0,
    "currency_code": "text",
    "start_date": 0,
    "subtype": "PROGRAMMATIC",
    "name": "text",
    "editor_version_id": "text",
    "creation_ts": 0,
    "editor_group_id": "text",
    "technical_name": "text",
    "archived": false,
    "end_date": 0,
    "editor_artifact_id": "text"
  }
}
Deprecated

update an email campaign by id

put
/email_campaigns/{id}
Path parameters
idinteger · int64Required
Body
archivedbooleanRequiredDefault: false
currency_codestringRequired
editor_version_idstringRequired
automatedbooleanRequiredDefault: false
editor_version_valuestringRequired
creation_tsinteger · int64RequiredDefault: 0
editor_group_idstringRequired
statusstring · enumRequiredPossible values:
editor_artifact_idstringRequired
idstringRead-onlyRequired
technical_namestringOptional
organisation_idstringRequired
namestringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/email_campaigns/{id}
PUT /v1/email_campaigns/{id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 267

{
  "archived": false,
  "currency_code": "text",
  "editor_version_id": "text",
  "automated": false,
  "editor_version_value": "text",
  "creation_ts": 0,
  "editor_group_id": "text",
  "status": "PENDING",
  "editor_artifact_id": "text",
  "technical_name": "text",
  "organisation_id": "text",
  "name": "text"
}
{
  "status": "ok",
  "data": {
    "type": "DISPLAY",
    "time_zone": "text",
    "automated": false,
    "max_budget_period": "DAY",
    "organisation_id": "text",
    "editor_version_value": "text",
    "model_version": "V2014_06",
    "total_budget": 0,
    "status": "PENDING",
    "max_bid_price": 0,
    "id": "text",
    "max_budget_per_period": 0,
    "total_impression_capping": 0,
    "per_day_impression_capping": 0,
    "currency_code": "text",
    "start_date": 0,
    "subtype": "PROGRAMMATIC",
    "name": "text",
    "editor_version_id": "text",
    "creation_ts": 0,
    "editor_group_id": "text",
    "technical_name": "text",
    "archived": false,
    "end_date": 0,
    "editor_artifact_id": "text"
  }
}
Deprecated

remove an email campaign by id

delete
/email_campaigns/{id}
Path parameters
idinteger · int64Required
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/email_campaigns/{id}
DELETE /v1/email_campaigns/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}
Deprecated

Search email campaigns

get
/email_campaigns
Query parameters
administration_idinteger · int64Optional

The organisation administrating the organisation owning the campaign

organisation_idinteger · int64Optional

The organisation owning the campaign

automatedbooleanOptional

Campaign created within a scenario

keywordsstringOptional

Word contained in the campaign name

archivedbooleanOptional

Retrieve archived campaigns

label_idsinteger · int64[]Optional

Campaign in the result are labeled by all labels identified by this list

order_bystring[]Optional

Fields used to order the result

first_resultinteger · int32Optional

Offset from which the search must be performed

max_resultsinteger · int32Optional

Number of maximum items that shall be return by this search

Responses
200

Success !

application/json
countintegerRequired
max_resultsintegerRequired
first_resultintegerRequired
statusstring · enumRequiredPossible values:
totalintegerRequired
get/email_campaigns
GET /v1/email_campaigns HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "count": 1,
  "max_results": 1,
  "first_result": 1,
  "data": [
    {
      "time_zone": "text",
      "automated": false,
      "max_budget_period": "DAY",
      "organisation_id": "text",
      "editor_version_value": "text",
      "model_version": "V2014_06",
      "total_budget": 0,
      "status": "PENDING",
      "max_bid_price": 0,
      "id": "text",
      "max_budget_per_period": 0,
      "total_impression_capping": 0,
      "per_day_impression_capping": 0,
      "currency_code": "text",
      "start_date": 0,
      "subtype": "PROGRAMMATIC",
      "name": "text",
      "editor_version_id": "text",
      "creation_ts": 0,
      "editor_group_id": "text",
      "technical_name": "text",
      "archived": false,
      "end_date": 0,
      "editor_artifact_id": "text"
    }
  ],
  "status": "ok",
  "total": 1
}
Deprecated

Create email campaigns

post
/email_campaigns
Body
archivedbooleanRequiredDefault: false
currency_codestringRequired
editor_version_idstringRequired
automatedbooleanRequiredDefault: false
editor_version_valuestringRequired
creation_tsinteger · int64RequiredDefault: 0
editor_group_idstringRequired
statusstring · enumRequiredPossible values:
editor_artifact_idstringRequired
idstringRead-onlyRequired
technical_namestringOptional
organisation_idstringRequired
namestringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/email_campaigns
POST /v1/email_campaigns HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 267

{
  "archived": false,
  "currency_code": "text",
  "editor_version_id": "text",
  "automated": false,
  "editor_version_value": "text",
  "creation_ts": 0,
  "editor_group_id": "text",
  "status": "PENDING",
  "editor_artifact_id": "text",
  "technical_name": "text",
  "organisation_id": "text",
  "name": "text"
}
{
  "status": "ok",
  "data": {
    "type": "DISPLAY",
    "time_zone": "text",
    "automated": false,
    "max_budget_period": "DAY",
    "organisation_id": "text",
    "editor_version_value": "text",
    "model_version": "V2014_06",
    "total_budget": 0,
    "status": "PENDING",
    "max_bid_price": 0,
    "id": "text",
    "max_budget_per_period": 0,
    "total_impression_capping": 0,
    "per_day_impression_capping": 0,
    "currency_code": "text",
    "start_date": 0,
    "subtype": "PROGRAMMATIC",
    "name": "text",
    "editor_version_id": "text",
    "creation_ts": 0,
    "editor_group_id": "text",
    "technical_name": "text",
    "archived": false,
    "end_date": 0,
    "editor_artifact_id": "text"
  }
}

Last updated

Was this helpful?