Openapi
Add an internal note to a quote.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidquoteId*stringuuidThe quote note payload.
application/jsonselections*array<>items <= 100text*string1 <= length <= 20000Returns the created quote note.
application/jsonauthor*|nullauthorId*|uuidcontentDoc*contentText*string1 <= length <= 20000createdAt*stringdate-timeid*stringuuidorganizationId*stringuuidquoteId*quoteIdSchemauuidupdatedAt*stringdate-timecurl -X POST 'https://app.localhost/api/v1/organizations/123/quotes/123/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" }, "authorId": "ee6f7132-bd0a-4fcd-83b3-a8022377067b", "contentDoc": { "blocks": [ { "content": [ { "text": "string", "type": "text" } ], "type": "paragraph" } ], "version": 1 }, "contentText": "string", "createdAt": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7", "updatedAt": "2019-08-24T14:15:22Z"}