MENU navbar-image

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());

Request      

POST api/v1/mobile/auth/login

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

email   string     

Must be a valid email address. Example: gbailey@example.net

password   string     

Example: |]|{+-

device_name   string  optional    

Must not be greater than 255 characters. Example: v

two_factor_code   string  optional    

Example: architecto

recovery_code   string  optional    

Example: architecto

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());

Request      

POST api/v1/mobile/auth/register

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

name   string     

Must not be greater than 255 characters. Example: b

email   string     

Must be a valid email address. Must not be greater than 255 characters. Example: zbailey@example.net

password   string     

Must be at least 8 characters. Example: -0pBNvYgxw

device_name   string  optional    

Must not be greater than 255 characters. Example: a

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());

Request      

POST api/v1/mobile/auth/forgot-password

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

email   string     

Must be a valid email address. Example: gbailey@example.net

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());

Request      

POST api/v1/mobile/auth/reset-password

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

token   string     

Example: architecto

email   string     

Must be a valid email address. Example: zbailey@example.net

password   string     

Must be at least 8 characters. Example: -0pBNvYgxw

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());

Request      

POST api/v1/mobile/auth/logout

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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."
}
 

Request      

GET api/v1/mobile/me

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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."
}
 

Request      

GET api/v1/mobile/teams/current

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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());

Request      

PUT api/v1/mobile/teams/current

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

name   string  optional    

Must not be greater than 255 characters. Example: b

brand_voice_prompt   string  optional    

Must not be greater than 10000 characters. Example: n

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."
}
 

Request      

GET api/v1/mobile/teams/dashboard

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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());

Request      

POST api/v1/mobile/teams/{team_id}/switch

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

team_id   integer     

The ID of the team. Example: 2

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."
}
 

Request      

GET api/v1/mobile/posts

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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());

Request      

POST api/v1/mobile/posts

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

title   string     

Must not be greater than 255 characters. Example: b

brief   string  optional    

Must not be greater than 5000 characters. Example: n

site_id   integer  optional    

Example: 16

status   string  optional    

Example: draft

Must be one of:
  • draft
  • approved
  • scheduled
scheduled_at   string  optional    

Must be a valid date. Example: 2026-09-05T01:46:49

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."
}
 

Request      

GET api/v1/mobile/posts/{post_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

post_id   integer     

The ID of the post. Example: 16

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());

Request      

PUT api/v1/mobile/posts/{post_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

post_id   integer     

The ID of the post. Example: 16

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: b

brief   string  optional    

Must not be greater than 5000 characters. Example: n

content_html   string  optional    

Example: architecto

status   string  optional    

User-settable statuses only. drafting, published, and failed are managed by the generation/publish pipeline. Example: draft

Must be one of:
  • draft
  • approved
  • scheduled
scheduled_at   string  optional    

Must be a valid date. Example: 2026-09-05T01:46:49

site_id   integer  optional    

Example: 16

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());

Request      

DELETE api/v1/mobile/posts/{post_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

post_id   integer     

The ID of the post. Example: 16

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());

Request      

POST api/v1/mobile/posts/{post_id}/approve

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

post_id   integer     

The ID of the post. Example: 16

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());

Request      

POST api/v1/mobile/posts/{post_id}/generate

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

post_id   integer     

The ID of the post. Example: 16

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."
}
 

Request      

GET api/v1/mobile/sites

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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());

Request      

POST api/v1/mobile/sites

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

type   string     

Example: managed

Must be one of:
  • wordpress
  • shopify
  • custom
  • managed
base_url   string     

Must be a valid URL. Must not be greater than 255 characters. Example: http://www.bailey.biz/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html

credentials   object  optional    

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."
}
 

Request      

GET api/v1/mobile/sites/{id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

id   integer     

The ID of the site. Example: 2

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());

Request      

PUT api/v1/mobile/sites/{id}

