Skip to content

Depot Admin Service Documentation ​

This service provides endpoints for managing admin configurations, clients, profiles, taxonomies, and topics for the Depot platform.

  • Version: 1.0.0

Endpoints ​

Client ​

POST /client/ ​

Summary: Client - POST / Description: Creates a client Operation ID: postClient

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

Request Body (application/json):

NameTypeRequiredExampleDescription
namestringYesstring-
webhookstringYesstring-
json
{
  "name": "string",
  "webhook": "string"
}

Responses:

200 OK Successful response

json
{
  "id": "string",
  "name": "string",
  "webhook": "string"
}

Response Parameters

PropertyTypeDescriptionEnum
idstring--
namestring--
webhookstring--

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request POST 'https://api.example.com/client/' \
--header 'Content-Type: application/json' \
--data-raw '{
  "name": "string",
  "webhook": "string"
}'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/client/");
var json = """
{
  "name": "string",
  "webhook": "string"
}
""";
request.Content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/client/", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "name": "string",
    "webhook": "string"
  }),
});
const data = await response.json();
console.log(data);

GET /client/{client_uuid} ​

Summary: Client - GET /:client_uuid Description: Gets a client by id Operation ID: getClientByClient_uuid

Parameters:

NameInTypeRequiredDescription
client_uuidpathstringYes-

Responses:

200 OK Successful response

json
{
  "id": "string",
  "type": "string",
  "secret": "string",
  "webhooks": [
    "string"
  ],
  "webhook_url": "string"
}

Response Parameters

PropertyTypeDescriptionEnum
idstring--
typestring--
secretstring--
webhooksarray<string>--
webhook_urlstring--

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request GET 'https://api.example.com/client/123e4567-e89b-12d3-a456-426614174000'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/client/123e4567-e89b-12d3-a456-426614174000");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/client/123e4567-e89b-12d3-a456-426614174000", {
  method: "GET",
});
const data = await response.json();
console.log(data);

DELETE /client/{client_uuid}/ ​

Summary: Client - DELETE /:client_uuid/ Description: Deletes the client Operation ID: deleteClientByClient_uuid

Parameters:

NameInTypeRequiredDescription
client_uuidpathstringYes-

Responses:

200 OK Successful response

json
{
  "message": "string"
}

Response Parameters

PropertyTypeDescriptionEnum
messagestring--

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request DELETE 'https://api.example.com/client/123e4567-e89b-12d3-a456-426614174000/'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://api.example.com/client/123e4567-e89b-12d3-a456-426614174000/");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/client/123e4567-e89b-12d3-a456-426614174000/", {
  method: "DELETE",
});
const data = await response.json();
console.log(data);

POST /client/regenerate-secret ​

Summary: Client - POST /regenerate-secret Description: Regenerates the client secret Operation ID: postClientRegenerate-secret

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

No request body is defined for this operation.

Responses:

200 OK Successful response

json
{
  "secret": "string"
}

Response Parameters

PropertyTypeDescriptionEnum
secretstring--

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request POST 'https://api.example.com/client/regenerate-secret'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/client/regenerate-secret");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/client/regenerate-secret", {
  method: "POST",
});
const data = await response.json();
console.log(data);

POST /client/webhook ​

Summary: Client - POST /webhook Description: Updates the webhook for the client Operation ID: postClientWebhook

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

Request Body (application/json):

NameTypeRequiredExampleDescription
webhookstringYesstring-
json
{
  "webhook": "string"
}

Responses:

200 OK Successful response

json
{
  "webhook_url": "string"
}

Response Parameters

PropertyTypeDescriptionEnum
webhook_urlstring--

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request POST 'https://api.example.com/client/webhook' \
--header 'Content-Type: application/json' \
--data-raw '{
  "webhook": "string"
}'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/client/webhook");
var json = """
{
  "webhook": "string"
}
""";
request.Content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/client/webhook", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "webhook": "string"
  }),
});
const data = await response.json();
console.log(data);

DELETE /client/webhook ​

Summary: Client - DELETE /webhook Description: Deletes the webhook from the client Operation ID: deleteClientWebhook

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

Responses:

200 OK Successful response

json
{
  "webhook_url": "string"
}

Response Parameters

