Syndai Docs

Answer a question people ask

POST
/api/v1/external/coding/customers/{customer_id}/seo/sites/{site_id}/questions/{key}/answer

The owner's one-line answer (text, 1-500 characters) to a question their site doesn't answer. Syndai writes the site's answer from it the next day, citing it, and never invents anything beyond it. Returns the What people ask section. An answered question is 409. Needs coding:apps:publish; a portal member who is not an owner or admin is 403.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid
site_id*string
Formatuuid
key*string

Request Body

application/json
  1. body
text*string
Length1 <= length <= 500

Response Body

Request fulfilled, document follows

application/json
  1. response
autopilot*boolean
no_website*boolean
pages?array<>
questions*array<>
topics*array<string>
Example Request
curl -X POST 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/seo/sites/497f6eca-6276-4993-bfeb-53cbbbba6f08/questions/string/answer' \  -H 'Content-Type: application/json' \  -d '{  "text": "string"}'
Example Response
{  "autopilot": true,  "no_website": true,  "pages": [    {      "impressions": 0,      "impressions_before": 0,      "path": "string",      "topic": "string"    }  ],  "questions": [    {      "answer": "string",      "impressions": 0,      "key": "string",      "sources": [        "string"      ],      "state": "string",      "text": "string",      "topic": "string",      "undo_commit": "string",      "url": "string"    }  ],  "topics": [    "string"  ]}
Was this page helpful?