Postman Setup
Import the dopost Postman collection and start testing the API in minutes.
Import the dopost Postman collection and start testing the API in minutes.
Get up and running with Postman in under 5 minutes.
You should see a collection called dopost API v1 in the sidebar.
The collection already includes a BASE_URL variable pointing to https://dopost.co. You only need to set your API key:
API_KEY row, paste your API key in the Current value column| Variable | Initial value | Current value |
|---|---|---|
BASE_URL | https://dopost.co | https://dopost.co |
API_KEY | (empty) | Your API key |
id from the response — you'll need it nextREPLACE_WITH_ACCOUNT_ID with the account ID you copied:{
"accountId": "your_account_id",
"text": "Hello from the dopost API!",
"publishAt": null
}{
"accountId": "your_account_id",
"text": "Hello from the dopost API!",
"publishAt": null
}The collection auto-saves the jobId for the next request.
jobId is already set from the previous step| Status | Message | Solution |
|---|---|---|
401 | Invalid or missing API key | Check your API_KEY variable in the collection |
404 | Account not found | Run "List Accounts" to get valid IDs |
400 | text or media is required | Add a text field or media array |
400 | publishAt must be a future date | Use a future ISO 8601 UTC date |