Openapi
Add a note to a customer timeline.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
customerId*stringuuidorganizationId*stringuuidThe customer note payload.
application/jsonselections*array<>items <= 100text*string1 <= length <= 20000Returns the created customer note.
application/jsonauthor*|nullcontentDoc*contentText*stringcreatedAt*stringdate-timecreatedBy*|uuidcustomerId*customerIdSchemauuidid*stringuuidorganizationId*organizationIdSchemauuidupdatedAt*stringdate-timecurl -X POST 'https://app.localhost/api/v1/organizations/123/customers/123e4567-e89b-12d3-a456-426614174000/notes' \ -H 'Content-Type: application/json' \ -d '{ "selections": [ { "end": 1, "reference": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "user" }, "start": 0 } ], "text": "string"}'{ "author": { "avatarUrl": "http://example.com", "displayName": "string", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b" }, "contentDoc": { "blocks": [ { "content": [ { "text": "string", "type": "text" } ], "type": "paragraph" } ], "version": 1 }, "contentText": "string", "createdAt": "2019-08-24T14:15:22Z", "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e", "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "updatedAt": "2019-08-24T14:15:22Z"}