Introduction
Documentation for the ContentMate mobile app API.
This documentation aims to provide all the information you need to work with our API.
<aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile).
You can switch the language used with the tabs at the top right (or from the nav menu at the top left on mobile).</aside>
Authenticating requests
This API is not authenticated.
Endpoints
POST api/v1/mobile/auth/login
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/auth/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"gbailey@example.net\",
\"password\": \"|]|{+-\",
\"device_name\": \"v\",
\"two_factor_code\": \"architecto\",
\"recovery_code\": \"architecto\"
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/auth/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "gbailey@example.net",
"password": "|]|{+-",
"device_name": "v",
"two_factor_code": "architecto",
"recovery_code": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/mobile/auth/register
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/auth/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"email\": \"zbailey@example.net\",
\"password\": \"-0pBNvYgxw\",
\"device_name\": \"a\"
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/auth/register"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"email": "zbailey@example.net",
"password": "-0pBNvYgxw",
"device_name": "a"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/mobile/auth/forgot-password
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/auth/forgot-password" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"gbailey@example.net\"
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/auth/forgot-password"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "gbailey@example.net"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/mobile/auth/reset-password
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/auth/reset-password" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"token\": \"architecto\",
\"email\": \"zbailey@example.net\",
\"password\": \"-0pBNvYgxw\"
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/auth/reset-password"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"token": "architecto",
"email": "zbailey@example.net",
"password": "-0pBNvYgxw"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/mobile/auth/logout
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/auth/logout" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/auth/logout"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/me
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/me" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/me"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/teams/current
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/teams/current" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/teams/current"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/mobile/teams/current
Example request:
curl --request PUT \
"https://app.contentmate.co.uk/api/v1/mobile/teams/current" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"brand_voice_prompt\": \"n\"
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/teams/current"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"brand_voice_prompt": "n"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/teams/dashboard
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/teams/dashboard" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/teams/dashboard"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/mobile/teams/{team_id}/switch
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/teams/2/switch" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/teams/2/switch"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/posts
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/posts" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/posts"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/mobile/posts
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/posts" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"b\",
\"brief\": \"n\",
\"site_id\": 16,
\"status\": \"draft\",
\"scheduled_at\": \"2026-09-05T01:46:49\"
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/posts"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": "b",
"brief": "n",
"site_id": 16,
"status": "draft",
"scheduled_at": "2026-09-05T01:46:49"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/posts/{post_id}
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/posts/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/posts/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/mobile/posts/{post_id}
Example request:
curl --request PUT \
"https://app.contentmate.co.uk/api/v1/mobile/posts/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"b\",
\"brief\": \"n\",
\"content_html\": \"architecto\",
\"status\": \"draft\",
\"scheduled_at\": \"2026-09-05T01:46:49\",
\"site_id\": 16
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/posts/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": "b",
"brief": "n",
"content_html": "architecto",
"status": "draft",
"scheduled_at": "2026-09-05T01:46:49",
"site_id": 16
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/mobile/posts/{post_id}
Example request:
curl --request DELETE \
"https://app.contentmate.co.uk/api/v1/mobile/posts/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/posts/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/mobile/posts/{post_id}/approve
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/posts/16/approve" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/posts/16/approve"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/mobile/posts/{post_id}/generate
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/posts/16/generate" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/posts/16/generate"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/sites
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/sites" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/sites"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/mobile/sites
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/sites" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"managed\",
\"base_url\": \"http:\\/\\/www.bailey.biz\\/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html\"
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/sites"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"type": "managed",
"base_url": "http:\/\/www.bailey.biz\/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/sites/{id}
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/sites/2" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/sites/2"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/mobile/sites/{id}
Example request:
curl --request PUT \
"https://app.contentmate.co.uk/api/v1/mobile/sites/2" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"base_url\": \"http:\\/\\/www.bailey.biz\\/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html\",
\"status\": \"active\",
\"cookie_consent_enabled\": true
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/sites/2"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"base_url": "http:\/\/www.bailey.biz\/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html",
"status": "active",
"cookie_consent_enabled": true
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/mobile/sites/{id}
Example request:
curl --request DELETE \
"https://app.contentmate.co.uk/api/v1/mobile/sites/2" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/sites/2"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/social/accounts
GET api/v1/mobile/social/posts
POST api/v1/mobile/social/posts
GET api/v1/mobile/social/posts/{socialPost_id}
DELETE api/v1/mobile/social/posts/{socialPost_id}
GET api/v1/mobile/newsletters
POST api/v1/mobile/newsletters
GET api/v1/mobile/newsletters/{newsletter_id}
PUT api/v1/mobile/newsletters/{newsletter_id}
DELETE api/v1/mobile/newsletters/{newsletter_id}
GET api/v1/mobile/newsletter-subscribers
POST api/v1/mobile/newsletter-subscribers
DELETE api/v1/mobile/newsletter-subscribers/{subscriber_id}
GET api/v1/mobile/reviews
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/reviews" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/reviews"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/reviews/{review_id}
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/reviews/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/reviews/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/external-reviews
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/external-reviews" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/external-reviews"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/external-reviews/{externalReview_id}
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/external-reviews/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/external-reviews/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Dispatch the AI reply generator for an ExternalReview (Google / Trustpilot etc). Internal customer-feedback Reviews don't get AI replies — the customer is solicited directly via the survey flow.
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/external-reviews/16/ai-reply" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/external-reviews/16/ai-reply"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/products
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/products" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/products"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/mobile/products
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/products" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"site_id\": 16,
\"name\": \"n\",
\"description\": \"Eius et animi quos velit et.\",
\"price\": 60,
\"url\": \"http:\\/\\/www.dach.com\\/mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html\",
\"image_url\": \"http:\\/\\/swift.com\\/quidem-nostrum-qui-commodi-incidunt-iure-odit.html\",
\"target_audience\": \"architecto\"
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/products"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"site_id": 16,
"name": "n",
"description": "Eius et animi quos velit et.",
"price": 60,
"url": "http:\/\/www.dach.com\/mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html",
"image_url": "http:\/\/swift.com\/quidem-nostrum-qui-commodi-incidunt-iure-odit.html",
"target_audience": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/products/{product_id}
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/products/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/products/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/mobile/products/{product_id}
Example request:
curl --request PUT \
"https://app.contentmate.co.uk/api/v1/mobile/products/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"description\": \"Eius et animi quos velit et.\",
\"price\": 60,
\"url\": \"http:\\/\\/www.dach.com\\/mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html\",
\"image_url\": \"http:\\/\\/swift.com\\/quidem-nostrum-qui-commodi-incidunt-iure-odit.html\",
\"target_audience\": \"architecto\"
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/products/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"description": "Eius et animi quos velit et.",
"price": 60,
"url": "http:\/\/www.dach.com\/mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html",
"image_url": "http:\/\/swift.com\/quidem-nostrum-qui-commodi-incidunt-iure-odit.html",
"target_audience": "architecto"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/mobile/products/{product_id}
Example request:
curl --request DELETE \
"https://app.contentmate.co.uk/api/v1/mobile/products/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/products/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/mobile/products/{product_id}/campaigns
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/products/16/campaigns" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"platform\": \"google\"
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/products/16/campaigns"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"platform": "google"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/product-campaigns
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/product-campaigns" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/product-campaigns"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/product-campaigns/{campaign_id}
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/product-campaigns/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/product-campaigns/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/outreach/campaigns
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/outreach/campaigns" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/outreach/campaigns"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/mobile/outreach/campaigns
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/outreach/campaigns" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"description\": \"Et animi quos velit et fugiat.\"
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/outreach/campaigns"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"description": "Et animi quos velit et fugiat."
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/outreach/campaigns/{campaign_id}
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/outreach/campaigns/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/outreach/campaigns/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/mobile/outreach/campaigns/{campaign_id}
Example request:
curl --request DELETE \
"https://app.contentmate.co.uk/api/v1/mobile/outreach/campaigns/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/outreach/campaigns/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/outreach/campaigns/{campaign_id}/targets
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/outreach/campaigns/16/targets" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"excluded\"
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/outreach/campaigns/16/targets"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"status": "excluded"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/outreach/targets/{target_id}
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/outreach/targets/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/outreach/targets/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/mobile/outreach/targets/{target_id}/send
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/outreach/targets/16/send" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/outreach/targets/16/send"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/mobile/outreach/targets/{target_id}/reply
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/outreach/targets/16/reply" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reply_content\": \"architecto\"
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/outreach/targets/16/reply"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"reply_content": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/chat-widgets
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/chat-widgets" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/chat-widgets"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/mobile/chat-widgets
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/chat-widgets" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"welcome_message\": \"n\",
\"placeholder\": \"g\",
\"primary_color\": \"zmiyvdl\",
\"allowed_domains\": [
\"j\"
],
\"is_active\": false
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/chat-widgets"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"welcome_message": "n",
"placeholder": "g",
"primary_color": "zmiyvdl",
"allowed_domains": [
"j"
],
"is_active": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/chat-widgets/{id}
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/chat-widgets/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/chat-widgets/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/mobile/chat-widgets/{id}
Example request:
curl --request PUT \
"https://app.contentmate.co.uk/api/v1/mobile/chat-widgets/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"welcome_message\": \"n\",
\"placeholder\": \"g\",
\"primary_color\": \"zmiyvdl\",
\"is_active\": false
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/chat-widgets/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"welcome_message": "n",
"placeholder": "g",
"primary_color": "zmiyvdl",
"is_active": false
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/mobile/chat-widgets/{id}
Example request:
curl --request DELETE \
"https://app.contentmate.co.uk/api/v1/mobile/chat-widgets/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/chat-widgets/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/chat-widgets/{chatWidget_id}/sessions
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/chat-widgets/16/sessions" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/chat-widgets/16/sessions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/context-items
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/context-items" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/context-items"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/mobile/context-items
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/context-items" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"url\": \"http:\\/\\/www.bailey.biz\\/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html\",
\"title\": \"i\",
\"content_summary\": \"architecto\",
\"type\": \"n\",
\"site_id\": 16
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/context-items"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"url": "http:\/\/www.bailey.biz\/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html",
"title": "i",
"content_summary": "architecto",
"type": "n",
"site_id": 16
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/context-items/{id}
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/context-items/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/context-items/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/mobile/context-items/{id}
Example request:
curl --request PUT \
"https://app.contentmate.co.uk/api/v1/mobile/context-items/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"b\",
\"content_summary\": \"architecto\",
\"type\": \"n\"
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/context-items/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": "b",
"content_summary": "architecto",
"type": "n"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/mobile/context-items/{id}
Example request:
curl --request DELETE \
"https://app.contentmate.co.uk/api/v1/mobile/context-items/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/context-items/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/billing/plan
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/billing/plan" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/billing/plan"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/mobile/billing/portal
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/billing/portal" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/billing/portal"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/mobile/billing/ai-usage
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/billing/ai-usage" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/billing/ai-usage"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Return the current team's live (or most-recent) website provision.
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/website" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/website"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update editable business details and/or social links.
Changes take effect on the next rebuild; a rebuild is triggered automatically if the site is live (or has been built before).
Example request:
curl --request PATCH \
"https://app.contentmate.co.uk/api/v1/mobile/website" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"phone\": \"b\",
\"email\": \"zbailey@example.net\",
\"location\": \"i\",
\"social\": {
\"facebook\": \"y\",
\"instagram\": \"v\",
\"twitter\": \"d\",
\"linkedin\": \"l\",
\"tiktok\": \"j\",
\"youtube\": \"n\"
}
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/website"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"phone": "b",
"email": "zbailey@example.net",
"location": "i",
"social": {
"facebook": "y",
"instagram": "v",
"twitter": "d",
"linkedin": "l",
"tiktok": "j",
"youtube": "n"
}
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Trigger a redeploy of the team's website.
Requires the site to have an approved spec or already be live.
Example request:
curl --request POST \
"https://app.contentmate.co.uk/api/v1/mobile/website/rebuild" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/website/rebuild"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Page-view time series — one row per day for the requested period.
?period=7|30|90 (default 30)
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/website/analytics" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/website/analytics"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Paginated list of enquiries for the team's provisions.
Example request:
curl --request GET \
--get "https://app.contentmate.co.uk/api/v1/mobile/website/enquiries" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"new\"
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/website/enquiries"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"status": "new"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update an enquiry's status (e.g. mark as read or replied).
Example request:
curl --request PATCH \
"https://app.contentmate.co.uk/api/v1/mobile/website/enquiries/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"new\"
}"
const url = new URL(
"https://app.contentmate.co.uk/api/v1/mobile/website/enquiries/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"status": "new"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.