{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"conversationId": {
"type": "string",
"description": "Conversation ID"
},
"recordingId": {
"type": "string",
"description": "Recording ID"
},
"clearExport": {
"type": "boolean",
"description": "Whether to clear the pending export for the recording"
},
"actualTranscodeTimeMs": {
"type": "integer",
"description": "Actual Transcode Time Ms"
},
"annotations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Annotation id. All pause annotations on a recording will share an ID value, bookmark annotations will have unique IDs, and hold annotations will have randomly generated UUIDs (i.e. the ID will change at each request)."
},
"name": {
"type": "string",
"description": "The name value"
},
"type": {
"type": "string",
"description": "The type value"
},
"location": {
"type": "integer",
"format": "int64",
"description": "Offset of annotation in milliseconds."
},
"durationMs": {
"type": "integer",
"format": "int64",
"description": "Duration of annotation in milliseconds."
},
"absoluteLocation": {
"type": "integer",
"format": "int64",
"description": "Offset of annotation (milliseconds) from start of recording (after removing the cumulative duration of all pauses)."
},
"absoluteDurationMs": {
"type": "integer",
"format": "int64",
"description": "Duration of annotation (milliseconds)."
},
"recordingLocation": {
"type": "integer",
"format": "int64",
"description": "Offset of annotation (milliseconds) from start of recording, adjusted for any recording cuts"
},
"recordingDurationMs": {
"type": "integer",
"format": "int64",
"description": "Duration of annotation (milliseconds), adjusted for any recording cuts."
},
"user": {
"type": "object",
"description": "The user value"
},
"description": {
"type": "string",
"description": "Text of annotation. Maximum character limit is 500."
},
"reason": {
"type": "string",
"enum": [
"Hold",
"SecurePause",
"FlowOrQueue",
"Pause"
],
"description": "Reason for a pause annotation. Valid values: Hold,SecurePause,FlowOrQueue,Pause"
},
"annotations": {
"type": "array",
"items": {
"type": "object"
},
"description": "List of annotations"
},
"realtimeLocation": {
"type": "integer",
"format": "int64",
"description": "Offset of annotation (milliseconds) from start of the recording before removing the cumulative duration of all pauses before this annotation"
},
"selfUri": {
"type": "string",
"format": "uri",
"description": "The URI for this object"
}
}
},
"description": "Annotations that belong to the recording."
},
"archiveDate": {
"type": "string",
"description": "The date the recording will be archived. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z"
},
"archiveMedium": {
"type": "string",
"description": "The type of archive medium used. Example: CloudArchive",
"enum": [
"CLOUDARCHIVE"
]
},
"associatedConversationIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of associated conversation IDs"
},
"creationTime": {
"type": "string",
"description": "The creation time of the recording. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z"
},
"deleteDate": {
"type": "string",
"description": "The date the recording will be deleted. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z"
},
"emailTranscript": {
"type": "array",
"items": {
"type": "object",
"properties": {
"htmlBody": {
"type": "string",
"description": "Html Body"
},
"textBody": {
"type": "string",
"description": "Text Body"
},
"id": {
"type": "string",
"description": "The id value"
},
"to": {
"type": "array",
"items": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"description": "The to value"
},
"cc": {
"type": "array",
"items": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"description": "The cc value"
},
"bcc": {
"type": "array",
"items": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"description": "The bcc value"
},
"from": {
"type": "object",
"description": "The from value"
},
"replyTo": {
"type": "object",
"description": "Reply To"
},
"subject": {
"type": "string",
"description": "The subject value"
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"contentPath": {
"type": "string"
},
"contentType": {
"type": "string"
},
"attachmentId": {
"type": "string"
},
"contentLength": {
"type": "integer"
}
}
},
"description": "The attachments value"
},
"time": {
"type": "string",
"format": "date-time",
"description": "Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z"
}
}
},
"description": "Represents an email transcript"
},
"endTime": {
"type": "string",
"description": "The end time of the recording. Null when there is no playable media."
},
"estimatedTranscodeTimeMs": {
"type": "integer",
"description": "Estimated Transcode Time Ms"
},
"exportDate": {
"type": "string",
"description": "The date the recording will be exported. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z"
},
"exportedDate": {
"type": "string",
"description": "The date the recording was exported. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z"
},
"fileState": {
"type": "string",
"description": "Represents the current file state for a recording. Examples: Uploading, Archived, etc",
"enum": [
"ARCHIVED",
"AVAILABLE",
"DELETED",
"RESTORED",
"RESTORING",
"UPLOADING",
"ERROR"
]
},
"id": {
"type": "string",
"description": "The globally unique identifier for the object."
},
"maxAllowedRestorationsForOrg": {
"type": "integer",
"description": "How many archive restorations the organization is allowed to have. Deprecated - Always returns 10000 since the restoration limit is no longer enforced."
},
"media": {
"type": "string",
"description": "The media type of the recording. This could be audio, chat, messaging, email, or screen."
},
"mediaSubject": {
"type": "string",
"description": "The media subject of the recording."
},
"mediaSubtype": {
"type": "string",
"description": "The media subtype of the recording.",
"enum": [
"Trunk",
"Station",
"Consult",
"Screen",
"Snippet"
]
},
"mediaUris": {
"type": "object",
"description": "The different mediaUris for the recording. Null when there is no playable media."
},
"messagingTranscript": {
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "The message sender session id."
},
"fromUser": {
"type": "object",
"description": "From User"
},
"fromExternalContact": {
"type": "object",
"description": "From External Contact"
},
"to": {
"type": "string",
"description": "The message recipient."
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "The time when the message was sent. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z"
},
"id": {
"type": "string",
"description": "A globally unique identifier for this communication."
},
"status": {
"type": "string",
"description": "Status of the message"
},
"purpose": {
"type": "string",
"description": "A well known string that specifies the purpose or type of the participant on this communication."
},
"participantId": {
"type": "string",
"description": "A globally unique identifier for the participant on this communication."
},
"queue": {
"type": "object",
"description": "The queue value"
},
"workflow": {
"type": "object",
"description": "The workflow value"
},
"messageText": {
"type": "string",
"description": "The content of this message."
},
"messageMediaAttachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The location of the media, useful for retrieving it"
},
"mediaType": {
"type": "string",
"description": "The optional internet media type of the the media object.If null then the media type should be dictated by the url."
},
"contentLength": {
"type": "integer",
"description": "The optional content length of the the media object, in bytes."
},
"name": {
"type": "string",
"description": "The name of the media object."
},
"id": {
"type": "string",
"description": "A globally unique identifier for the media object."
}
}
},
"description": "List of media objects attached with this message."
},
"messageStickerAttachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The location of the media, useful for retrieving it"
},
"id": {
"type": "string",
"description": "A globally unique identifier for the media object."
}
}
},
"description": "List of message stickers attached with this message."
},
"quickReplies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Text to show inside the quick reply. This is also used as the response text after clicking on the quick reply."
},
"payload": {
"type": "string",
"description": "Content of the textback payload after clicking a quick reply"
},
"url": {
"type": "string",
"description": "The location of the image file associated with quick reply"
},
"action": {
"type": "string",
"description": "Specifies the type of action that is triggered upon clicking the quick reply. Currently, the only supported action is \"Message\" which sends a message using the quick reply text."
},
"isSelected": {
"type": "boolean",
"description": "Indicates if the quick reply option is selected by end customer"
}
}
},
"description": "List of quick reply options offered with this message."
},
"buttonResponse": {
"type": "object",
"description": "Button Response"
},
"buttonResponses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Button response type that captures Button and QuickReply type responses"
},
"text": {
"type": "string",
"description": "Text to show inside the Button reply. This is also used as the response text after clicking on the Button."
},
"payload": {
"type": "string",
"description": "Content of the textback payload after clicking a button"
},
"messageType": {
"type": "string",
"description": "Button response message type that captures QuickReply , Cards and Carousel.This is used as label for Card selection"
},
"originatingMessageId": {
"type": "string",
"description": "Reference to the ID of the original message (e.g., list picker) this button response is replying to."
}
}
},
"description": "List of Button Response selected by user for this message."
},
"story": {
"type": "object",
"description": "Story object."
},
"cards": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Text to show in the title."
},
"description": {
"type": "string",
"description": "Text to show in the description."
},
"url": {
"type": "string",
"description": "URL of an image."
},
"defaultAction": {
"type": "object",
"description": "A card action that a user can take."
},
"actions": {
"type": "array",
"description": "List of possible action objects."
}
}
},
"description": "List of cards offered for this message"
},
"notificationTemplate": {
"type": "object",
"description": "Notification Template"
},
"datePicker": {
"type": "object",
"description": "Date Picker"
},
"listPicker": {
"type": "object",
"description": "List Picker"
},
"contentType": {
"type": "string",
"enum": [
"QuickReply",
"Story",
"Card",
"Carousel",
"Attachment",
"Location",
"Notification",
"GenericTemplate",
"ListTemplate",
"Postback",
"Reactions",
"Mention",
"ButtonResponse",
"DatePicker",
"ListPicker",
"InteractiveApplication",
"PaymentRequest",
"PaymentResponse",
"Form",
"RichLink",
"RoadsideAssistance",
"NotificationResponse"
],
"description": "Indicates the content type for this message"
},
"socialVisibility": {
"type": "string",
"enum": [
"Public",
"Private"
],
"description": "For social media messages, the visibility of the message in the originating social platform"
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"eventType": {
"type": "string",
"description": "Type of this event element"
},
"coBrowse": {
"type": "object",
"description": "A CoBrowse event."
},
"typing": {
"type": "object",
"description": "A Typing event."
},
"presence": {
"type": "object",
"description": "A Presence event."
},
"video": {
"type": "object",
"description": "A Video event."
}
}
},
"description": "List of event elements"
},
"interactiveApplication": {
"type": "object",
"description": "Interactive Application"
},
"paymentRequest": {
"type": "object",
"description": "Payment Request"
},
"paymentResponse": {
"type": "object",
"description": "Payment Response"
},
"form": {
"type": "object",
"description": "The form value"
},
"roadsideAssistance": {
"type": "object",
"description": "Roadside Assistance"
},
"richLink": {
"type": "object",
"description": "Rich Link"
},
"messageReceipts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The id of the message receipt. Message receipts will have the same ID as the message they reference."
},
"receiptTime": {
"type": "string",
"description": "Original time of the event (receipt). Example: delivery receipt time, read receipt time. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z"
},
"status": {
"type": "string",
"description": "The message receipt status"
},
"reasons": {
"type": "array",
"description": "List of reasons for a message receipt that indicates the message has failed. Only used with Failed status."
}
}
},
"description": "List of message receipts"
}
}
},
"description": "Represents a messaging transcript"
},
"name": {
"type": "string",
"description": "The name value"
},
"originalRecordingStartTime": {
"type": "string",
"description": "The start time of the full recording, before any segment access restrictions are applied. Null when there is no playable media. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z"
},
"outputDurationMs": {
"type": "integer",
"description": "Duration of transcoded media in milliseconds"
},
"outputSizeInBytes": {
"type": "integer",
"description": "Size of transcoded media in bytes. 0 if there is no transcoded media."
},
"path": {
"type": "string",
"description": "The path value"
},
"recordingErrorStatus": {
"type": "string",
"description": "Status of a recording that cannot be returned because of an error",
"enum": [
"EMAIL_TRANSCRIPT_TOO_LARGE"
]
},
"recordingFileRole": {
"type": "string",
"description": "Role of the file recording. It can be either customer_experience or adhoc.",
"enum": [
"CUSTOMER_EXPERIENCE",
"ADHOC"
]
},
"remainingRestorationsAllowedForOrg": {
"type": "integer",
"description": "The remaining archive restorations the organization has. Deprecated - Always returns 10000 since the restoration limit is no longer enforced."
},
"restoreExpirationTime": {
"type": "string",
"description": "The amount of time a restored recording will remain restored before being archived again. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z"
},
"selfUri": {
"type": "string",
"description": "The URI for this object"
},
"sessionId": {
"type": "string",
"description": "The session id represents an external resource id, such as email, call, chat, etc"
},
"startTime": {
"type": "string",
"description": "The start time of the recording. Null when there is no playable media."
},
"transcript": {
"type": "array",
"items": {
"type": "object",
"properties": {
"body": {
"type": "string",
"description": "The message body"
},
"id": {
"type": "string",
"description": "The id value"
},
"to": {
"type": "string",
"description": "The message recipient"
},
"from": {
"type": "string",
"description": "The message sender"
},
"utc": {
"type": "string",
"description": "The utc value"
},
"chat": {
"type": "string",
"description": "The interaction id (if available)"
},
"message": {
"type": "string",
"description": "The message id"
},
"type": {
"type": "string",
"description": "The type value"
},
"bodyType": {
"type": "string",
"enum": [
"STANDARD",
"ACTIVITY",
"TYPING",
"NOTICE",
"MEMBERJOIN",
"MEMBERLEAVE",
"MEDIAREQUEST"
],
"description": "Type of the message body (v2 chats only)"
},
"senderCommunicationId": {
"type": "string",
"description": "Communication of sender (v2 chats only)"
},
"participantPurpose": {
"type": "string",
"description": "Participant purpose of sender (v2 chats only)"
},
"user": {
"type": "object",
"description": "The user value"
}
}
},
"description": "Represents a chat transcript"
},
"users": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The globally unique identifier for the object."
},
"name": {
"type": "string",
"description": "The name value"
},
"division": {
"type": "object",
"description": "The division value"
},
"chat": {
"type": "object",
"description": "The chat value"
},
"department": {
"type": "string",
"description": "The department value"
},
"email": {
"type": "string",
"description": "The email value"
},
"primaryContactInfo": {
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Email address or phone number for this contact type"
},
"display": {
"type": "string",
"description": "Formatted version of the address property"
},
"mediaType": {
"type": "string"
},
"type": {
"type": "string"
},
"extension": {
"type": "string",
"description": "Use internal extension instead of address. Mutually exclusive with the address field."
},
"countryCode": {
"type": "string"
},
"integration": {
"type": "string",
"description": "Integration tag value if this number is associated with an external integration."
}
}
},
"description": "Auto populated from addresses."
},
"addresses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Email address or phone number for this contact type"
},
"display": {
"type": "string",
"description": "Formatted version of the address property"
},
"mediaType": {
"type": "string"
},
"type": {
"type": "string"
},
"extension": {
"type": "string",
"description": "Use internal extension instead of address. Mutually exclusive with the address field."
},
"countryCode": {
"type": "string"
},
"integration": {
"type": "string",
"description": "Integration tag value if this number is associated with an external integration."
}
}
},
"description": "Email addresses and phone numbers for this user"
},
"state": {
"type": "string",
"enum": [
"active",
"inactive",
"deleted"
],
"description": "The current state for this user."
},
"title": {
"type": "string",
"description": "The title value"
},
"username": {
"type": "string",
"description": "The username value"
},
"manager": {
"type": "object",
"description": "Circular schema reference: #/components/schemas/User"
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"resolution": {
"type": "string",
"description": "Height and/or width of image. ex: 640x480 or x128"
},
"imageUri": {
"type": "string"
}
}
},
"description": "The images value"
},
"version": {
"type": "integer",
"format": "int32",
"description": "Required when updating a user, this value should be the current version of the user. The current version can be obtained with a GET on the user before doing a PATCH."
},
"certifications": {
"type": "array",
"items": {
"type": "string"
},
"description": "The certifications value"
},
"biography": {
"type": "object",
"description": "The biography value"
},
"employerInfo": {
"type": "object",
"description": "Employer Info"
},
"preferredName": {
"type": "string",
"description": "Preferred full name of the agent"
},
"routingStatus": {
"type": "object",
"description": "Routing Status"
},
"presence": {
"type": "object",
"description": "The presence value"
},
"integrationPresence": {
"type": "object",
"description": "Integration Presence"
},
"conversationSummary": {
"type": "object",
"description": "Conversation Summary"
},
"outOfOffice": {
"type": "object",
"description": "Out Of Office"
},
"geolocation": {
"type": "object",
"description": "The geolocation value"
},
"station": {
"type": "object",
"description": "The station value"
},
"authorization": {
"type": "object",
"description": "The authorization value"
},
"profileSkills": {
"type": "array",
"items": {
"type": "string"
},
"description": "Profile skills possessed by the user"
},
"locations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the location"
},
"floorplanId": {
"type": "string",
"description": "Unique identifier for the location floorplan image"
},
"coordinates": {
"type": "object",
"description": "Users coordinates on the floorplan. Only used when floorplanImage is set"
},
"notes": {
"type": "string",
"description": "Optional description on the users location"
},
"locationDefinition": {
"type": "object"
}
}
},
"description": "The user placement at each site location."
},
"groups": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The globally unique identifier for the object."
},
"name": {
"type": "string",
"description": "The group name."
},
"description": {
"type": "string"
},
"dateModified": {
"type": "string",
"description": "Last modified date/time. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z"
},
"memberCount": {
"type": "integer",
"description": "Number of members."
},
"state": {
"type": "string",
"description": "Active, inactive, or deleted state."
},
"version": {
"type": "integer",
"description": "Current version for this resource."
},
"type": {
"type": "string",
"description": "Type of group."
},
"images": {
"type": "array"
},
"addresses": {
"type": "array"
},
"rulesVisible": {
"type": "boolean",
"description": "Are membership rules visible to the person requesting to view the group"
},
"visibility": {
"type": "string",
"description": "Who can view this group"
},
"rolesEnabled": {
"type": "boolean",
"description": "Allow roles to be assigned to this group"
},
"includeOwners": {
"type": "boolean",
"description": "Allow owners to be included as members of the group"
},
"callsEnabled": {
"type": "boolean",
"description": "Allow calls to be placed to this group."
},
"owners": {
"type": "array",
"description": "Owners of the group"
},
"selfUri": {
"type": "string",
"description": "The URI for this object"
}
}
},
"description": "The groups the user is a member of"
},
"team": {
"type": "object",
"description": "The team value"
},
"workPlanBidRanks": {
"type": "object",
"description": "Work Plan Bid Ranks"
},
"skills": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The globally unique identifier for the object."
},
"name": {
"type": "string"
},
"proficiency": {
"type": "number",
"description": "A rating from 0.0 to 5.0 that indicates how adept an agent is at a particular skill. When \"Best available skills\" is enabled for a queue in Genesys Cloud, ACD interactions in that queue are routed to agents with higher proficiency ratings."
},
"state": {
"type": "string",
"description": "Activate or deactivate this routing skill."
},
"skillUri": {
"type": "string",
"description": "URI to the organization skill used by this user skill."
},
"selfUri": {
"type": "string",
"description": "The URI for this object"
}
}
},
"description": "Routing (ACD) skills possessed by the user"
},
"languages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The globally unique identifier for the object."
},
"name": {
"type": "string"
},
"proficiency": {
"type": "number",
"description": "A rating from 0.0 to 5.0 that indicates how fluent an agent is in a particular language. ACD interactions are routed to agents with higher proficiency ratings."
},
"state": {
"type": "string",
"description": "Activate or deactivate this routing language."
},
"languageUri": {
"type": "string",
"description": "URI to the organization language used by this user language."
},
"selfUri": {
"type": "string",
"description": "The URI for this object"
}
}
},
"description": "Routing (ACD) languages possessed by the user"
},
"acdAutoAnswer": {
"type": "boolean",
"description": "acd auto answer"
},
"languagePreference": {
"type": "string",
"description": "preferred language by the user"
},
"lastTokenIssued": {
"type": "object",
"description": "Last Token Issued"
},
"dateLastLogin": {
"type": "string",
"format": "date-time",
"description": "The last time the user logged in using username and password. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z"
},
"dateWelcomeSent": {
"type": "string",
"format": "date-time",
"description": "The date & time the user was sent their welcome email. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z"
},
"selfUri": {
"type": "string",
"format": "uri",
"description": "The URI for this object"
}
},
"required": [
"version"
]
},
"description": "The users participating in the conversation"
}
},
"required": [
"PCID",
"conversationId",
"recordingId"
]
}