Skip to Content
EquinoxAPI and integrationsPublic M2M APIPublic M2M API — marketing

Public M2M API — marketing

Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.

Authentication and permissions · Requests, results and recovery

/api/v1/marketing/campaigns

Exported methods: GET, POST

GET

  • Resource scopes: marketing:read
  • Query parameters: includeLists, limit, page, status
  • Shared pagination: Yes

POST

  • Resource scopes: marketing:write
  • Explicit response statuses: 201, 400, 409, 422
  • Explicit error codes: create_failed, invalid_request, onboarding_incomplete
  • Response keys observed across outcomes: campaign, list

This source snapshot imports CreateContactListSchema / CreateCampaignSchema from a module that does not resolve or does not export it. The request payload and a working operation cannot be verified from this handler until the source contract is repaired; do not infer fields from a similarly named schema.

/api/v1/marketing/campaigns/{id}

Exported methods: GET, PATCH, DELETE

GET

  • Resource scopes: marketing:read
  • Path parameters: id
  • Explicit response statuses: 404
  • Explicit error codes: not_found
  • Response keys observed across outcomes: campaign

PATCH

  • Resource scopes: marketing:write
  • Path parameters: id
  • Explicit response statuses: 404, 422
  • Explicit error codes: invalid_request, not_found
  • Response keys observed across outcomes: campaign

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
budgetnumberYesYes—min(0)
contentstringYesYes——
descriptionstringYesYes—max(1000)
endDatestringYesYes——
namestringYesNo—min(1), max(200)
startDatestringYesYes——
statusenumYesNoDRAFT, SCHEDULED, ACTIVE, PAUSED, COMPLETED, CANCELLED—
subjectstringYesYes—max(300)
typeenumYesNoEMAIL, SMS, SOCIAL, EVENT, ADS, OTHER—

DELETE

  • Resource scopes: marketing:write
  • Path parameters: id
  • Explicit response statuses: 404
  • Explicit error codes: not_found
  • Response keys observed across outcomes: deleted, id

Request input was not extracted for this operation; consult its specific contract before sending. Do not infer that no body is required.