Back to KustomerCreate a Note within Conversation
Creates a new note within a conversation. Optionally, allows you to @ mention another user in the organization.
Any one of the following roles is required for this endpoint:
|Legacy Role|Equivalent Permission Set Role|
|-----|--------|
|org.user.note.read|org.permission.note.create|
AUTHORIZATION
The org.admin
role is required for setting createdAt, createdBy, modifiedAt, and modifiedBy. Otherwise, these attributes are automatically set by the token.
Input
type: object
properties:
parameters:
type: object
properties:
id:
type: string
description: (Required) Unique ID of the Conversation
required:
- id
title: Parameters
data:
type: string
example: >-
"{\n \"body\": \"<string>\",\n \"id\": \"<string>\",\n
\"conversation\": \"<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}"
title: Data
Output
type: object
properties:
data:
type: object
properties:
type:
type: string
id:
type: string
attributes:
type: object
properties:
body:
type: string
createdAt:
type: string
updatedAt:
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
customer:
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
conversation:
type: object
properties:
links:
type: object
properties:
self:
type: string
data:
type: object
properties:
type:
type: string
id:
type: string
userMentions:
type: object
properties:
data:
type: array
items:
type: object
properties:
type:
type: string
id:
type: string
links:
type: object
properties:
self:
type: string