PATCH api/v1/mobile/sites/{id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

id   integer     

The ID of the site. Example: 2

Body Parameters

base_url   string  optional    

Must be a valid URL. Must not be greater than 255 characters. Example: http://www.bailey.biz/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html

status   string  optional    

error is set by the uptime check job — users can only toggle between active and inactive. Example: active

Must be one of:
  • active
  • inactive
credentials   object  optional    
cookie_consent_enabled   boolean  optional    

Example: true

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());

Request      

DELETE api/v1/mobile/sites/{id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

id   integer     

The ID of the site. Example: 2

GET api/v1/mobile/social/accounts

Example request:
curl --request GET \
    --get "https://app.contentmate.co.uk/api/v1/mobile/social/accounts" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://app.contentmate.co.uk/api/v1/mobile/social/accounts"
);

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."
}
 

Request      

GET api/v1/mobile/social/accounts

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

GET api/v1/mobile/social/posts

Example request:
curl --request GET \
    --get "https://app.contentmate.co.uk/api/v1/mobile/social/posts" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://app.contentmate.co.uk/api/v1/mobile/social/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."
}
 

Request      

GET api/v1/mobile/social/posts

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

POST api/v1/mobile/social/posts

Example request:
curl --request POST \
    "https://app.contentmate.co.uk/api/v1/mobile/social/posts" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"platform\": \"architecto\",
    \"content\": \"architecto\",
    \"publish_at\": \"2026-09-05T01:46:49\",
    \"post_id\": 16,
    \"status\": \"scheduled\"
}"
const url = new URL(
    "https://app.contentmate.co.uk/api/v1/mobile/social/posts"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "platform": "architecto",
    "content": "architecto",
    "publish_at": "2026-09-05T01:46:49",
    "post_id": 16,
    "status": "scheduled"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/mobile/social/posts

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

platform   string     

Example: architecto

content   string     

Example: architecto

publish_at   string  optional    

This field is required when status is scheduled. Must be a valid date. Example: 2026-09-05T01:46:49

post_id   integer  optional    

Example: 16

status   string  optional    

Example: scheduled

Must be one of:
  • draft
  • scheduled

GET api/v1/mobile/social/posts/{socialPost_id}

Example request:
curl --request GET \
    --get "https://app.contentmate.co.uk/api/v1/mobile/social/posts/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://app.contentmate.co.uk/api/v1/mobile/social/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."
}
 

Request      

GET api/v1/mobile/social/posts/{socialPost_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

socialPost_id   integer     

The ID of the socialPost. Example: 16

DELETE api/v1/mobile/social/posts/{socialPost_id}

Example request:
curl --request DELETE \
    "https://app.contentmate.co.uk/api/v1/mobile/social/posts/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://app.contentmate.co.uk/api/v1/mobile/social/posts/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/mobile/social/posts/{socialPost_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

socialPost_id   integer     

The ID of the socialPost. Example: 16

GET api/v1/mobile/newsletters

Example request:
curl --request GET \
    --get "https://app.contentmate.co.uk/api/v1/mobile/newsletters" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://app.contentmate.co.uk/api/v1/mobile/newsletters"
);

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."
}
 

Request      

GET api/v1/mobile/newsletters

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

POST api/v1/mobile/newsletters

Example request:
curl --request POST \
    "https://app.contentmate.co.uk/api/v1/mobile/newsletters" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"subject\": \"b\",
    \"html_content\": \"architecto\",
    \"include_team_recipients\": false,
    \"include_subscribers\": false,
    \"scheduled_for\": \"2026-09-05T01:46:49\"
}"
const url = new URL(
    "https://app.contentmate.co.uk/api/v1/mobile/newsletters"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "subject": "b",
    "html_content": "architecto",
    "include_team_recipients": false,
    "include_subscribers": false,
    "scheduled_for": "2026-09-05T01:46:49"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/mobile/newsletters

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

subject   string     

Must not be greater than 255 characters. Example: b

html_content   string     

Example: architecto

target_tags   object  optional    
include_team_recipients   boolean  optional    

Example: false

include_subscribers   boolean  optional    

Example: false

scheduled_for   string  optional    

Must be a valid date. Example: 2026-09-05T01:46:49

GET api/v1/mobile/newsletters/{newsletter_id}

Example request:
curl --request GET \
    --get "https://app.contentmate.co.uk/api/v1/mobile/newsletters/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://app.contentmate.co.uk/api/v1/mobile/newsletters/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."
}
 

