POST
/
insights
curl --request POST \
  --url https://productlane.com/api/v1/insights \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "text": "<string>",
  "painLevel": "UNKNOWN",
  "origin": "API_KEY_USER",
  "contactEmail": "jsmith@example.com",
  "contactName": "<string>",
  "projectId": "<string>",
  "notify": {
    "slack": true,
    "email": true
  }
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
text
string
required
Minimum length: 1
painLevel
enum<string>
required
Available options:
UNKNOWN,
LOW,
MEDIUM,
HIGH
contactEmail
string
required
title
string
origin
enum<string>
Available options:
API_KEY_USER,
INAPP,
PORTAL,
API,
SLACK,
SLACK_CONNECT,
INTERCOM,
INTERCOM_ATTACHMENT,
ZENDESK_ATTACHMENT,
FRONT_ATTACHMENT,
EMAIL,
ZAPIER,
HUBSPOT,
PLAIN,
CALENDAR,
WIDGET
contactName
string
projectId
string
notify
object

Response

200
application/json
Successful response

The response is of type any.