Skip to main content
POST
/
promoter
Create an NPS response
curl --request POST \
  --url https://api.sleekplan.com/v1/promoter \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "vote": 5,
  "meta": {
    "referrer": "https://mywebsite.com/referrer_url"
  },
  "comment": "<string>",
  "user_id": 123,
  "force": false
}
'
{
  "status": "<string>",
  "data": {
    "promoter_id": 123,
    "action": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://sleekplan.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json
vote
integer
required

NPS rating 1–10.

Required range: 1 <= x <= 10
meta
object
comment
string
user_id
integer
force
boolean
default:false

By default a new value within 14 days replaces the previous one. force: true always creates a new record.

Response

200 - application/json

OK

status
string
data
object