Create a plain or rich document note

POST
/crm/records/{record_id}/notes

Authorization

headerAuthorizationBearer <Relevate API key>

Relevate API key scoped to the operation's product and environment.

Path Parameters

record_id*string

Request Body

application/json
  1. body

Create requires a nonempty body or document. Rich content derives body and mentions. PATCH title alone preserves current content; body without content switches to plain text.

body?string
Lengthlength <= 20000
content?|null
mentions?array<>
Itemsitems <= 100
title?string
Lengthlength <= 200

Response Body

Successful operation

application/json
  1. response
api_version*string
data*
Example Request
curl -X POST 'https://api.relevate.app/crm/records/string/notes' \
  -H 'Content-Type: application/json' \
  -d '{}'
Example Response
{
  "api_version": "string",
  "data": {
    "author_id": "string",
    "body": "string",
    "content": {
      "content": [
        {}
      ],
      "type": "doc"
    },
    "created_at": "2019-08-24T14:15:22Z",
    "deleted_at": "2019-08-24T14:15:22Z",
    "id": "string",
    "mention_records": [
      {
        "archived_at": "2019-08-24T14:15:22Z",
        "display_name": "string",
        "id": "string"
      }
    ],
    "mentions": [
      {
        "end": 1,
        "recordId": "string",
        "start": 0
      }
    ],
    "record_id": "string",
    "title": "string",
    "updated_at": "2019-08-24T14:15:22Z"
  }
}