Use the Docswrite REST API to programmatically create and update WordPress posts from Google Docs
POST
request to the Docswrite API endpoint to create or update blog posts and pages on your WordPress site directly from Google Docs.
You can configure most parameters either in the API request body or directly in the Google Docs document itself.
docswrite_settings
. Otherwise, we won’t be able to read the table.title
parameter in the Google Docs document itself and it will be used as the title of the blog post.
429 Too Many Requests
response.
200 OK
- Request successful400 Bad Request
- Invalid parameters or missing required fields401 Unauthorized
- Invalid or missing authentication403 Forbidden
- Access denied to resource404 Not Found
- Resource not found429 Too Many Requests
- Rate limit exceeded500 Internal Server Error
- Server errorjobId
in the response that you can use to track the publishing progress.
State | Description |
---|---|
waiting | Job is in the queue waiting to be processed |
active | Job is currently being processed |
completed | Job finished successfully |
failed | Job failed with an error |
delayed | Job is scheduled to run later |