PropertyTypeDescriptionEnum
webhook_urlstring--

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request DELETE 'https://api.example.com/client/webhook'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://api.example.com/client/webhook");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/client/webhook", {
  method: "DELETE",
});
const data = await response.json();
console.log(data);

Clients ​


POST /clients/ ​

Summary: Clients - POST / Description: Gets the clients as a list Operation ID: postClients

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

No request body is defined for this operation.

Responses:

200 OK Successful response

json
{
  "clients": [
    {
      "client_name": "string",
      "client_uuid": "string",
      "webhook_url": "string"
    }
  ]
}

Response Parameters

PropertyTypeDescriptionEnum
clientsarray<object>--
clients[].client_namestring--
clients[].client_uuidstring--
clients[].webhook_urlstring--

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request POST 'https://api.example.com/clients/'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/clients/");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/clients/", {
  method: "POST",
});
const data = await response.json();
console.log(data);

Health ​


GET /health/ready ​

Summary: Health - GET /ready Description: Gets the readiness endpoint of the service Operation ID: getHealthReady

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

Responses:

200 OK Successful response

json
{
  "status": "string",
  "timestamp": "string",
  "services": {
    "cosmos_db": "string",
    "service_bus": "string"
  }
}

Response Parameters

PropertyTypeDescriptionEnum
statusstring--
timestampstring--
servicesobject--
services.cosmos_dbstring--
services.service_busstring--

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request GET 'https://api.example.com/health/ready'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/health/ready");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/health/ready", {
  method: "GET",
});
const data = await response.json();
console.log(data);

GET /health/startup ​

Summary: Health - GET /startup Description: Gets the startup endpoint of the service Operation ID: getHealthStartup

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

Responses:

200 OK Successful response

json
{
  "status": "string",
  "timestamp": "string",
  "app_configuration": "string"
}

Response Parameters

PropertyTypeDescriptionEnum
statusstring--
timestampstring--
app_configurationstring--

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request GET 'https://api.example.com/health/startup'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/health/startup");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/health/startup", {
  method: "GET",
});
const data = await response.json();
console.log(data);

GET /health/status ​

Summary: Health - GET /status Description: Gets the liveness endpoint of the service Operation ID: getHealthStatus

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

Responses:

200 OK Successful response

json
{
  "status": "string",
  "timestamp": "string",
  "resources": {
    "memory_usage": "string",
    "cpu_usage": "string"
  }
}

Response Parameters

PropertyTypeDescriptionEnum
statusstring--
timestampstring--
resourcesobject--
resources.memory_usagestring--
resources.cpu_usagestring--

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request GET 'https://api.example.com/health/status'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/health/status");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/health/status", {
  method: "GET",
});
const data = await response.json();
console.log(data);

Mantle ​


GET /mantle/sync-taxonomies ​

Summary: Mantle - GET /sync-taxonomies Description: Syncs all taxonomies from the Mantle system Operation ID: getMantleSync-taxonomies

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

Responses:

200 OK Successful response

json
{
  "message": "string"
}

Response Parameters

PropertyTypeDescriptionEnum
messagestring--

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request GET 'https://api.example.com/mantle/sync-taxonomies'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/mantle/sync-taxonomies");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/mantle/sync-taxonomies", {
  method: "GET",
});
const data = await response.json();
console.log(data);

GET /mantle/sync-topics ​

Summary: Mantle - GET /sync-topics Description: Syncs all topics from the Mantle system Operation ID: getMantleSync-topics

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

Responses:

200 OK Successful response

json
{
  "message": "string"
}

Response Parameters

PropertyTypeDescriptionEnum
messagestring--

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request GET 'https://api.example.com/mantle/sync-topics'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/mantle/sync-topics");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/mantle/sync-topics", {
  method: "GET",
});
const data = await response.json();
console.log(data);

Profile ​


POST /profile/ ​

Summary: Profile - POST / Description: Adds a profile Operation ID: postProfile

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

Request Body (application/json):

NameTypeRequiredExampleDescription
referencestringNostring-
place_idstringYesstring-
sourcestringNostring-
subscribebooleanNotrue-
fetch_responsesbooleanNotrue-
json
{
  "reference": "string",
  "place_id": "string",
  "source": "string",
  "subscribe": true,
  "fetch_responses": true
}

