Notes

Create an internal note for a profile

POST create note

Endpoint

POST /api/v1/profiles/:profile_id/notes

Parameters

Name Description
note[comment] required Note comment

Request

Route

POST /api/v1/profiles/606/notes

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNDgwIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTg0LCJleHAiOjE3NDAxNDM1ODQsImp0aSI6IjNiZWY3ZDhlLTg2MGMtNGE5Zi1hZjlkLWIxYTljNGM5Y2UxZCJ9.U6LNspAlJgj67yGYbUd69IAAXz7677bI3uMuVd7hAxU
Host: example.org
Cookie: 

Body

{
  "note": {
    "comment": "This is a note"
  }
}

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"963515320d5eb0b051d8de22ec0db2ca"
cache-control: max-age=0, private, must-revalidate
x-request-id: d658de54-501f-4696-97ed-dd2adf70fa43
x-runtime: 0.009470
content-length: 155

Body

{
  "note": {
    "id": 2,
    "admin": {
      "id": 1480,
      "admin": true,
      "image": null,
      "title": "Wiley Tremblay"
    },
    "comment": "This is a note",
    "created_at": "2025-01-22T13:13:04.541Z"
  }
}