Back to KustomerGet all Drafts by Customer
Retrieves all outbound drafts to a customer using the customer's unique ID.
Any one of the following roles is required for this endpoint:
|Legacy Role|Equivalent Permission Set Role|
|-----|--------|
|org.user.draft.read|org.permission.draft.read|
Input
type: object
properties:
parameters:
type: object
properties:
id:
type: string
description: (Required) Unique ID of the customer.
required:
- id
title: Parameters
Output
type: object
properties:
meta:
type: object
properties:
pageSize:
type: string
page:
type: string
data:
type: array
items:
type: object
properties:
id:
type: string
type:
type: string
attributes:
type: object
properties:
channel:
type: string
body:
type: string
status:
type: string
createdAt:
type: string
updatedAt:
type: string
modifiedAt:
type: string
payload:
type: object
properties:
draftJs:
type: object
properties:
blocks:
type: array
items:
type: object
properties:
data:
type: string
entityRanges:
type: string
inlineStyleRanges:
type: string
depth:
type: string
type:
type: string
text:
type: string
key:
type: string
entityMap:
type: string
relationships:
type: object
properties:
org:
type: object
properties:
data:
type: object
properties:
type:
type: string
id:
type: string
links:
type: object
properties:
self:
type: string
customer:
type: object
properties:
data:
type: object
properties:
type:
type: string
id:
type: string
links:
type: object
properties:
self:
type: string
createdBy:
type: object
properties:
data:
type: object
properties:
type:
type: string
id:
type: string
links:
type: object
properties:
self:
type: string
modifiedBy:
type: object
properties:
data:
type: object
properties:
type:
type: string
id:
type: string
links:
type: object
properties:
self:
type: string
conversation:
type: object
properties:
data:
type: object
properties:
type:
type: string
id:
type: string
links:
type: object
properties:
self:
type: string
links:
type: object
properties:
self:
type: string
first:
type: string
prev:
type: string
next:
type: string
included:
type: string