Params

Param name Description
data
required

Corporate email campaign information

Validations:

  • Must be a Hash

data[type]
required

Validations:

data[attributes]
required

Validations:

  • Must be a Hash

data[attributes][title]
required

Validations:

  • Must be a String

data[attributes][subject]
required

Validations:

  • Must be a String

data[attributes][content]
required

Validations:

  • Must be a String

data[attributes][status]
required

Validations:

  • Must be a String

data[relationships]
required

Validations:

  • Must be a Hash

data[relationships][entity]
required

Validations:

  • Must be a Hash

data[relationships][entity][data]
required

Validations:

  • Must be a Hash

data[relationships][entity][data][type]
required

Validations:

data[relationships][entity][data][id]
required

Entity ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.

data[relationships][contact_lists]
required

Validations:

  • Must be an Array of nested elements

data[relationships][contact_lists][data]
required

Validations:

  • Must be an Array of nested elements

data[relationships][contact_lists][data][type]
required

Validations:

data[relationships][contact_lists][data][id]
required

Contact List ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.