Responses:

200 OK Successful response

json
{
  "profile_id": "string"
}

Response Parameters

PropertyTypeDescriptionEnum
profile_idstring--

400 Bad Request Bad request

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request POST 'https://api.example.com/profile/' \
--header 'Content-Type: application/json' \
--data-raw '{
  "reference": "string",
  "place_id": "string",
  "source": "string",
  "subscribe": true,
  "fetch_responses": true
}'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/profile/");
var json = """
{
  "reference": "string",
  "place_id": "string",
  "source": "string",
  "subscribe": true,
  "fetch_responses": true
}
""";
request.Content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/profile/", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "reference": "string",
    "place_id": "string",
    "source": "string",
    "subscribe": true,
    "fetch_responses": true
  }),
});
const data = await response.json();
console.log(data);

GET /profile/{profile_uuid} ​

Summary: Profile - GET /:profile_uuid Description: Gets a profile by id Operation ID: getProfileByProfile_uuid

Parameters:

NameInTypeRequiredDescription
profile_uuidpathstringYes-

Responses:

200 OK Successful response

json
{
  "profile_id": "string",
  "ref": "string",
  "source": "string"
}

Response Parameters

PropertyTypeDescriptionEnum
profile_idstring--
refstring--
sourcestring--

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request GET 'https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000", {
  method: "GET",
});
const data = await response.json();
console.log(data);

DELETE /profile/{profile_uuid} ​

Summary: Profile - DELETE /:profile_uuid Description: Removes a subscription from a profile Operation ID: deleteProfileByProfile_uuid

Parameters:

NameInTypeRequiredDescription
profile_uuidpathstringYes-

Responses:

200 OK Successful response

json
{
  "message": "string"
}

Response Parameters

PropertyTypeDescriptionEnum
messagestring--

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request DELETE 'https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000", {
  method: "DELETE",
});
const data = await response.json();
console.log(data);

POST /profile/{profile_uuid}/subscribe ​

Summary: Profile - POST /:profile_uuid/subscribe Description: Adds a subscription to a profile Operation ID: postProfileByProfile_uuidSubscribe

Parameters:

NameInTypeRequiredDescription
profile_uuidpathstringYes-

No request body is defined for this operation.

Responses:

200 OK Successful response

json
{
  "message": "string"
}

Response Parameters

PropertyTypeDescriptionEnum
messagestring--

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request POST 'https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000/subscribe'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000/subscribe");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000/subscribe", {
  method: "POST",
});
const data = await response.json();
console.log(data);

POST /profile/ref/ ​

Summary: Profile - POST /ref/ Description: Gets a profile by ref Operation ID: postProfileRef

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

Request Body (application/json):

NameTypeRequiredExampleDescription
refstringYesstring-
json
{
  "ref": "string"
}

Responses:

200 OK Successful response

json
{
  "profile_uuid": "string",
  "profile_reference": "string",
  "profile_source": "string"
}

Response Parameters

PropertyTypeDescriptionEnum
profile_uuidstring--
profile_referencestring--
profile_sourcestring--

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request POST 'https://api.example.com/profile/ref/' \
--header 'Content-Type: application/json' \
--data-raw '{
  "ref": "string"
}'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/profile/ref/");
var json = """
{
  "ref": "string"
}
""";
request.Content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/profile/ref/", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "ref": "string"
  }),
});
const data = await response.json();
console.log(data);

POST /profile/status/{profile_uuid} ​

Summary: Profile - POST /status/:profile_uuid Description: Updates a profile status from active to inactive or vice versa Operation ID: postProfileStatusByProfile_uuid

Parameters:

NameInTypeRequiredDescription
profile_uuidpathstringYes-

Request Body (application/json):

NameTypeRequiredExampleDescription
statusstringYesstring-
json
{
  "status": "string"
}

Responses:

200 OK Successful response

json
{
  "message": "string"
}

Response Parameters

PropertyTypeDescriptionEnum
messagestring--

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request POST 'https://api.example.com/profile/status/123e4567-e89b-12d3-a456-426614174000' \
--header 'Content-Type: application/json' \
--data-raw '{
  "status": "string"
}'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/profile/status/123e4567-e89b-12d3-a456-426614174000");
var json = """
{
  "status": "string"
}
""";
request.Content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/profile/status/123e4567-e89b-12d3-a456-426614174000", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "status": "string"
  }),
});
const data = await response.json();
console.log(data);

