seo

POST /v1/seo/engagements/{engagementId}/messages

Write to the SEO team on one of your SEO engagements.

All seo endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

Authentication

Send an API key as a bearer token. The endpoint checks sites.seo.manage; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X POST https://api.zinndigital.com/v1/seo/engagements/{engagementId}/messages \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "body": <string> }'

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

Needs sites.seo.manage in the org the engagement is linked to; anything else is a 404. The SEO team is alerted.

Parameters

NameTypeRequiredWhat it is
engagementId (path)stringYes—

Request body

NameTypeRequiredWhat it is
bodystringYes—

Response

NameTypeRequiredWhat it is
idstringYes—
client_org_idstringYes—
namestringYes—
websitestringYes—
statestring<active, paused>Yes—
start_datestringYes—
fee_minorintegerYesMonthly fee in minor units.
currencystringYes—
keyword_countintegerYes—
onboarding_openbooleanNoTrue while the customer still owes the onboarding answers for an engagement their subscription opened (getMySeoOnboarding / saveMySeoOnboarding).
periodsobject[]Yes—
reportsobject[]Yes—
messagesobject[]NoThe chat thread with the SEO team, oldest first (never says which staff member wrote).

Errors this endpoint can return

401 · 403 · 404 · 422