Back to KustomerBulk Create Notes
Create notes in bulk.
Any one of the following roles is required for this endpoint:
|Legacy Role|Equivalent Permission Set Role|
|-----|--------|
|org.user.note.write|org.permission.note.create|
Input
type: object
properties:
data:
type: string
example: >-
"[\n {\n \"conversation\": \"<string>\",\n \"body\":
\"<string>\",\n \"id\": \"<string>\",\n \"externalId\":
\"<string>\",\n \"userMentions\": [\n {\n
\"user\": \"<string>\",\n \"team\":
\"<string>\"\n },\n {\n \"user\":
\"<string>\",\n \"team\": \"<string>\"\n
}\n ],\n \"attachments\": [\n {\n
\"_id\": \"<object-id>\",\n \"name\":
\"<string>\",\n \"contentType\":
\"<string>\",\n \"contentLength\":
\"<number>\",\n \"sourceId\": \"<object-id>\"\n
}\n ],\n \"createdAt\": \"<dateTime>\",\n
\"modifiedAt\": \"<dateTime>\",\n \"createdBy\":
\"<object-id>\",\n \"modifiedBy\": \"<object-id>\",\n
\"importedAt\": \"<dateTime>\",\n \"lang\": \"<string>\"\n
},\n {\n \"conversation\": \"<string>\",\n \"body\":
\"<string>\",\n \"id\": \"<string>\",\n \"externalId\":
\"<string>\",\n \"userMentions\": [\n {\n
\"user\": \"<string>\",\n \"team\":
\"<string>\"\n },\n {\n \"user\":
\"<string>\",\n \"team\": \"<string>\"\n
}\n ],\n \"attachments\": [\n {\n
\"_id\": \"<object-id>\",\n \"name\":
\"<string>\",\n \"contentType\":
\"<string>\",\n \"contentLength\":
\"<number>\",\n \"sourceId\": \"<object-id>\"\n
}\n ],\n \"createdAt\": \"<dateTime>\",\n
\"modifiedAt\": \"<dateTime>\",\n \"createdBy\":
\"<object-id>\",\n \"modifiedBy\": \"<object-id>\",\n
\"importedAt\": \"<dateTime>\",\n \"lang\": \"<string>\"\n }\n]"
title: Data
Output
type: object
properties:
data:
type: object
properties:
type:
type: string
id:
type: string
attributes:
type: object
properties:
ids:
type: string
context:
type: string
status:
type: string
v2:
type: string
payload:
type: object
properties:
api:
type: object
properties:
data:
type: array
items:
type: object
properties:
conversation:
type: string
body:
type: string
userMentions:
type: array
items:
type: object
properties:
user:
type: string
team:
type: string
path:
type: string
user:
type: object
properties:
id:
type: string
userType:
type: string
roles:
type: array
items:
type: string
orgName:
type: string
subject:
type: string
org:
type: string
requestId:
type: string
service:
type: string
method:
type: string
createdAt:
type: string
updatedAt:
type: string
completed:
type: string
relationships:
type: object
properties:
org:
type: object
properties:
links:
type: object
properties:
self:
type: string
data:
type: object
properties:
type:
type: string
id:
type: string
createdBy:
type: object
properties:
links:
type: object
properties:
self:
type: string
data:
type: object
properties:
type:
type: string
id:
type: string
links:
type: object
properties:
self:
type: string