Profiles ​


POST /profiles/ ​

Summary: Profiles - POST / Description: Gets the profiles as a list Operation ID: postProfiles

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

Request Body (application/json):

NameTypeRequiredExampleDescription
typestringNostring-
place_idstringNostring-
continuation_tokenstringNostring-
page_sizenumberNo0-
order_bystringNostring-
search_termstringNostring-
json
{
  "type": "string",
  "place_id": "string",
  "continuation_token": "string",
  "page_size": 0,
  "order_by": "string",
  "search_term": "string"
}

Responses:

200 OK Successful response

json
{
  "results": [
    {
      "profile_id": "string",
      "ref": "string",
      "source": "string",
      "place_id": "string",
      "created_at": "string"
    }
  ],
  "continuation_token": "string",
  "total_results": 0
}

Response Parameters

PropertyTypeDescriptionEnum
resultsarray<object>--
results[].profile_idstring--
results[].refstring--
results[].sourcestring--
results[].place_idstring--
results[].created_atstring--
continuation_tokenstring | null--
total_resultsnumber--

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request POST 'https://api.example.com/profiles/' \
--header 'Content-Type: application/json' \
--data-raw '{
  "type": "string",
  "place_id": "string",
  "continuation_token": "string",
  "page_size": 0,
  "order_by": "string",
  "search_term": "string"
}'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/profiles/");
var json = """
{
  "type": "string",
  "place_id": "string",
  "continuation_token": "string",
  "page_size": 0,
  "order_by": "string",
  "search_term": "string"
}
""";
request.Content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/profiles/", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "type": "string",
    "place_id": "string",
    "continuation_token": "string",
    "page_size": 0,
    "order_by": "string",
    "search_term": "string"
  }),
});
const data = await response.json();
console.log(data);

GET /profiles/count ​

Summary: Profiles - GET /count Description: Gets a total count of profiles by type Operation ID: getProfilesCount

Parameters:

NameInTypeRequiredDescription
typequerystringNo-
from_datequerystringNo-

Responses:

200 OK Successful response

json
{
  "count": 0,
  "type": "string"
}

Response Parameters

PropertyTypeDescriptionEnum
countnumber--
typestring--

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request GET 'https://api.example.com/profiles/count?type=string&from_date=string'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/profiles/count?type=string&from_date=string");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/profiles/count?type=string&from_date=string", {
  method: "GET",
});
const data = await response.json();
console.log(data);

GET /profiles/count-by-month ​

Summary: Profiles - GET /count-by-month Description: Gets profile counts grouped by month (created_at) Operation ID: getProfilesCount-by-month

Parameters:

NameInTypeRequiredDescription
typequerystringNo-
from_datequerystringNo-

Responses:

200 OK Successful response

json
{
  "data": [
    {
      "month": "string",
      "count": 0
    }
  ],
  "total_count": 0
}

Response Parameters

PropertyTypeDescriptionEnum
dataarray<object>--
data[].monthstring--
data[].countnumber--
total_countnumber--

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request GET 'https://api.example.com/profiles/count-by-month?type=string&from_date=string'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/profiles/count-by-month?type=string&from_date=string");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/profiles/count-by-month?type=string&from_date=string", {
  method: "GET",
});
const data = await response.json();
console.log(data);

GET /profiles/placeids ​

Summary: Profiles - GET /profiles/placeids Description: Gets the placeids and attached profile id and exports to CSV Operation ID: getProfilesPlaceids

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

Responses:

200 OK Successful response

json
"string"

Response Parameters

PropertyTypeDescriptionEnum
value---

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request GET 'https://api.example.com/profiles/placeids'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/profiles/placeids");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/profiles/placeids", {
  method: "GET",
});
const data = await response.json();
console.log(data);

GET /profiles/profiles/placeids ​

Summary: Profiles - GET /profiles/placeids Description: Gets the placeids and attached profile id and exports to CSV Operation ID: getProfilesProfilesPlaceids

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

Responses:

200 OK Successful response

json
"string"

Response Parameters