Request      

GET api/v1/mobile/newsletters/{newsletter_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

newsletter_id   integer     

The ID of the newsletter. Example: 16

PUT api/v1/mobile/newsletters/{newsletter_id}

Example request:
curl --request PUT \
    "https://app.contentmate.co.uk/api/v1/mobile/newsletters/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"subject\": \"b\",
    \"html_content\": \"architecto\",
    \"include_team_recipients\": false,
    \"include_subscribers\": false,
    \"scheduled_for\": \"2026-09-05T01:46:49\",
    \"status\": \"draft\"
}"
const url = new URL(
    "https://app.contentmate.co.uk/api/v1/mobile/newsletters/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "subject": "b",
    "html_content": "architecto",
    "include_team_recipients": false,
    "include_subscribers": false,
    "scheduled_for": "2026-09-05T01:46:49",
    "status": "draft"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/mobile/newsletters/{newsletter_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

newsletter_id   integer     

The ID of the newsletter. Example: 16

Body Parameters

subject   string  optional    

Must not be greater than 255 characters. Example: b

html_content   string  optional    

Example: architecto

target_tags   object  optional    
include_team_recipients   boolean  optional    

Example: false

include_subscribers   boolean  optional    

Example: false

scheduled_for   string  optional    

Must be a valid date. Example: 2026-09-05T01:46:49

status   string  optional    

Only user-settable states allowed here. sending, sent, and failed are set by the send pipeline — users mustn't flip a newsletter to sent manually (it would corrupt the monthly counter that gates plan quotas). Example: draft

Must be one of:
  • draft
  • scheduled

DELETE api/v1/mobile/newsletters/{newsletter_id}

Example request:
curl --request DELETE \
    "https://app.contentmate.co.uk/api/v1/mobile/newsletters/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://app.contentmate.co.uk/api/v1/mobile/newsletters/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/mobile/newsletters/{newsletter_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

newsletter_id   integer     

The ID of the newsletter. Example: 16

GET api/v1/mobile/newsletter-subscribers

Example request:
curl --request GET \
    --get "https://app.contentmate.co.uk/api/v1/mobile/newsletter-subscribers" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://app.contentmate.co.uk/api/v1/mobile/newsletter-subscribers"
);

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."
}
 

Request      

GET api/v1/mobile/newsletter-subscribers

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

POST api/v1/mobile/newsletter-subscribers

Example request:
curl --request POST \
    "https://app.contentmate.co.uk/api/v1/mobile/newsletter-subscribers" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"gbailey@example.net\",
    \"name\": \"m\"
}"
const url = new URL(
    "https://app.contentmate.co.uk/api/v1/mobile/newsletter-subscribers"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "email": "gbailey@example.net",
    "name": "m"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/mobile/newsletter-subscribers

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

email   string     

Must be a valid email address. Example: gbailey@example.net

name   string  optional    

Must not be greater than 255 characters. Example: m

tags   object  optional    

DELETE api/v1/mobile/newsletter-subscribers/{subscriber_id}

Example request:
curl --request DELETE \
    "https://app.contentmate.co.uk/api/v1/mobile/newsletter-subscribers/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://app.contentmate.co.uk/api/v1/mobile/newsletter-subscribers/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/mobile/newsletter-subscribers/{subscriber_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

subscriber_id   integer     

The ID of the subscriber. Example: 16

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."
}
 

Request      

GET api/v1/mobile/reviews

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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."
}
 

Request      

GET api/v1/mobile/reviews/{review_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

review_id   integer     

The ID of the review. Example: 16

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."
}
 

Request      

GET api/v1/mobile/external-reviews

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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."
}
 

Request      

GET api/v1/mobile/external-reviews/{externalReview_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

externalReview_id   integer     

The ID of the externalReview. Example: 16

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());

Request      

