Create communication thread
DeprecatedRequired Scopes: `COMMUNICATION_WRITE` Creates new thread with a new communication for a customer
Endpoint
/v1/communications/{customerId}/threads Path Parameters
customerId required integer (int64) The ID of the customer
Request Body application/json
requiredCommunication thread request
communicationThreadStatus required The status of a communication thread
CREATED | The thread is created |
ONGOING | The thread is in ongoing progress |
CLOSED | The thread is closed |
"CREATED" ticketNumber The ticket number of the third party ticketing system
"A123456" subject required The subject of the communication
"Complaint" content required The content of the communication
"I received two invoices this month, but I only made one purchase." communicationDirection required The direction of the communication
INCOMING | The communication is incoming from the customer |
OUTGOING | The communication is outgoing to the customer |
"INCOMING" ticketLink The link to the ticket in the third party ticketing system
"https://ticketing-system.com/ticket/A123456" communicationChannel required The channel of the communication
LETTER | Communication via letter |
EMAIL | Communication via email |
TEXT_MESSAGE | Communication via text message |
PHONE | Communication via phone |
FAX | Communication via fax |
CONVERSATION | Communication via conversation |
CHAT | Communication via chat |
OTHER | Communication via other means |
"LETTER" agent The employee/agent handling the communication
"Peter Meyer" communicationDateTime string(date-time) When this field is not null it will be used as the date time of the communication instead of the current time
"2022-06-22T08:00:00.000+02:00[Europe/Berlin]" Responses
Response Body application/json
Communication thread response
customerId integer(int64) required The customer's ID
1 communicationId integer(int64) required The ID of the communication
1 threadId integer(int64) required The ID of the communication thread
1 communicationThreadStatus required The status of a communication thread
CREATED | The thread is created |
ONGOING | The thread is in ongoing progress |
CLOSED | The thread is closed |
"CREATED" ticketNumber The ticket number of the third party ticketing system
"A123456" subject required The subject of the communication
"Complaint" content required The content of the communication
"I received two invoices this month, but I only made one purchase." communicationDirection required The direction of the communication
INCOMING | The communication is incoming from the customer |
OUTGOING | The communication is outgoing to the customer |
"INCOMING" ticketLink The link to the ticket in the third party ticketing system
"https://ticketing-system.com/ticket/A123456" communicationChannel required The channel of the communication
LETTER | Communication via letter |
EMAIL | Communication via email |
TEXT_MESSAGE | Communication via text message |
PHONE | Communication via phone |
FAX | Communication via fax |
CONVERSATION | Communication via conversation |
CHAT | Communication via chat |
OTHER | Communication via other means |
"LETTER" agent The employee/agent handling the communication
"Peter Meyer" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child"