PropertyTypeDescriptionEnum
value---

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request GET 'https://api.example.com/profiles/profiles/placeids'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/profiles/profiles/placeids");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/profiles/profiles/placeids", {
  method: "GET",
});
const data = await response.json();
console.log(data);

POST /profiles/update-subscribed-tripadvisor ​

Summary: Profiles - POST /update-subscribed-tripadvisor Description: Updates all TripAdvisor profiles to be marked for fetching responses Operation ID: postProfilesUpdate-subscribed-tripadvisor

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

Request Body (application/json):

NameTypeRequiredExampleDescription
fetch_responses_onlybooleanNotrue-
json
{
  "fetch_responses_only": true
}

Responses:

200 OK Successful response

json
{
  "message": "string"
}

Response Parameters

PropertyTypeDescriptionEnum
messagestring--

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request POST 'https://api.example.com/profiles/update-subscribed-tripadvisor' \
--header 'Content-Type: application/json' \
--data-raw '{
  "fetch_responses_only": true
}'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/profiles/update-subscribed-tripadvisor");
var json = """
{
  "fetch_responses_only": true
}
""";
request.Content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/profiles/update-subscribed-tripadvisor", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "fetch_responses_only": true
  }),
});
const data = await response.json();
console.log(data);

POST /profiles/validate-profiles ​

Summary: Profiles - POST /validate-profiles Description: Validates profiles and removes invalid entries Operation ID: postProfilesValidate-profiles

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

Request Body (application/json):

NameTypeRequiredExampleDescription
typestringYesstring-
profile_uuidstringNo123e4567-e89b-12d3-a456-426614174000-
json
{
  "type": "string",
  "profile_uuid": "123e4567-e89b-12d3-a456-426614174000"
}

Responses:

200 OK Successful response

json
{
  "profiles_removed": [
    "string"
  ]
}

Response Parameters

PropertyTypeDescriptionEnum
profiles_removedarray<string>--

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request POST 'https://api.example.com/profiles/validate-profiles' \
--header 'Content-Type: application/json' \
--data-raw '{
  "type": "string",
  "profile_uuid": "123e4567-e89b-12d3-a456-426614174000"
}'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/profiles/validate-profiles");
var json = """
{
  "type": "string",
  "profile_uuid": "123e4567-e89b-12d3-a456-426614174000"
}
""";
request.Content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/profiles/validate-profiles", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "type": "string",
    "profile_uuid": "123e4567-e89b-12d3-a456-426614174000"
  }),
});
const data = await response.json();
console.log(data);

Taxonomies ​


GET /taxonomies/ ​

Summary: Taxonomies - GET / Description: Gets all taxonomies Operation ID: getTaxonomies

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

Responses:

200 OK Successful response

json
{
  "taxonomies": [
    {
      "uuid": "string",
      "taxonomy_id": 0,
      "taxonomy_name": "string"
    }
  ]
}

Response Parameters

PropertyTypeDescriptionEnum
taxonomiesarray<object>--
taxonomies[].uuidstring--
taxonomies[].taxonomy_idnumber--
taxonomies[].taxonomy_namestring--

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request GET 'https://api.example.com/taxonomies/'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/taxonomies/");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/taxonomies/", {
  method: "GET",
});
const data = await response.json();
console.log(data);

Topics ​


GET /topics/ ​

Summary: Topics - GET / Description: Gets all topics Operation ID: getTopics

Parameters:

NameInTypeRequiredDescription
No parameters to pass.

Responses:

200 OK Successful response

json
{
  "topics": [
    {
      "uuid": "string",
      "topic_id": 0,
      "topic_name": "string",
      "associated_taxonomies": [
        0
      ]
    }
  ]
}

Response Parameters

PropertyTypeDescriptionEnum
topicsarray<object>--
topics[].uuidstring--
topics[].topic_idnumber--
topics[].topic_namestring--
topics[].associated_taxonomiesarray<number>--

404 Not Found Resource not found

json
{
  "message": "string"
}

500 Internal Server Error Internal server error

json
{
  "message": "string"
}

Example usage

curl
curl --location --request GET 'https://api.example.com/topics/'
c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/topics/");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);
ts
const response = await fetch("https://api.example.com/topics/", {
  method: "GET",
});
const data = await response.json();
console.log(data);