POST api/v1/mobile/external-reviews/{externalReview_id}/ai-reply

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

externalReview_id   integer     

The ID of the externalReview. Example: 16

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."
}
 

Request      

GET api/v1/mobile/products

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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());

Request      

POST api/v1/mobile/products

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

site_id   integer  optional    

Example: 16

name   string     

Must not be greater than 255 characters. Example: n

description   string  optional    

Example: Eius et animi quos velit et.

price   number  optional    

Must be at least 0. Example: 60

url   string  optional    

Must be a valid URL. Example: http://www.dach.com/mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html

image_url   string  optional    

Must be a valid URL. Example: http://swift.com/quidem-nostrum-qui-commodi-incidunt-iure-odit.html

features   object  optional    
target_audience   string  optional    

Example: architecto

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."
}
 

Request      

GET api/v1/mobile/products/{product_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

product_id   integer     

The ID of the product. Example: 16

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());

Request      

PUT api/v1/mobile/products/{product_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

product_id   integer     

The ID of the product. Example: 16

Body Parameters

name   string  optional    

Must not be greater than 255 characters. Example: b

description   string  optional    

Example: Eius et animi quos velit et.

price   number  optional    

Must be at least 0. Example: 60

url   string  optional    

Must be a valid URL. Example: http://www.dach.com/mollitia-modi-deserunt-aut-ab-provident-perspiciatis-quo.html

image_url   string  optional    

Must be a valid URL. Example: http://swift.com/quidem-nostrum-qui-commodi-incidunt-iure-odit.html

features   object  optional    
target_audience   string  optional    

Example: architecto

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());

Request      

DELETE api/v1/mobile/products/{product_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

product_id   integer     

The ID of the product. Example: 16

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());

Request      

POST api/v1/mobile/products/{product_id}/campaigns

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

product_id   integer     

The ID of the product. Example: 16

Body Parameters

platform   string     

Example: google

Must be one of:
  • meta
  • google
  • tiktok
  • linkedin
  • all

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."
}
 

Request      

GET api/v1/mobile/product-campaigns

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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."
}
 

Request      

GET api/v1/mobile/product-campaigns/{campaign_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

campaign_id   integer     

The ID of the campaign. Example: 16

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."
}
 

Request      

GET api/v1/mobile/outreach/campaigns

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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());

Request      

POST api/v1/mobile/outreach/campaigns

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

name   string     

Must not be greater than 255 characters. Example: b

description   string     

Must not be greater than 5000 characters. Example: Et animi quos velit et fugiat.

target_profile   object  optional    

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."
}
 

Request      

GET api/v1/mobile/outreach/campaigns/{campaign_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

campaign_id   integer     

The ID of the campaign. Example: 16

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());

Request      

DELETE api/v1/mobile/outreach/campaigns/{campaign_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

campaign_id   integer     

The ID of the campaign. Example: 16

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."
}
 

Request      

GET api/v1/mobile/outreach/campaigns/{campaign_id}/targets

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

campaign_id   integer     

The ID of the campaign. Example: 16

Body Parameters

status   string  optional    

Whitelist the status filter — unconstrained user input goes into a WHERE clause, and we don't want to allow arbitrary values that the app's status enum doesn't recognise. Example: excluded

Must be one of:
  • ready
  • sent
  • opened
  • replied
  • meeting_booked
  • excluded
  • analysis_failed

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."
}
 

Request      

GET api/v1/mobile/outreach/targets/{target_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

target_id   integer     

The ID of the target. Example: 16

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());

Request      

POST api/v1/mobile/outreach/targets/{target_id}/send

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

target_id   integer     

The ID of the target. Example: 16

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());

Request      

POST api/v1/mobile/outreach/targets/{target_id}/reply

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

target_id   integer     

The ID of the target. Example: 16

Body Parameters

reply_content   string     

Example: architecto

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."
}
 

Request      

GET api/v1/mobile/chat-widgets

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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());

Request      

POST api/v1/mobile/chat-widgets

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

name   string     

Must not be greater than 255 characters. Example: b

welcome_message   string  optional    

