Create Thread
Create a new thread (note) for your workspace. The text can be HTML formatted for things like line breaks, lists, formatting and headings.
Request Body
Thread content (minimum 1 character). Can be HTML formatted for line breaks, lists, formatting and headings.
Pain level associated with this thread
Email address of the contact who provided this thread
Optional title for the thread
Name of the contact who provided this thread
ID of the project this thread is related to
Whether to send Slack notification
Whether to send email notification
Response
Unique identifier for the created thread
Email of the contact who provided the thread
Name of the contact who provided the thread
ID of the related project
Current state of the thread (NEW, PROCESSED, COMPLETED, SNOOZED, UNSNOOZED)
Timestamp when the thread was created
Timestamp when the thread was last updated
ID of the workspace this thread belongs to
Example Request
{
"text": "The current dashboard is too cluttered and hard to navigate. Users are struggling to find the most important metrics.",
"painLevel": "HIGH",
"contactEmail": "john@acme.com",
"title": "Dashboard Navigation Issues",
"origin": "API",
"contactName": "John Doe",
"projectId": "proj_123",
"notify": {
"slack": true,
"email": false
}
}
Example Response
{
"id": "insight_123456789",
"text": "The current dashboard is too cluttered and hard to navigate. Users are struggling to find the most important metrics.",
"title": "Dashboard Navigation Issues",
"painLevel": "HIGH",
"origin": "API",
"contactEmail": "john@acme.com",
"contactName": "John Doe",
"projectId": "proj_123",
"state": "NEW",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z",
"workspaceId": "ws_123456789"
}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Available options:
UNKNOWN,
LOW,
MEDIUM,
HIGH
Available options:
API,
INAPP,
PORTAL,
SLACK,
SLACK_CONNECT,
INTERCOM,
INTERCOM_ATTACHMENT,
ZENDESK_ATTACHMENT,
FRONT_ATTACHMENT,
EMAIL,
ZAPIER,
HUBSPOT,
PLAIN,
CALENDAR,
WIDGET
createdAt
string<date-time>
required
updatedAt
string<date-time>
required