The ContentBot Zapier API was developed for the sole purpose of connecting your ContentBot account with Zapier. Although you can make direct requests to this API, we highly recommend using our Zapier App instead as it simplifies usage.
The have used a REST based architecture, meaning that pathing should be intuitive and easy to understand. All data is returned as JSON with the appropriate HTTP status code depending on the output produced.
Our API accepts both GET and POST methods, depending on the desired outcome of the path. All requests require an API key, please see the authentication section for more information.
All requests require an API key, which can be obtained from within your ContentBot.ai account. Your API key should be appended to every request as a query paramater, as seen in the sample card on the right-hand side of the screen.
Before running any additional requests, you should call the /auth endpoint, as this will link your account. If this is not enabled at least once, no data will be pulled/pushed via the API.
:route
/?api_key=:apikey
We use standard HTTP response codes to indicate success or errors within the API. Codes within 2xx
range indicate success, whereas codes within the 4xx
range indicate a failure.
When an error occurs, for example a 401
(Unauthorized) status, you will still receive a response, however, it will be empty. As a result, you must evaluate the status code to determine if the request was successfult (200
).
Authorize your ContentBot for the first time, and enable the Zapier integration. This will allow you to publish a document to Zapier.
Query Parameters
string
api_key *
GET
:apikey
Fetch your most recent documents, from newest (creation) to oldest. This endpoint is used to provide dynamic documents to Zapier ID inputs. It cannot be used as a trigger at this stage.
Query Parameters
string
api_key *
int
page
GET
:apikey
Fetch documents from your publish queue, once a document is retrieved it is removed from the queue. This is used for the Publish Document
trigger on Zapier.
string
api_key *
GET
:apikey
Create or Update a document on ContentBot. This is used for the Create/Update Document
action on Zapier.
string
api_key *
int
id
string
title *
string
html *
POST
:apikey
Find a document by ID or broad title match, we'll return the closes matching document. This is used for the Find Document
action on Zapier.
string
api_key *
int
id
string
title
POST
:apikey
Fetch content from your flow publish queue, once content is retrieved it is removed from the queue. This is used for the Publish From Flow
trigger on Zapier.
string
api_key *
GET
:apikey