Welcome to the MarbleCMS API.
api.marblecms.com
domain. All data is sent and received as JSON.
The structure of a request is: https://api.marblecms.com/v1/:workspaceId/:resource
cm6ytuq9x0000i803v0isidst
. You can use this ID to make live API requests and see real responses without needing an account.
For example, to get all posts from the example workspace:
cm6ytuq9x0000i803v0isidst
) does not require
authentication. When you are ready to use your own workspace, you will need to
use API key authentication.YYYY-MM-DDTHH:MM:SSZ
.
To authorize, use this code:
Make sure to replaceWhen you’re ready to use your own workspace, MarbleCMS authenticates your API requests using your account’s API keys. If you do not include your key when making an API request, or use one that is incorrect or outdated, MarbleCMS returns an error. Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.YOUR_WORKSPACE_ID
andYOUR_API_KEY
with your credentials.