Topics
Topics help you organize your Ideas into groups, much like tags. An Ideas can belong to multiple Topics.
Topic object
Endpoints
List topics
Returns a list of topics
API key in Authorization header with Bearer prefix (recommended)
Limits the number of items on a page
Specifies the page number of the topics to be displayed
Successfully returned a list of topics
Invalid request
GET /v1/topics HTTP/1.1
Host: api.frill.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"idx": "topic_abcd1234",
"name": "New features",
"idea_count": 1,
"order": 1,
"created_at": "text",
"updated_at": "text"
}
],
"pagination": {
"total": 10,
"before": "before-cursor",
"after": "after-cursor"
}
}Create a topic
Create a new topic
API key in Authorization header with Bearer prefix (recommended)
Successfully created a new topic
A unique identifier for the topic
topic_abcd1234Name of the topic
New featuresNumber of ideas that have been tagged with this Topic
The position of the topic in the topic list
The date & time the Topic was last updated (UTC timezone)
The date & time the Topic was last updated (UTC timezone)
Invalid request
POST /v1/topics HTTP/1.1
Host: api.frill.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"name": "text"
}{
"idx": "topic_abcd1234",
"name": "New features",
"idea_count": 1,
"order": 1,
"created_at": "text",
"updated_at": "text"
}Update a topic
Update a Topic
API key in Authorization header with Bearer prefix (recommended)
Successfully updated a topic
A unique identifier for the topic
topic_abcd1234Name of the topic
New featuresNumber of ideas that have been tagged with this Topic
The position of the topic in the topic list
The date & time the Topic was last updated (UTC timezone)
The date & time the Topic was last updated (UTC timezone)
Invalid request
POST /v1/topics/{topicIdx} HTTP/1.1
Host: api.frill.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"name": "text"
}{
"idx": "topic_abcd1234",
"name": "New features",
"idea_count": 1,
"order": 1,
"created_at": "text",
"updated_at": "text"
}Delete a topic
Delete a Topic
API key in Authorization header with Bearer prefix (recommended)
Request was successful
Request was successfulInvalid request
DELETE /v1/topics/{topicIdx} HTTP/1.1
Host: api.frill.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"success": true,
"message": "Request was successful"
}Last updated