seo
POST /v1/seo/engagements/{engagementId}/messages
Write to the SEO team on one of your SEO engagements.
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
| Name | Type | Required | What it is |
|---|---|---|---|
engagementId (path) | string | Yes | — |
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
body | string | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | — |
client_org_id | string | Yes | — |
name | string | Yes | — |
website | string | Yes | — |
state | string<active, paused> | Yes | — |
start_date | string | Yes | — |
fee_minor | integer | Yes | Monthly fee in minor units. |
currency | string | Yes | — |
keyword_count | integer | Yes | — |
onboarding_open | boolean | No | True while the customer still owes the onboarding answers for an engagement their subscription opened (getMySeoOnboarding / saveMySeoOnboarding). |
periods | object[] | Yes | — |
reports | object[] | Yes | — |
messages | object[] | No | The chat thread with the SEO team, oldest first (never says which staff member wrote). |
Errors this endpoint can return
401 · 403 · 404 · 422