Every API here is available over the APIs.io API and to AI agents over MCP.
{
"openapi": "3.1.0",
"info": {
"title": "Produktly API",
"version": "1.0.0",
"description": "The Produktly REST API gives you programmatic access to your product tours, checklists, smart tips, announcements, micro surveys, changelogs, roadmaps, feedback widgets, NPS widgets, tags, analytics, and identified users. It exposes the same functionality as the [MCP server](https://produktly.com/docs/mcp-server/), over plain HTTP.\n\n## Base URL\n\n```\nhttps://api.produktly.com/api/v1\n```\n\n## Authentication\n\nAll endpoints (except `GET /openapi.json`) require an API key passed as a Bearer token.\n\n1. Sign in to Produktly and open **Settings → [API keys](https://produktly.com/app/settings/private-keys)**.\n2. Generate a new key and copy it. The same key works for both REST and MCP.\n3. Send it on every request:\n\n```http\nGET /api/v1/changelogs HTTP/1.1\nHost: api.produktly.com\nAuthorization: Bearer <your-api-key>\n```\n\nMissing or invalid keys return `401 unauthorized`. Treat the key like a password — anyone with it can read and write your Produktly data.\n\nScopes, error codes, rotation, and how API keys differ from the public Client Auth Token are covered in the [API authentication guide](https://produktly.com/docs/docs/api/authentication).\n\n## Response format\n\nList endpoints return an envelope with a `data` array and `pagination` metadata:\n\n```json\n{\n \"data\": [ { \"id\": 1, \"name\": \"...\" } ],\n \"pagination\": { \"total\": 42, \"limit\": 50, \"offset\": 0 }\n}\n```\n\nSingle-resource endpoints (e.g. `GET /roadmaps/{id}`) return the resource directly, no envelope.\n\n## Pagination\n\nList endpoints accept `limit` (default 50, max 100) and `offset` (default 0) query parameters. Date filters (`startDate`, `endDate`) compose with pagination where supported.\n\n## Errors\n\nErrors come back in a consistent shape:\n\n```json\n{\n \"error\": {\n \"code\": \"invalid_tag_names\",\n \"message\": \"Unknown tag names: foo. Use GET /v1/tags to see available tags.\",\n \"details\": { \"missing\": [\"foo\"] }\n }\n}\n```\n\nCommon codes:\n\n- `unauthorized` (401) — missing or invalid API key\n- `not_found` (404) — resource doesn't exist or doesn't belong to your company\n- `validation_error` (400) — invalid request parameters\n- `rate_limit_exceeded` (429) — see Rate limits below\n- `internal_error` (500) — server-side problem; safe to retry\n\n## Rate limits\n\nEvery API key is limited to **60 requests per minute**. The `/users` endpoints have a separate bucket of **300 requests per minute** to support backend syncs. Every response includes:\n\n- `X-RateLimit-Limit`: total allowed in the window\n- `X-RateLimit-Remaining`: remaining quota\n- `X-RateLimit-Reset`: Unix seconds when the bucket refills\n\nWhen you exceed the limit you'll get `429 rate_limit_exceeded` with a `Retry-After` header. Back off and retry."
},
"tags": [
{
"name": "Product Tours",
"description": "Multi-step walkthroughs anchored to elements in your app."
},
{
"name": "Checklists",
"description": "Onboarding task lists that track completion per user."
},
{
"name": "Smart Tips",
"description": "Contextual tooltips attached to an element."
},
{
"name": "Announcements",
"description": "Banners, popups and toasts for time-boxed messages."
},
{
"name": "Changelogs",
"description": "Product update feeds and the posts inside them."
},
{
"name": "Roadmaps",
"description": "Public roadmaps with voting and feature requests."
},
{
"name": "Micro Surveys",
"description": "One-question in-app surveys."
},
{
"name": "Feedback Widgets",
"description": "Free-form feedback collectors and their responses."
},
{
"name": "NPS Widgets",
"description": "Net Promoter Score surveys, responses and scores."
},
{
"name": "Users",
"description": "Identified end users and their attributes."
},
{
"name": "Tags",
"description": "Labels shared across widget types."
},
{
"name": "Stats",
"description": "Engagement and completion metrics per widget."
}
],
"servers": [
{
"url": "https://api.produktly.com/api/v1"
}
],
"security": [
{
"BearerAuth": []
}
],
"components": {
"securitySchemes": {
"BearerAuth": {
"type": "http",
"scheme": "bearer",
"description": "Use an API key from the Produktly dashboard → Settings → API keys."
}
},
"schemas": {
"Changelog": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"active": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"name",
"active",
"createdAt"
]
},
"Pagination": {
"type": "object",
"properties": {
"total": {
"type": "integer"
},
"limit": {
"type": "integer"
},
"offset": {
"type": "integer"
}
},
"required": [
"total",
"limit",
"offset"
]
},
"ChangelogList": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Changelog"
}
},
"pagination": {
"$ref": "#/components/schemas/Pagination"
}
},
"required": [
"data",
"pagination"
]
},
"Error": {
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"details": {
"type": "object",
"additionalProperties": {}
}
},
"required": [
"code",
"message"
]
}
},
"required": [
"error"
]
},
"Tag": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"backgroundColor": {
"type": [
"string",
"null"
]
},
"textColor": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name",
"backgroundColor",
"textColor"
]
},
"ChangelogPost": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"title": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"date": {
"type": "string",
"format": "date-time"
},
"active": {
"type": "boolean"
},
"tags": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Tag"
}
}
},
"required": [
"id",
"title",
"description",
"date",
"active",
"tags"
]
},
"ChangelogPostList": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ChangelogPost"
}
},
"pagination": {
"$ref": "#/components/schemas/Pagination"
}
},
"required": [
"data",
"pagination"
]
},
"CreateChangelogPostBody": {
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"description": {
"type": "string"
},
"date": {
"type": "string"
},
"active": {
"type": "boolean"
},
"tagNames": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"title"
]
},
"UpdateChangelogPostBody": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"date": {
"type": "string"
},
"active": {
"type": "boolean"
},
"tagNames": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"FeedbackWidget": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"active": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"name",
"active",
"createdAt"
]
},
"FeedbackWidgetList": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FeedbackWidget"
}
},
"pagination": {
"$ref": "#/components/schemas/Pagination"
}
},
"required": [
"data",
"pagination"
]
},
"FeedbackResponse": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"type": {
"type": "string"
},
"optionName": {
"type": [
"string",
"null"
]
},
"emoji": {
"type": [
"string",
"null"
]
},
"message": {
"type": [
"string",
"null"
]
},
"email": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"fromUrl": {
"type": [
"string",
"null"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"type",
"optionName",
"emoji",
"message",
"email",
"name",
"fromUrl",
"createdAt"
]
},
"FeedbackResponseList": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FeedbackResponse"
}
},
"pagination": {
"$ref": "#/components/schemas/Pagination"
}
},
"required": [
"data",
"pagination"
]
},
"FeedbackWidgetDetail": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"active": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"folderId": {
"type": [
"integer",
"null"
]
},
"themeId": {
"type": [
"integer",
"null"
]
},
"settings": {
"type": "object",
"additionalProperties": {}
},
"rules": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
}
},
"ruleLogicalOperator": {
"type": [
"string",
"null"
]
},
"options": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
}
},
"dashboardUrl": {
"type": "string"
},
"note": {
"type": "string"
}
},
"required": [
"id",
"name",
"active",
"createdAt",
"updatedAt",
"folderId",
"themeId",
"settings",
"rules",
"ruleLogicalOperator",
"options",
"dashboardUrl"
]
},
"RoadmapItem": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"votesCount": {
"type": "integer"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"tag": {
"allOf": [
{
"$ref": "#/components/schemas/Tag"
},
{
"type": [
"object",
"null"
]
}
]
}
},
"required": [
"id",
"name",
"description",
"votesCount",
"updatedAt",
"tag"
]
},
"RoadmapSection": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RoadmapItem"
}
}
},
"required": [
"id",
"name"
]
},
"Roadmap": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"publicName": {
"type": [
"string",
"null"
]
},
"active": {
"type": "boolean"
},
"customDomain": {
"type": [
"string",
"null"
]
},
"publicId": {
"type": "string"
},
"sections": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RoadmapSection"
}
}
},
"required": [
"id",
"name",
"publicName",
"active",
"customDomain",
"publicId"
]
},
"RoadmapList": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Roadmap"
}
},
"pagination": {
"$ref": "#/components/schemas/Pagination"
}
},
"required": [
"data",
"pagination"
]
},
"NpsWidget": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"active": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"name",
"active",
"createdAt"
]
},
"NpsWidgetList": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NpsWidget"
}
},
"pagination": {
"$ref": "#/components/schemas/Pagination"
}
},
"required": [
"data",
"pagination"
]
},
"NpsScore": {
"type": "object",
"properties": {
"npsScore": {
"type": "number"
},
"totalResponses": {
"type": "integer"
},
"promoters": {
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"percentage": {
"type": "number"
}
},
"required": [
"count",
"percentage"
]
},
"passives": {
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"percentage": {
"type": "number"
}
},
"required": [
"count",
"percentage"
]
},
"detractors": {
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"percentage": {
"type": "number"
}
},
"required": [
"count",
"percentage"
]
}
},
"required": [
"npsScore",
"totalResponses",
"promoters",
"passives",
"detractors"
]
},
"NpsResponse": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"rating": {
"type": "string"
},
"comment": {
"type": [
"string",
"null"
]
},
"email": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"userId": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
},
"language": {
"type": [
"string",
"null"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"rating",
"comment",
"email",
"name",
"userId",
"url",
"language",
"createdAt"
]
},
"NpsResponseList": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NpsResponse"
}
},
"pagination": {
"$ref": "#/components/schemas/Pagination"
}
},
"required": [
"data",
"pagination"
]
},
"NpsWidgetDetail": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"active": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"folderId": {
"type": [
"integer",
"null"
]
},
"themeId": {
"type": [
"integer",
"null"
]
},
"settings": {
"type": "object",
"additionalProperties": {}
},
"rules": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
}
},
"ruleLogicalOperator": {
"type": [
"string",
"null"
]
},
"dashboardUrl": {
"type": "string"
},
"note": {
"type": "string"
}
},
"required": [
"id",
"name",
"active",
"createdAt",
"updatedAt",
"folderId",
"themeId",
"settings",
"rules",
"ruleLogicalOperator",
"dashboardUrl"
]
},
"WidgetStats": {
"type": "object",
"properties": {
"entityType": {
"type": "string"
},
"period": {
"type": "object",
"properties": {
"start": {
"type": "string"
},
"end": {
"type": "string"
}
},
"required": [
"start",
"end"
]
},
"widgets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"entityId": {
"type": "integer"
},
"name": {
"type": [
"string",
"null"
]
},
"archivedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"events": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"uniqueUsers": {
"type": "integer"
}
},
"required": [
"count",
"uniqueUsers"
]
}
},
"totalEvents": {
"type": "integer"
},
"totalUniqueUsers": {
"type": "integer"
}
},
"required": [
"entityId",
"name",
"archivedAt",
"events",
"totalEvents",
"totalUniqueUsers"
]
}
}
},
"required": [
"entityType",
"period",
"widgets"
]
},
"StatsSummary": {
"type": "object",
"properties": {
"period": {
"type": "object",
"properties": {
"start": {
"type": "string"
},
"end": {
"type": "string"
},
"days": {
"type": "integer"
},
"granularity": {
"type": "string"
}
},
"required": [
"start",
"end",
"days",
"granularity"
]
},
"previousPeriod": {
"type": "object",
"properties": {
"start": {
"type": "string"
},
"end": {
"type": "string"
}
},
"required": [
"start",
"end"
]
},
"features": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"label": {
"type": "string"
},
"primary": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"count": {
"type": "integer"
},
"previousCount": {
"type": "integer"
},
"changePct": {
"type": [
"number",
"null"
]
}
},
"required": [
"label",
"count",
"previousCount",
"changePct"
]
},
"secondary": {
"type": [
"object",
"null"
],
"properties": {
"label": {
"type": "string"
},
"value": {
"type": [
"number",
"null"
]
},
"previousValue": {
"type": [
"number",
"null"
]
},
"changePp": {
"type": [
"number",
"null"
]
}
},
"required": [
"label",
"value",
"previousValue",
"changePp"
]
},
"events": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"uniqueUsers": {
"type": "integer"
},
"previousCount": {
"type": "integer"
},
"previousUniqueUsers": {
"type": "integer"
}
},
"required": [
"count",
"uniqueUsers",
"previousCount",
"previousUniqueUsers"
]
}
},
"trend": {
"type": "array",
"items": {
"type": "object",
"properties": {
"period": {
"type": "string"
},
"count": {
"type": "integer"
}
},
"required": [
"period",
"count"
]
}
}
},
"required": [
"type",
"label",
"primary",
"secondary",
"events",
"trend"
]
}
}
},
"required": [
"period",
"previousPeriod",
"features"
]
},
"User": {
"type": "object",
"properties": {
"userId": {
"type": "string"
},
"metadata": {
"type": [
"object",
"null"
],
"additionalProperties": {}
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"userId",
"metadata",
"createdAt",
"updatedAt"
]
},
"TagList": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Tag"
}
},
"pagination": {
"$ref": "#/components/schemas/Pagination"
}
},
"required": [
"data",
"pagination"
]
},
"ProductTourSummary": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"active": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"folderId": {
"type": [
"integer",
"null"
]
}
},
"required": [
"id",
"name",
"active",
"createdAt",
"updatedAt",
"folderId"
]
},
"ProductTourList": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ProductTourSummary"
}
},
"pagination": {
"$ref": "#/components/schemas/Pagination"
}
},
"required": [
"data",
"pagination"
]
},
"ProductTourStep": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"highlight",
"modal",
"static",
"welcome",
"toast",
"redirect"
]
},
"id": {
"type": "string",
"description": "Assigned by Produktly when the step is stored"
}
},
"required": [
"type"
],
"description": "A stored tour step. Fields vary by type; see the create or update request body for each type's full shape."
},
"ProductTourSettings": {
"type": "object",
"properties": {
"tourStart": {
"type": "string",
"enum": [
"minified",
"immediate-minified",
"immediate",
"manually"
],
"description": "How the tour starts. Default \"minified\" (beacon). \"manually\" = only via Produktly.startTour()"
},
"startDelay": {
"type": "number",
"minimum": 0,
"description": "Seconds before start. Default 0"
},
"trigger": {
"type": "string",
"enum": [
"once",
"always"
],
"description": "Default \"once\""
},
"saveProgress": {
"type": "boolean",
"description": "Resume where the user left off. Default true"
},
"hideBeacon": {
# --- truncated at 32 KB (413 KB total) ---
# Full source: https://artifacts.apis.io/produktly-com/openapi/_original/produktly-com-api-openapi.json