Topics Count API Documentation
The Topics Count API is designed to return the total count of topics per client. It provides a quick way to get the number of topics associated with a particular client without retrieving the full list of topics.
API Overview
Endpoint URL
https://api.crediblemind.com/[client]/topics/count
Method
GET
Authentication
Requests to the Topics API require a valid API key provided in the request header:
💡
Ask your client success representative for your API key
GET /[client]/topics/count HTTP/1.1
Host: api.crediblemind.com
x-api-key: YOUR_API_KEY
Request Parameters
Required Parameters
client
: A unique identifier for each CredibleMind client.
Example Request
curl -X GET "https://api.crediblemind.com/benovo/topics/count" \
-H "x-api-key: YOUR_API_KEY"
Response Format
The response will be in JSON format, structured as follows:
{
"count": 5
}
Response Definitions
count
(int): The total number of results.
Success Response
- Code: 200 OK
- Content:
{
"count": 5
}
Error Response
- Code: 401 Unauthorized
- Content:
{
"error": "Invalid API Key"
}