Must not be greater than 500 characters. Example: n

placeholder   string  optional    

Must not be greater than 255 characters. Example: g

primary_color   string  optional    

Must not be greater than 7 characters. Example: zmiyvdl

allowed_domains   string[]  optional    

Must not be greater than 255 characters.

is_active   boolean  optional    

Example: false

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."
}
 

Request      

GET api/v1/mobile/chat-widgets/{id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

id   integer     

The ID of the chat widget. Example: 16

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());

Request      

PUT api/v1/mobile/chat-widgets/{id}

PATCH api/v1/mobile/chat-widgets/{id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

id   integer     

The ID of the chat widget. Example: 16

Body Parameters

name   string  optional    

Must not be greater than 255 characters. Example: b

welcome_message   string  optional    

Must not be greater than 500 characters. Example: n

placeholder   string  optional    

Must not be greater than 255 characters. Example: g

primary_color   string  optional    

Must not be greater than 7 characters. Example: zmiyvdl

allowed_domains   object  optional    
is_active   boolean  optional    

Example: false

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());

Request      

DELETE api/v1/mobile/chat-widgets/{id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

id   integer     

The ID of the chat widget. Example: 16

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."
}
 

Request      

GET api/v1/mobile/chat-widgets/{chatWidget_id}/sessions

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

chatWidget_id   integer     

The ID of the chatWidget. Example: 16

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."
}
 

Request      

GET api/v1/mobile/context-items

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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());

Request      

POST api/v1/mobile/context-items

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

url   string     

Must be a valid URL. Example: http://www.bailey.biz/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html

title   string     

Must not be greater than 255 characters. Example: i

content_summary   string  optional    

Example: architecto

type   string  optional    

Must not be greater than 50 characters. Example: n

site_id   integer  optional    

Example: 16

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."
}
 

Request      

GET api/v1/mobile/context-items/{id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

id   integer     

The ID of the context item. Example: 16

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());

Request      

PUT api/v1/mobile/context-items/{id}

PATCH api/v1/mobile/context-items/{id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

id   integer     

The ID of the context item. Example: 16

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: b

content_summary   string  optional    

Example: architecto

type   string  optional    

Must not be greater than 50 characters. Example: n

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());

Request      

DELETE api/v1/mobile/context-items/{id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

id   integer     

The ID of the context item. Example: 16

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."
}
 

Request      

GET api/v1/mobile/billing/plan

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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());

Request      

POST api/v1/mobile/billing/portal

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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."
}
 

Request      

GET api/v1/mobile/billing/ai-usage

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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."
}
 

Request      

GET api/v1/mobile/website

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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());

Request      

PATCH api/v1/mobile/website

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

phone   string  optional    

Must not be greater than 30 characters. Example: b

email   string  optional    

Must be a valid email address. Must not be greater than 120 characters. Example: zbailey@example.net

location   string  optional    

Must not be greater than 120 characters. Example: i

social   object  optional    
facebook   string  optional    

Must be a valid URL. Must not be greater than 255 characters. Example: y

instagram   string  optional    

Must be a valid URL. Must not be greater than 255 characters. Example: v

twitter   string  optional    

Must be a valid URL. Must not be greater than 255 characters. Example: d

linkedin   string  optional    

Must be a valid URL. Must not be greater than 255 characters. Example: l

tiktok   string  optional    

Must be a valid URL. Must not be greater than 255 characters. Example: j

youtube   string  optional    

Must be a valid URL. Must not be greater than 255 characters. Example: n

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());

Request      

POST api/v1/mobile/website/rebuild

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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."
}
 

Request      

GET api/v1/mobile/website/analytics

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

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."
}
 

Request      

GET api/v1/mobile/website/enquiries

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

status   string  optional    

Example: new

Must be one of:
  • new
  • read
  • replied

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());

Request      

PATCH api/v1/mobile/website/enquiries/{enquiry_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

enquiry_id   integer     

The ID of the enquiry. Example: 16

Body Parameters

status   string     

Example: new

Must be one of:
  • new
  • read
  • replied