curl --request GET \
--url https://productlane.com/api/v1/insights/{id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"isDeleted": true,
"showRecordCall": true,
"lastInboundMessageAt": "2023-11-07T05:31:56Z",
"lastOutboundMessageAt": "2023-11-07T05:31:56Z",
"lastStateChangeAt": "2023-11-07T05:31:56Z",
"text": "<string>",
"painLevel": "<string>",
"state": "<string>",
"origin": "<string>",
"title": "<string>",
"workspaceId": "<string>",
"contactId": "<string>",
"companyId": "<string>",
"assigneeId": "<string>",
"attachments": [
"<unknown>"
],
"uniqueId": "<string>",
"customerNeeds": [
{
"id": "<string>",
"feedbackId": "<string>",
"issueId": "<string>",
"linearCustomerNeedId": "<string>",
"priority": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"projectId": "<string>"
}
],
"contact": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"isDeleted": true,
"version": 123,
"email": "<string>",
"name": "<string>",
"imageUrl": "<string>",
"workspaceId": "<string>",
"companyId": "<string>",
"intercomId": "<string>",
"hubspotId": "<string>",
"productboardId": "<string>",
"zendeskId": "<string>"
},
"company": {
"id": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"isDeleted": true,
"version": 123,
"linearCustomerId": "<string>",
"statusId": "<string>",
"statusName": "<string>",
"statusColor": "<string>",
"logoUrl": "<string>",
"domains": [
"<string>"
],
"autoAdd": true,
"workspaceId": "<string>",
"size": "<string>",
"revenue": "<string>",
"tierId": "<string>",
"tierName": "<string>",
"intercomId": "<string>",
"hubspotId": "<string>",
"productboardId": "<string>",
"customerId": "<string>",
"domain": "<string>"
},
"assignee": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"role": "<string>",
"imageUrl": "<string>",
"selectedTeamIds": [
"<unknown>"
]
},
"conversation": [
{
"id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"type": "<string>",
"data": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"date": "2023-11-07T05:31:56Z",
"isDeleted": true,
"type": "<string>",
"subject": "<string>",
"originalRecipient": "<string>",
"from": {
"name": "<string>",
"email": "<string>",
"mailboxHash": "<string>"
},
"to": [
{
"name": "<string>",
"email": "<string>",
"mailboxHash": "<string>"
}
],
"cc": [
"<unknown>"
],
"bcc": [
"<unknown>"
],
"attachments": [
"<unknown>"
],
"textContent": "<string>",
"htmlContent": "<string>",
"postmarkMessageId": "<string>",
"messageId": "<string>",
"threadId": "<string>",
"workspaceId": "<string>",
"uniqueId": "<string>",
"userId": "<string>"
}
}
],
"snoozedUntil": "<string>",
"reporterId": "<string>",
"recordingId": "<string>",
"videoId": "<string>",
"slackChannelId": "<string>",
"linearAttachmentId": "<string>",
"intercomId": "<string>",
"frontId": "<string>",
"zendeskId": "<string>",
"hubspotId": "<string>",
"plainId": "<string>",
"productboardId": "<string>",
"slackReplyId": "<string>"
}Get thread by ID. Authentication is required.
curl --request GET \
--url https://productlane.com/api/v1/insights/{id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"isDeleted": true,
"showRecordCall": true,
"lastInboundMessageAt": "2023-11-07T05:31:56Z",
"lastOutboundMessageAt": "2023-11-07T05:31:56Z",
"lastStateChangeAt": "2023-11-07T05:31:56Z",
"text": "<string>",
"painLevel": "<string>",
"state": "<string>",
"origin": "<string>",
"title": "<string>",
"workspaceId": "<string>",
"contactId": "<string>",
"companyId": "<string>",
"assigneeId": "<string>",
"attachments": [
"<unknown>"
],
"uniqueId": "<string>",
"customerNeeds": [
{
"id": "<string>",
"feedbackId": "<string>",
"issueId": "<string>",
"linearCustomerNeedId": "<string>",
"priority": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"projectId": "<string>"
}
],
"contact": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"isDeleted": true,
"version": 123,
"email": "<string>",
"name": "<string>",
"imageUrl": "<string>",
"workspaceId": "<string>",
"companyId": "<string>",
"intercomId": "<string>",
"hubspotId": "<string>",
"productboardId": "<string>",
"zendeskId": "<string>"
},
"company": {
"id": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"isDeleted": true,
"version": 123,
"linearCustomerId": "<string>",
"statusId": "<string>",
"statusName": "<string>",
"statusColor": "<string>",
"logoUrl": "<string>",
"domains": [
"<string>"
],
"autoAdd": true,
"workspaceId": "<string>",
"size": "<string>",
"revenue": "<string>",
"tierId": "<string>",
"tierName": "<string>",
"intercomId": "<string>",
"hubspotId": "<string>",
"productboardId": "<string>",
"customerId": "<string>",
"domain": "<string>"
},
"assignee": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"role": "<string>",
"imageUrl": "<string>",
"selectedTeamIds": [
"<unknown>"
]
},
"conversation": [
{
"id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"type": "<string>",
"data": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"date": "2023-11-07T05:31:56Z",
"isDeleted": true,
"type": "<string>",
"subject": "<string>",
"originalRecipient": "<string>",
"from": {
"name": "<string>",
"email": "<string>",
"mailboxHash": "<string>"
},
"to": [
{
"name": "<string>",
"email": "<string>",
"mailboxHash": "<string>"
}
],
"cc": [
"<unknown>"
],
"bcc": [
"<unknown>"
],
"attachments": [
"<unknown>"
],
"textContent": "<string>",
"htmlContent": "<string>",
"postmarkMessageId": "<string>",
"messageId": "<string>",
"threadId": "<string>",
"workspaceId": "<string>",
"uniqueId": "<string>",
"userId": "<string>"
}
}
],
"snoozedUntil": "<string>",
"reporterId": "<string>",
"recordingId": "<string>",
"videoId": "<string>",
"slackChannelId": "<string>",
"linearAttachmentId": "<string>",
"intercomId": "<string>",
"frontId": "<string>",
"zendeskId": "<string>",
"hubspotId": "<string>",
"plainId": "<string>",
"productboardId": "<string>",
"slackReplyId": "<string>"
}GET /api/v1/insights/insight_123456789
{
"id": "insight_123456789",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T16:35:00Z",
"isDeleted": false,
"showRecordCall": false,
"lastInboundMessageAt": "2024-01-15T14:22:00Z",
"lastOutboundMessageAt": "2024-01-15T15:21:00Z",
"lastStateChangeAt": "2024-01-15T15:30:00Z",
"text": "<p>The current dashboard is too cluttered and hard to navigate. Users are struggling to find the most important metrics.</p>",
"painLevel": "HIGH",
"state": "PROCESSED",
"origin": "EMAIL",
"title": "Dashboard Navigation Issues",
"snoozedUntil": null,
"workspaceId": "ws_123456789",
"contactId": "contact_123456789",
"companyId": "company_123456789",
"reporterId": null,
"assigneeId": "user_123456789",
"attachments": [],
"recordingId": null,
"videoId": null,
"slackChannelId": null,
"linearAttachmentId": null,
"intercomId": null,
"frontId": null,
"zendeskId": null,
"hubspotId": null,
"plainId": null,
"productboardId": null,
"slackReplyId": null,
"uniqueId": "abc123def456ghi789",
"customerNeeds": [
{
"id": "customer_need_123",
"feedbackId": "insight_123456789",
"issueId": "issue_123",
"projectId": null,
"linearCustomerNeedId": "linear_need_123",
"priority": 0,
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
],
"contact": {
"id": "contact_123456789",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z",
"isDeleted": false,
"version": 1,
"email": "john@acme.com",
"name": "John Doe",
"imageUrl": "https://www.gravatar.com/avatar/example?d=404",
"workspaceId": "ws_123456789",
"intercomId": null,
"hubspotId": null,
"productboardId": null,
"companyId": "company_123456789",
"zendeskId": null
},
"company": {
"id": "company_123456789",
"name": "Acme Corporation",
"createdAt": "2024-01-10T08:00:00Z",
"updatedAt": "2024-01-15T14:22:00Z",
"isDeleted": false,
"version": 2,
"linearCustomerId": "linear_customer_123",
"size": null,
"revenue": null,
"statusId": "status_123",
"statusName": "Active",
"statusColor": "#5E6AD2",
"tierId": null,
"tierName": null,
"logoUrl": "https://example.com/logo.png",
"domains": ["acme.com"],
"autoAdd": false,
"workspaceId": "ws_123456789",
"intercomId": null,
"hubspotId": null,
"productboardId": null,
"customerId": null,
"domain": null
},
"assignee": {
"id": "user_123456789",
"name": "Jane Smith",
"email": "jane@example.com",
"role": "ADMIN",
"imageUrl": "https://example.com/avatar.jpg",
"selectedTeamIds": []
},
"conversation": [
{
"id": "message_123456789",
"timestamp": "2024-01-15T10:30:00Z",
"type": "email",
"data": {
"id": "message_123456789",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z",
"date": "2024-01-15T10:30:00Z",
"isDeleted": false,
"type": "INBOUND",
"subject": "Dashboard Navigation Issues",
"originalRecipient": "support@example.com",
"from": {
"name": "John Doe",
"email": "john@acme.com",
"mailboxHash": ""
},
"to": [
{
"name": "Support Team",
"email": "support@example.com",
"mailboxHash": ""
}
],
"cc": [],
"bcc": [],
"attachments": [],
"textContent": "The current dashboard is too cluttered and hard to navigate. Users are struggling to find the most important metrics.",
"htmlContent": "<p>The current dashboard is too cluttered and hard to navigate. Users are struggling to find the most important metrics.</p>",
"postmarkMessageId": "postmark_123456789",
"messageId": "<message_123456789@example.com>",
"uniqueId": null,
"threadId": "insight_123456789",
"workspaceId": "ws_123456789",
"userId": null
}
},
{
"id": "message_987654321",
"timestamp": "2024-01-15T15:21:00Z",
"type": "email",
"data": {
"id": "message_987654321",
"createdAt": "2024-01-15T15:21:00Z",
"updatedAt": "2024-01-15T15:21:00Z",
"date": "2024-01-15T15:21:00Z",
"isDeleted": false,
"type": "OUTBOUND",
"subject": "Re: Dashboard Navigation Issues",
"originalRecipient": "john@acme.com",
"from": {
"name": "Jane Smith (Example)",
"email": "support@example.com",
"mailboxHash": ""
},
"to": [
{
"name": "John Doe",
"email": "john@acme.com",
"mailboxHash": ""
}
],
"cc": [],
"bcc": [],
"attachments": [],
"textContent": "Thank you for your feedback. We're working on improving the dashboard navigation. Please see our roadmap for upcoming changes.",
"htmlContent": "<p>Thank you for your feedback. We're working on improving the dashboard navigation. Please see our roadmap for upcoming changes.</p>",
"postmarkMessageId": "postmark_987654321",
"messageId": "<message_987654321@example.com>",
"uniqueId": null,
"threadId": "insight_123456789",
"workspaceId": "ws_123456789",
"userId": "user_123456789"
}
}
]
}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Include conversation history (emails, Slack messages, live chat messages, and comments) merged into a single chronological array
true, false Successful response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes