OTRS API documentation version 7.0.x git
http://localhost:3000
OTRS is one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management. With a fast implementation and easy customization to your needs it helps you reducing costs and increasing the efficiency and transparency of your business communication.
/api/customer
Get related data of the currently logged in customer user.
get /api/customer/account
Get related data of the currently logged in customer user.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Return the customer user related data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"ChangeBy": "1",
"UserID": "theo",
"UserPhone": "",
"UserShowTickets": "25",
"UserCity": "",
"TicketListTicketsPerPage": "10",
"Source": "CustomerUser",
"MultipleArticlesView": "0",
"ChangeTime": "2018-02-23 08:28:32",
"UserLastname": "Test",
"UserAvatar": "image content...",
"UserMailString": "\"Theo Test\" <theo@example.com>",
"TicketListOrderBy": "Down",
"UserMobile": "",
"CreateTime": "2018-02-23 08:28:32",
"UserFax": "",
"UserFullname": "Theo Test",
"UserZip": "",
"ValidID": "1",
"UserStreet": "",
"CustomerCompanyValidID": null,
"UserComment": "",
"UserLogin": "theo",
"UserLoginFailed": "0",
"UserEmail": "theo@example.com",
"UserLastLoginTimestamp": "2018-04-06 12:56:38",
"UserCustomerID": "example.com",
"UserTitle": "",
"CreateBy": "1",
"UserRefreshTime": "0",
"UserCountry": "",
"TicketListSortBy": "Created",
"UserFirstname": "Theo",
"UserLastLogin": "1523019398"
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Save personal preferences of the currently logged in customer user.
post /api/customer/account/personal-preferences
Save personal preferences of the currently logged in customer user.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Indicates that the data was successfully saved
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Indicates that was some problem while validating the data
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Password": {
"Data": [
"8"
],
"Message": "Password must have at least %d character(s)."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorMessage": "The system was unable to save the user preference setting.",
"ErrorIdentifier": "CouldNotSaveUserPreference"
}
]
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Request password recovery for a customer account.
post /api/customer/account/recover
Request password recovery for a customer account.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- EmailAddress: required (string)
HTTP status code 200
Password recovery instructions were sent via email.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorIdentifier": "EmailSendingFailed",
"ErrorMessage": "Could not send password recovery instructions via email. Please contact the administrator."
},
{
"ErrorMessage": "Multiple accounts with the same email address were found. Please contact the administrator.",
"ErrorIdentifier": "MultipleAccountsFound"
}
]
Register a new customer user account.
post /api/customer/account/register
Register a new customer user account.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- EmailAddress: required (string)
- FirstName: required (string)
- LastName: required (string)
HTTP status code 200
Register a new customer user account.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"UserLogin": "customer@test.com"
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorMessage": "Could not add new customer user.",
"ErrorIdentifier": "AddingCustomerFailed"
},
{
"ErrorIdentifier": "EmailAddressAlreadyExists",
"ErrorMessage": "This e-mail address already exists. Please log in or reset your password."
},
{
"ErrorIdentifier": "EmailAddressBlacklisted",
"ErrorMessage": "This email address is not allowed to register. Please contact support staff."
},
{
"ErrorMessage": "Could not send email with new customer user account information.",
"ErrorIdentifier": "EmailSendingFailed"
}
]
Reset password for a customer account.
post /api/customer/account/reset
Reset password for a customer account.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- Token: required (string)
HTTP status code 200
Password was successfully reset and sent to the account email address.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorIdentifier": "EmailSendingFailed",
"ErrorMessage": "Could not send new password via email. Please contact the administrator."
},
{
"ErrorIdentifier": "PasswordResetFailed",
"ErrorMessage": "Reset password was unsuccessful. Please contact the administrator."
},
{
"ErrorMessage": "Supplied password reset token is invalid. Please check your link.",
"ErrorIdentifier": "PasswordResetTokenInvalid"
}
]
Checks if authentication token is valid.
get /api/customer/auth/check
Checks if authentication token is valid.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Authentication token is valid.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 401
Authentication token is invalid.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Some endpoints cannot be accessed via the usual HTTP Authorize header, for example the fetching of inline images. Only for these, we use cookies. This endpoint is used to generate an httpOnly cookie with the token information in case the user does have a valid token. Otherwise, the cookie will be deleted.
get /api/customer/auth/cookie
Some endpoints cannot be accessed via the usual HTTP Authorize header, for example the fetching of inline images. Only for these, we use cookies. This endpoint is used to generate an httpOnly cookie with the token information in case the user does have a valid token. Otherwise, the cookie will be deleted.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Success response, will create or clear the access token cookie.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Authenticate against the OTRS API (either with form or SSO data), creates an access token.
post /api/customer/auth/login
Authenticate against the OTRS API (either with form or SSO data), creates an access token.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- FromClient: (string)
- IsInteractive: (string)
- Password: (string)
- TwoFactorToken: (string)
- Username: (string)
HTTP status code 200
Return access token after successful login.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Token": "eyJhbGciOiJIUzI1NiJeyJhdWQiOiJjdXN0b21lc"
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorMessage": "The system was unable to generate the token.",
"ErrorIdentifier": "CouldNotGenerateToken"
},
{
"ErrorIdentifier": "SessionLimitPerUserReached",
"ErrorMessage": "Session per user limit reached!"
},
{
"ErrorIdentifier": "SessionLimitReached",
"ErrorMessage": "Session limit reached! Please try again later."
}
]
Logout from the OTRS API, delete the token.
post /api/customer/auth/logout
Logout from the OTRS API, delete the token.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Logged out successfully.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Get personal notifications.
get /api/customer/personal-notifications/list
Get personal notifications.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- NotificationsPerPage: (string)
- ObjectType: (string)
- Page: (string)
- Seen: (string)
HTTP status code 200
Returns a list of personal notifications.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"List": [
{
"Marker": {
"NotificationID": 123,
"Status": "Unread"
},
"Content": {
"Description": "some description",
"UserID": 123,
"TicketNumber": "123456",
"UserType": "Customer",
"Seen": 0,
"CreateTime": "2018-08-27 14:24:20",
"ObjectReference": "54321",
"Body": "some body",
"Comment": "",
"Title": "some title",
"ObjectType": "Ticket",
"ObjectID": 123,
"NotificationID": "68"
}
}
],
"TotalNotifications": 1
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Set personal notifications as read.
post /api/customer/personal-notifications/seen-set
Set personal notifications as read.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- Filter: required (string)
- NotificationID: (string)
HTTP status code 200
Seen flag was set.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Create a new ticket.
post /api/customer/ticket
Create a new ticket.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- Body: required (string)
- FormID: (string)
- PriorityID: (string)
Example:
1234
- QueueID: (string)
Example:
1234
- SLAID: (string)
Example:
1234
- ServiceID: (string)
Example:
1234
- Title: required (string)
- TypeID: (string)
Example:
1234
HTTP status code 200
Created the ticket successfully.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"NextScreenAfterNewTicket": "TicketOverview",
"TicketNumber": "2018061740123"
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorMessage": "The system was unable to create the article.",
"ErrorIdentifier": "CouldNotCreateArticle"
},
{
"ErrorIdentifier": "CouldNotCreateTicket",
"ErrorMessage": "The system was unable to create the ticket."
},
{
"ErrorIdentifier": "CouldNotSetDynamicField",
"ErrorMessage": "The system was unable to set a dynamic field value."
}
]
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Get ticket count.
get /api/customer/ticket/count
Get ticket count.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- CompanyTickets: (string)
- Search: (string)
- StateFilter: (string)
HTTP status code 200
Return the ticket count.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 404
Company tickets requested, but company tickets are disabled.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Returns the information about a ticket giving its ID.
get /api/customer/ticket/id/{TicketID}
Returns the information about a ticket giving its ID.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- TicketID: required (string)
Example:
1234
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- DynamicFields: (string)
- FollowUpPossible: (string)
- ProcessData: (string)
HTTP status code 200
Indicates that data was successfully returned.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorIdentifier": "ArticleLoadingFailed",
"ErrorMessage": "The system was unable to load the articles."
}
]
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Get a list of tickets.
get /api/customer/ticket/list
Get a list of tickets.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- CompanyTickets: (string)
- DynamicFields: (string)
- Extended: (string)
- LastCustomerSubject: (string)
- Page: (string)
- Search: (string)
- SortAscending: (string)
- SortBy: (string)
- StateFilter: (string)
- TicketsPerPage: (string)
HTTP status code 200
Return the ticket list.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"TotalTickets": 1,
"List": [
{
"DynamicField_Checkbox": {
"TranslatableValues": 1,
"Value": ""
},
"Marker": "Unread",
"Queue": "Misc",
"ResponsibleID": 1,
"Type": "Unclassified",
"QueueID": 4,
"EscalationResponseTime": 0,
"CreateBy": 1,
"OwnerID": 1,
"Created": "2018-08-13 07:28:21",
"GroupID": 1,
"UntilTime": 0,
"RealTillTimeNotUsed": 0,
"StateType": "new",
"PriorityID": 3,
"CustomerID": "customer-1",
"Lock": "unlock",
"TypeID": 1,
"StateID": 1,
"Owner": "root@localhost",
"Age": 97123,
"State": "new",
"EscalationTime": 0,
"CustomerUserID": "customer-1",
"EscalationUpdateTime": 0,
"CreatedByUser": "John Doe",
"TicketNumber": "2018081354000023",
"UnlockTimeout": 0,
"Changed": "2018-08-13 07:28:21",
"Title": "Ticket #2",
"EscalationSolutionTime": 0,
"ServiceID": "",
"TicketID": 13,
"ArchiveFlag": "n",
"Responsible": "root@localhost",
"Priority": "3 normal",
"LockID": 1,
"SLAID": "",
"ChangeBy": 1
}
]
}
HTTP status code 404
Company tickets requested, but company tickets are disabled.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Returns the information about a ticket giving its number.
get /api/customer/ticket/number/{TicketNumber}
Returns the information about a ticket giving its number.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- TicketNumber: required (string)
Example:
2018081154000045
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- DynamicFields: (string)
- FollowUpPossible: (string)
- ProcessData: (string)
HTTP status code 200
Indicates that data was successfully returned.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorIdentifier": "ArticleLoadingFailed",
"ErrorMessage": "The system was unable to load the articles."
}
]
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Saves a process management ticket.
post /api/customer/ticket/process/{ProcessEntityID}
Saves a process management ticket.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- ProcessEntityID: required (string)
Example:
Process-631b5a58cda6892c5ceb6b36072490be
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- EndpointContext: required (string)
- FormID: (string)
- Interface: required (string)
HTTP status code 200
Successfully saved.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Access denied.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 404
No activity found to the current ticket state.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid ticket data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field2": {
"Attributes": {
"Arguments": null,
"Value": null,
"Source": null
},
"Validator": "Required"
},
"Field3": {
"Validator": "IncorrectDisplayConfig"
},
"Field1": {
"Attributes": {
"Arguments": null,
"Value": null,
"Source": null
},
"Validator": "Required"
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorMessage": "The system was unable to create the ticket.",
"ErrorIdentifier": "CouldNotCreateTicket"
},
{
"ErrorIdentifier": "CouldNotCreateTicketArticle",
"ErrorMessage": "The system was unable to create the ticket article."
},
{
"ErrorMessage": "The system was unable to prepare the data to store it.",
"ErrorIdentifier": "CouldNotPrepareData"
},
{
"ErrorMessage": "The system was unable to set dynamic ticket data.",
"ErrorIdentifier": "CouldNotSetDynamicFieldValue"
},
{
"ErrorMessage": "The system was unable to set the ticket process state.",
"ErrorIdentifier": "CouldNotSetTicketProcessState"
},
{
"ErrorIdentifier": "CouldNotUpdateTicket",
"ErrorMessage": "The system was unable to update ticket information."
}
]
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Returns the information about a process ticket.
get /api/customer/ticket/process/{TicketID}
Returns the information about a process ticket.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- TicketID: required (string)
Example:
1234
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- EndpointContext: required (string)
HTTP status code 200
Indicates that data was successfully returned.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Creates the new article for the given ticket
post /api/customer/ticket/{TicketID}/article
Creates the new article for the given ticket
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- TicketID: required (string)
Example:
1234
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- Body: required (string)
- FormID: (string)
- NextStateID: (string)
Example:
1234
- PriorityID: (string)
Example:
1234
- Subject: required (string)
HTTP status code 200
Indicates that the article was successfully create
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"ArticleID": 123,
"NextScreenAfterFollowUp": "TicketOverview"
}
HTTP status code 403
Indicates that it's not possible to reopen the given ticket or the user hasn't access to the the ticket.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Error": "Can't reopen ticket, not possible in this queue!"
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorMessage": "The system was unable to create the article.",
"ErrorIdentifier": "CouldNotCreateArticle"
},
{
"ErrorMessage": "The system was unable to set a dynamic field value.",
"ErrorIdentifier": "CouldNotSetDynamicField"
}
]
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Returns the information about an article.
get /api/customer/ticket/{TicketID}/article/{ArticleID}
Returns the information about an article.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- TicketID: required (string)
Example:
1234
- ArticleID: required (string)
Example:
1234
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- Avatar: (string)
- DynamicFields: (string)
HTTP status code 200
Indicates that data was successfully returned.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorIdentifier": "ArticleLoadingFailed",
"ErrorMessage": "The system was unable to load the articles."
}
]
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Returns the attachment content for the given ticket-article.
Returns the attachment content for the given ticket-article.
get /api/customer/ticket/{TicketID}/article/{ArticleID}/attachment/{AttachmentID}
Returns the attachment content for the given ticket-article.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- TicketID: required (string)
Example:
1234
- ArticleID: required (string)
Example:
1234
- AttachmentID: required (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Indicates that the attachment was successfully returned.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Indicates that the access to the attachment is denied (No access to the ticket or the article is not visible).
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 404
Indicates that the attachment was not found.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
head /api/customer/ticket/{TicketID}/article/{ArticleID}/attachment/{AttachmentID}
Returns the attachment content for the given ticket-article.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- TicketID: required (string)
Example:
1234
- ArticleID: required (string)
Example:
1234
- AttachmentID: required (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Indicates that the attachment was successfully returned.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Indicates that the access to the attachment is denied (No access to the ticket or the article is not visible).
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 404
Indicates that the attachment was not found.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Returns the attachment content for the given ticket-article.
Returns the attachment content for the given ticket-article.
get /api/customer/ticket/{TicketID}/article/{ArticleID}/attachment/{AttachmentID}/{Download}
Returns the attachment content for the given ticket-article.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- TicketID: required (string)
Example:
1234
- ArticleID: required (string)
Example:
1234
- AttachmentID: required (string)
- Download: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Indicates that the attachment was successfully returned.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Indicates that the access to the attachment is denied (No access to the ticket or the article is not visible).
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 404
Indicates that the attachment was not found.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
head /api/customer/ticket/{TicketID}/article/{ArticleID}/attachment/{AttachmentID}/{Download}
Returns the attachment content for the given ticket-article.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- TicketID: required (string)
Example:
1234
- ArticleID: required (string)
Example:
1234
- AttachmentID: required (string)
- Download: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Indicates that the attachment was successfully returned.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Indicates that the access to the attachment is denied (No access to the ticket or the article is not visible).
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 404
Indicates that the attachment was not found.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Get article body related to TicketID and ArticleID.
get /api/customer/ticket/{TicketID}/article/{ArticleID}/body
Get article body related to TicketID and ArticleID.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- TicketID: required (string)
Example:
1234
- ArticleID: required (string)
Example:
1234
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Return article body.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: text/html
Type: object
Example:
<pre>Some example article body!</pre>
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Sets article flag
post /api/customer/ticket/{TicketID}/article/{ArticleID}/flag
Sets article flag
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- TicketID: required (string)
Example:
1234
- ArticleID: required (string)
Example:
1234
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- Flag: required (string)
- Value: required (string)
HTTP status code 200
Article flag set successfully
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Saves a process management ticket.
post /api/customer/ticket/{TicketID}/process/{ProcessEntityID}
Saves a process management ticket.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- TicketID: (string)
Example:
1234
- ProcessEntityID: required (string)
Example:
Process-631b5a58cda6892c5ceb6b36072490be
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- EndpointContext: required (string)
- FormID: (string)
- Interface: required (string)
HTTP status code 200
Successfully saved.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Access denied.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 404
No activity found to the current ticket state.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid ticket data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Validator": "Required",
"Attributes": {
"Value": null,
"Source": null,
"Arguments": null
}
},
"Field3": {
"Validator": "IncorrectDisplayConfig"
},
"Field2": {
"Validator": "Required",
"Attributes": {
"Arguments": null,
"Value": null,
"Source": null
}
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorIdentifier": "CouldNotCreateTicket",
"ErrorMessage": "The system was unable to create the ticket."
},
{
"ErrorMessage": "The system was unable to create the ticket article.",
"ErrorIdentifier": "CouldNotCreateTicketArticle"
},
{
"ErrorMessage": "The system was unable to prepare the data to store it.",
"ErrorIdentifier": "CouldNotPrepareData"
},
{
"ErrorMessage": "The system was unable to set dynamic ticket data.",
"ErrorIdentifier": "CouldNotSetDynamicFieldValue"
},
{
"ErrorIdentifier": "CouldNotSetTicketProcessState",
"ErrorMessage": "The system was unable to set the ticket process state."
},
{
"ErrorMessage": "The system was unable to update ticket information.",
"ErrorIdentifier": "CouldNotUpdateTicket"
}
]
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Delete a file upload from a FormID in the WebUploadCache.
Get a file upload from a FormID in the WebUploadCache.
Add a file upload to a FormID in the WebUploadCache.
delete /api/customer/upload/{FormID}
Delete a file upload from a FormID in the WebUploadCache.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- FormID: required (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- Filename: required (string)
HTTP status code 200
Deleted the attachment successfully.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 404
Attachment not found.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorMessage": "The system was unable to delete the attachment from the upload cache.",
"ErrorIdentifier": "CouldNotDeleteFile"
}
]
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
get /api/customer/upload/{FormID}
Get a file upload from a FormID in the WebUploadCache.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- FormID: required (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- ContentID: required (string)
HTTP status code 200
Returning the related attachment.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/octet-stream
Type: object
Example:
Some file content
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
post /api/customer/upload/{FormID}
Add a file upload to a FormID in the WebUploadCache.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- FormID: required (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- Upload: (string)
- upload: (string)
HTTP status code 200
Attachment successfully saved.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"FileID": 1,
"uploaded": 1,
"url": "/api/customer/upload/bbcbda800-31f3-11e8-a39e-6ba2f50ba514%40localhost"
}
HTTP status code 413
The attachment is too big to be uploaded.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Upload": {
"Message": "Size limit exceeded!"
}
}
}
HTTP status code 422
Invalid upload or UploadFile!
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Upload": {
"Message": "Invalid upload or UploadFile!"
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorMessage": "The system was unable to add the attachment in the upload cache.",
"ErrorIdentifier": "CouldNotAddFile"
}
]
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
/api/frontend
Returns a list of chat messages.
get /api/frontend/external/chat/{FromChatID}/messages
Returns a list of chat messages.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- FromChatID: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Indicates that data was successfully returned.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Get external interface configuration settings.
get /api/frontend/external/config
Get external interface configuration settings.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Return configuration entries.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"WebApp::API::Customer::Account::Recover": "1",
"WebApp::API::Customer::Account::Register": "1"
}
Get custom page content.
get /api/frontend/external/custom-page/content/{Slug}/{Language}
Get custom page content.
URI Parameters
- Slug: required (string)
- Language: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Get custom page content.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Content": "content"
}
HTTP status code 404
Custom page was not found.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Get custom page inline image.
get /api/frontend/external/custom-page/inline-image
Get custom page inline image.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- ContentID: required (string)
- CustomPageID: required (string)
HTTP status code 200
Get custom page inline image
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Content": "content"
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Get password recovery form schema.
post /api/frontend/external/form/account/recover
Get password recovery form schema.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
- X-OTRS-API-ValidateFormData: (string)
Signal that the form data should be validated.
HTTP status code 200
Returns the form schema.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Get registration form schema.
post /api/frontend/external/form/account/register
Get registration form schema.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
- X-OTRS-API-ValidateFormData: (string)
Signal that the form data should be validated.
HTTP status code 200
Returns the form schema.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Get login form schema.
post /api/frontend/external/form/auth/login
Get login form schema.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
- X-OTRS-API-ValidateFormData: (string)
Signal that the form data should be validated.
HTTP status code 200
Returns the form schema.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Get the personal preferences for the user.
post /api/frontend/external/form/personal-preferences/{Category}
Get the personal preferences for the user.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- Category: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
- X-OTRS-API-ValidateFormData: (string)
Signal that the form data should be validated.
HTTP status code 200
Returns personal preferences form schema.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Schema": {
"Fields": [
{
"Label": "Label",
"Description": "Description of the field"
}
]
}
}
HTTP status code 422
Indicates that the given category or some fields are invalid.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"FieldName": {
"Data": {
"SomeField": 1
},
"Message": "Some error message"
}
}
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Get ticket create form schema.
post /api/frontend/external/form/ticket
Get ticket create form schema.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
- X-OTRS-API-ValidateFormData: (string)
Signal that the form data should be validated.
HTTP status code 200
Returns form schemata.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Get process ticket form schema.
post /api/frontend/external/form/ticket/process
Get process ticket form schema.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
- X-OTRS-API-ValidateFormData: (string)
Signal that the form data should be validated.
Body
Media type: application/json
Type: object
Properties- ActivityDialogEntityID: (string)
Example:
ActivityDialog-c1813344d2a10186c4a480dfd71a4aa9
- EndpointContext: required (string)
- ProcessID: (string)
Example:
Process-631b5a58cda6892c5ceb6b36072490be
HTTP status code 200
Returns form schemata for process ticket.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Get process ticket form schema.
post /api/frontend/external/form/ticket/process/{ProcessEntityID}
Get process ticket form schema.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- ProcessEntityID: (string)
Example:
Process-631b5a58cda6892c5ceb6b36072490be
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
- X-OTRS-API-ValidateFormData: (string)
Signal that the form data should be validated.
Body
Media type: application/json
Type: object
Properties- ActivityDialogEntityID: (string)
Example:
ActivityDialog-c1813344d2a10186c4a480dfd71a4aa9
- EndpointContext: required (string)
- ProcessID: (string)
Example:
Process-631b5a58cda6892c5ceb6b36072490be
HTTP status code 200
Returns form schemata for process ticket.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Validate/Get the form schema to create a new ticket article.
post /api/frontend/external/form/ticket/{TicketID}/article
Validate/Get the form schema to create a new ticket article.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- TicketID: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
- X-OTRS-API-ValidateFormData: (string)
Signal that the form data should be validated.
HTTP status code 200
.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Schema": {
"Fields": [
{
"Label": "Label",
"Description": "Description of the field"
}
]
}
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Get process ticket form schema.
post /api/frontend/external/form/ticket/{TicketID}/process
Get process ticket form schema.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- TicketID: (string)
Example:
1234
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
- X-OTRS-API-ValidateFormData: (string)
Signal that the form data should be validated.
Body
Media type: application/json
Type: object
Properties- ActivityDialogEntityID: (string)
Example:
ActivityDialog-c1813344d2a10186c4a480dfd71a4aa9
- EndpointContext: required (string)
- ProcessID: (string)
Example:
Process-631b5a58cda6892c5ceb6b36072490be
HTTP status code 200
Returns form schemata for process ticket.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Get home page configuration.
get /api/frontend/external/homepage/config/{Language}
Get home page configuration.
URI Parameters
- Language: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Return home page configuration.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"ChangeTime": "2018-08-14 22:45:00",
"ChangeBy": 1,
"CreateTime": "2018-08-14 22:45:00",
"CreateBy": 1,
"Key": "HomePage::de",
"Value": {
"TicketList": {
"RowTitle": "Titel",
"Show": "1"
},
"HeroUnit": {
"Title": "Titel",
"BackgroundStyle": "BackgroundO{ydient",
"BackgroundImage": "path",
"BackgroundColor": "#111"
}
}
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Returns home page image.
get /api/frontend/external/homepage/image
Returns home page image.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- Path: required (string)
HTTP status code 200
Requested home page image in binary format.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
(image binary data)
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Returns favorites icon.
get /api/frontend/external/layout/favicon
Returns favorites icon.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- Path: (string)
HTTP status code 200
Requested favorites icon in binary format.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
(image binary data)
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Returns layout image.
get /api/frontend/external/layout/image
Returns layout image.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- Path: required (string)
HTTP status code 200
Requested layout image in binary format.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
(image binary data)
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Get the navigation config for unauthenticated users or based on customer user permissions.
get /api/frontend/external/menu
Get the navigation config for unauthenticated users or based on customer user permissions.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Return the navigation structure.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Top": [
{
"Prio": "100",
"Name": "Custom Link",
"ExternalLink": "",
"Target": "",
"IsPublic": "1",
"RouteLink": "/home",
"Description": "Custom link.",
"GroupRo": [],
"Group": []
}
],
"Main": [
{
"IsPublic": "1",
"Target": "",
"RouteLink": "/knowledge-base",
"Description": "Knowledge base.",
"Group": [],
"GroupRo": [],
"ExternalLink": "",
"Name": "Knowledge Base",
"Prio": "100"
},
{
"GroupRo": [],
"Group": [],
"Description": "This is a private resource.",
"RouteLink": "/private-resource",
"Target": "",
"IsPublic": "",
"Prio": "100",
"Name": "Private Resource",
"ExternalLink": ""
}
],
"Bottom": [
{
"Name": "Knowledge Base",
"Prio": "100",
"ExternalLink": "",
"GroupRo": [],
"Group": [],
"RouteLink": "/knowledge-base",
"Description": "Knowledge base.",
"Target": "",
"IsPublic": "1"
}
]
}
Returns the available personal preferences categories.
get /api/frontend/external/personal-preferences/categories
Returns the available personal preferences categories.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Indicates that data was successfully returned.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Returns a list of available items for specified category.
post /api/frontend/external/service-catalogue
Returns a list of available items for specified category.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- ItemsPerPage: (string)
- Language: (string)
- Page: (string)
HTTP status code 200
List of items with their common and localization data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Items": [
{
"ItemID": 1,
"Link": "/home",
"Description": "Consectetur adipiscing elit, donec id fermentum ligula finibus venenatis dui. Ut eget rutrum eros. Praesent vulputate laoreet tortor. Aliquam in massa vel erat euismod pellentesque. Aenean eget porttitor nisl, non viverra dui. Cras posuere pellentesque metus id gravida. Sed lacinia lacus vitae elementum convallis. Praesent nec rhoncus augue.",
"Title": "Lorem ipsum dolor sit amet",
"CategoryID": [
1
]
}
]
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Returns a list of available service catalogue categories for a specific language.
post /api/frontend/external/service-catalogue/categories
Returns a list of available service catalogue categories for a specific language.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- Language: (string)
HTTP status code 200
List of categories and assumed language.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Language": "en",
"Categories": [
{
"CategoryID": "1",
"Title": "Home"
},
{
"CategoryID": "2",
"Title": "Product 1",
"ParentID": "1"
},
{
"Title": "Product 2",
"CategoryID": "3",
"ParentID": "1"
}
]
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Returns data for specific service catalogue item.
get /api/frontend/external/service-catalogue/item-content/{ItemContentID}
Returns data for specific service catalogue item.
URI Parameters
- ItemContentID: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Common and localization data for a single service catalogue item.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"CategoryIDs": [
1
],
"Description": "Consectetur adipiscing elit, donec id fermentum ligula finibus venenatis dui. Ut eget rutrum eros. Praesent vulputate laoreet tortor. Aliquam in massa vel erat euismod pellentesque. Aenean eget porttitor nisl, non viverra dui. Cras posuere pellentesque metus id gravida. Sed lacinia lacus vitae elementum convallis. Praesent nec rhoncus augue.",
"ItemID": 1,
"Link": "/home",
"Title": "Lorem ipsum dolor sit amet"
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Increases usage counter of a service.
post /api/frontend/external/service-catalogue/track/{ItemID}
Increases usage counter of a service.
URI Parameters
- ItemID: required (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Item usage counter has been increased successfully.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorIdentifier": "UsageCounterIncreaseFailed",
"ErrorMessage": "Increase of the service usage counter failed. Please contact the administrator."
}
]
Returns a list of available items for specified category.
post /api/frontend/external/service-catalogue/{CategoryID}
Returns a list of available items for specified category.
URI Parameters
- CategoryID: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- ItemsPerPage: (string)
- Language: (string)
- Page: (string)
HTTP status code 200
List of items with their common and localization data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Items": [
{
"CategoryID": [
1
],
"Title": "Lorem ipsum dolor sit amet",
"Link": "/home",
"ItemID": 1,
"Description": "Consectetur adipiscing elit, donec id fermentum ligula finibus venenatis dui. Ut eget rutrum eros. Praesent vulputate laoreet tortor. Aliquam in massa vel erat euismod pellentesque. Aenean eget porttitor nisl, non viverra dui. Cras posuere pellentesque metus id gravida. Sed lacinia lacus vitae elementum convallis. Praesent nec rhoncus augue."
}
]
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Returns the configuration settings for the ticket create screen.
get /api/frontend/external/ticket/create
Returns the configuration settings for the ticket create screen.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Indicates that config was successfully returned.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"NextScreenAfterNewTicket": "TicketOverview",
"ProcessCount": 0
}
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Returns the configuration settings for the ticket detail view.
get /api/frontend/external/ticket/detail-view/{TicketNumber}
Returns the configuration settings for the ticket detail view.
JSON Web Token (RFC 7519) based customer authentication via header or cookie.
URI Parameters
- TicketNumber: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Indicates that config was successfully returned.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Secured by CustomerAccessToken
Headers
- Authentication: (string)
Used to send the JSON Web Token. Alternatively, you can send an 'AuthenticationCustomer' cookie header value that contains the token.
Example:
Bearer [token]
- Cookie: (string)
Use this to send the token in browser based contexts where custom HTTP headers cannot be set. Cookie authentication is only supported by some endpoints that cannot operate with the normal authentication header.
Example:
Authentication=[token]
- X-OTRS-API-FakeCustomerLogin: (string)
Fake customer authentication (works on development server only!)
Example:
testuser_login
HTTP status code 401
Bad token.
HTTP status code 403
Access denied.
Get Ticket List configuration.
get /api/frontend/external/ticketlist/config
Get Ticket List configuration.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Return Ticket List configuration.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"ExternalFrontend::TicketOverview": {
"DynamicField": {
"DFCheckbox": 1
},
"Owner": 1,
"ColumnHeader": "TicketTitle",
"CustomEmptyText": {
"Text": "Please click the button below to create your first ticket.",
"Button": "Create your first ticket",
"Title": "Welcome!"
},
"Queue": 0
},
"StatusMap": {
"open": "something open"
},
"DynamicFieldsConfig": [
{
"InternalField": 0,
"Config": {
"DefaultValue": 0
},
"ObjectType": "Ticket",
"FieldType": "Checkbox",
"Label": "My Checkbox",
"Name": "Checkbox",
"CreateTime": "2018-08-11 08:39:10",
"ID": 21,
"FieldOrder": 4,
"ValidID": 1,
"ChangeTime": "2018-08-11 08:39:10"
}
]
}
/api/public
Fetch calendar data
get /api/public/calendar
Fetch calendar data
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- CalendarID: required (string)
- Token: required (string)
- User: required (string)
HTTP status code 200
Add description for example responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Accepts a chat request.
post /api/public/chat/accept-request
Accepts a chat request.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- ChatID: required (string)
Example:
1234
- Language: (string)
HTTP status code 200
The chat was successfully accepted.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Access unauthorized.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorMessage": "The system was unable to process the chat request!",
"ErrorIdentifier": "ChatNotAsRequest"
},
{
"ErrorMessage": "The system was unable to process the chat request!",
"ErrorIdentifier": "ChatTargetTypeDontMatch"
}
]
Get a list of available chat channels.
get /api/public/chat/available-channels
Get a list of available chat channels.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Returns a list of available chat channels.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ID": 1,
"Name": "Chat channel name"
}
]
HTTP status code 403
Access unauthorized.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Closes an active chat.
post /api/public/chat/close
Closes an active chat.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- ChatID: required (string)
Example:
1234
HTTP status code 200
The chat was successfully closed.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Access unauthorized.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorMessage": "The system was unable to close the chat!",
"ErrorIdentifier": "CouldNotCloseChat"
}
]
Returns the configuration settings for the chat feature.
get /api/public/chat/config
Returns the configuration settings for the chat feature.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Indicates that config was successfully returned.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"ChatEngine::ChatDirection::PublicToAgent": 1,
"ChatEngine::ChatIntegration::VideoChatEnabled": 1,
"ChatEngine::ExternalFrontend::NoAnswerThreshold": 5,
"ChatEngine::DefaultAgentName": "Support Agent",
"ChatEngine::ExternalFrontend::VideoChatEnabled": 1,
"ChatEngine::DefaultAgentNameNumbers": 1,
"ChatEngine::ExternalFrontend::AllowChatChannels": 1,
"ChatEngine::ChatDirection::CustomerToAgent": 1
}
Get chat conversation history.
get /api/public/chat/history
Get chat conversation history.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- HasWebRTC: (string)
HTTP status code 200
Get chat conversation history.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Active": [
{
"Invitation": 0,
"RequesterName": "Theo Test",
"Status": "active",
"ChatID": 1,
"ChannelID": 2,
"ActiveUsers": [
{
"ChatterName": "Theo Test",
"LastMessageTime": "2018-09-14 18:48:51",
"ChatterID": "tt",
"ChatterType": "Customer"
},
{
"ChatterID": "4",
"ChatterName": "Test Test",
"LastMessageTime": "2018-09-14 22:01:50",
"ChatterType": "User"
}
],
"Channel": "test",
"Order": 0,
"RequesterID": "tt",
"HasWebRTC": "0",
"TicketID": 0,
"TargetType": "User",
"RequesterType": "Customer",
"CreateTime": "2018-09-14 18:48:51",
"ChatMessages": [
{
"MessageText": "Theo Test has joined this chat.<br/>\n",
"ChatterID": "tt",
"ChatterName": "Theo Test",
"ID": 1,
"ChatterType": "Customer",
"SystemGenerated": 1,
"CreateTime": "2018-09-14 18:48:51"
},
{
"ChatterID": "tt",
"ChatterName": "Theo Test",
"MessageText": "help<br/>\n",
"ChatterType": "Customer",
"ID": 2,
"CreateTime": "2018-09-14 18:48:51",
"SystemGenerated": 0
},
{
"ChatterID": "4",
"ChatterName": "Test Test",
"MessageText": "Test Test has joined this chat.<br/>\n",
"ChatterType": "User",
"ID": 5,
"SystemGenerated": 1,
"CreateTime": "2018-09-14 22:01:37"
},
{
"ChatterType": "User",
"ID": 6,
"CreateTime": "2018-09-14 22:01:50",
"SystemGenerated": 0,
"ChatterID": "4",
"ChatterName": "Test Test",
"MessageText": "what?<br/>\n"
}
]
}
],
"Closed": [],
"IncomingRequests": [],
"OutgoingRequests": [
{
"HasWebRTC": "0",
"TicketID": 0,
"RequesterType": "Customer",
"TargetType": "User",
"ChatMessages": [
{
"ChatterID": "tt",
"ChatterName": "Theo Test",
"MessageText": "Theo Test has joined this chat.<br/>\n",
"CreateTime": "2018-09-14 21:54:59",
"SystemGenerated": 1,
"ChatterType": "Customer",
"ID": 3
},
{
"SystemGenerated": 0,
"CreateTime": "2018-09-14 21:54:59",
"ID": 4,
"ChatterType": "Customer",
"MessageText": "xxxx<br/>\n",
"ChatterName": "Theo Test",
"ChatterID": "tt"
}
],
"CreateTime": "2018-09-14 21:54:59",
"ActiveUsers": [
{
"ChatterType": "Customer",
"ChatterName": "Theo Test",
"ChatterID": "tt",
"LastMessageTime": "2018-09-14 21:54:59"
}
],
"Order": 0,
"Channel": "test",
"RequesterID": "tt",
"RequesterName": "Theo Test",
"ChatID": 2,
"ChannelID": 2,
"Status": "request",
"Invitation": 0
}
]
}
HTTP status code 403
Access unauthorized.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Creates a chat request.
post /api/public/chat/request-create
Creates a chat request.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- ChatChannelID: (string)
- Message: required (string)
- Name: (string)
- TicketID: (string)
Example:
1234
HTTP status code 200
Creates a chat request and returns ChatID
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"ChatID": 123
}
HTTP status code 403
Access unauthorized.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorIdentifier": "NoDefaultChatChannelDefined",
"ErrorMessage": "No default chat channel found!"
}
]
Sends an email with the chat history.
post /api/public/chat/send-mail
Sends an email with the chat history.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- ChatID: required (string)
Example:
1234
- Email: required (string)
HTTP status code 200
The chat history email was successfully sent.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Access unauthorized.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorIdentifier": "CouldNotSendChatMail",
"ErrorMessage": "The system was unable to send the chat history email!"
}
]
Sends a new chat message.
post /api/public/chat/send-message
Sends a new chat message.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- ChatID: required (string)
Example:
1234
- Message: required (string)
HTTP status code 200
The chat message was successfully sent.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Access unauthorized.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorMessage": "The chat is already closed, it is not possible to send any more messages!",
"ErrorIdentifier": "ChatAlreadyClosed"
},
{
"ErrorMessage": "The chat message is too big!",
"ErrorIdentifier": "ChatMessageTooBig"
},
{
"ErrorIdentifier": "CouldNotSendMessage",
"ErrorMessage": "The system was unable to send the chat message!"
}
]
Get video chat config.
get /api/public/chat/video/config
Get video chat config.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- ChatID: required (string)
Example:
1234
HTTP status code 200
Video chat config.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"ChatterType": "User",
"Status": 0,
"PermissionLevel": "Owner",
"Monitoring": 0,
"ChatterActive": 1,
"ChatterID": "2",
"TURNServers": {
"iceServers": [
{
"url": "stun:stun.example.com:1234"
},
{
"credential": "a13a1ac3ebf4baef81dda8a3f8daa5e8",
"url": "turn:turn.example.com:1234?transport=udp",
"username": "a24ca28a9e41a77fda9a0f9a50b0da7a"
},
{
"username": "a24ca28a9e41a77fda9a0f9a50b0da7a",
"url": "turn:turn.example.com:1234?transport=tcp",
"credential": "a13a1ac3ebf4baef81dda8a3f8daa5e8"
}
]
},
"ChatterName": "agent-1 agent-1"
}
HTTP status code 403
Video chat feature is disabled.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Receive video chat signal.
Send video chat signal.
get /api/public/chat/video/signal
Receive video chat signal.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- ChatID: required (string)
Example:
1234
HTTP status code 200
List of signals for the current requester.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"TargetID": "customer-1",
"SignalValue": 1,
"RequesterID": "2",
"SignalTime": "2018-10-04 10:05:29",
"RequesterType": "User",
"TargetType": "Customer",
"SignalKey": "VideoChatInviteAccept",
"ChatID": 123
}
]
HTTP status code 403
Video chat feature is disabled.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
post /api/public/chat/video/signal
Send video chat signal.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- ChatID: required (string)
Example:
1234
- SignalKey: required (string)
- SignalValue: required (string)
- TargetID: required (string)
- TargetType: required (string)
HTTP status code 200
Signal sent successfully.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Video chat feature is disabled.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorMessage": "The system was unable to send video chat signal data.",
"ErrorIdentifier": "SendingFailed"
}
]
Accepts a chat request.
post /api/public/chat/{UserID}/accept-request
Accepts a chat request.
URI Parameters
- UserID: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- ChatID: required (string)
Example:
1234
- Language: (string)
HTTP status code 200
The chat was successfully accepted.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Access unauthorized.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorMessage": "The system was unable to process the chat request!",
"ErrorIdentifier": "ChatNotAsRequest"
},
{
"ErrorMessage": "The system was unable to process the chat request!",
"ErrorIdentifier": "ChatTargetTypeDontMatch"
}
]
Get a list of available chat channels.
get /api/public/chat/{UserID}/available-channels
Get a list of available chat channels.
URI Parameters
- UserID: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Returns a list of available chat channels.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"Name": "Chat channel name",
"ID": 1
}
]
HTTP status code 403
Access unauthorized.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Closes an active chat.
post /api/public/chat/{UserID}/close
Closes an active chat.
URI Parameters
- UserID: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- ChatID: required (string)
Example:
1234
HTTP status code 200
The chat was successfully closed.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Access unauthorized.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorIdentifier": "CouldNotCloseChat",
"ErrorMessage": "The system was unable to close the chat!"
}
]
Get chat conversation history.
get /api/public/chat/{UserID}/history
Get chat conversation history.
URI Parameters
- UserID: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- HasWebRTC: (string)
HTTP status code 200
Get chat conversation history.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"IncomingRequests": [],
"OutgoingRequests": [
{
"ActiveUsers": [
{
"ChatterType": "Customer",
"ChatterID": "tt",
"LastMessageTime": "2018-09-14 21:54:59",
"ChatterName": "Theo Test"
}
],
"Order": 0,
"Channel": "test",
"RequesterID": "tt",
"HasWebRTC": "0",
"TicketID": 0,
"TargetType": "User",
"RequesterType": "Customer",
"CreateTime": "2018-09-14 21:54:59",
"ChatMessages": [
{
"ChatterID": "tt",
"ChatterName": "Theo Test",
"MessageText": "Theo Test has joined this chat.<br/>\n",
"ChatterType": "Customer",
"ID": 3,
"SystemGenerated": 1,
"CreateTime": "2018-09-14 21:54:59"
},
{
"MessageText": "xxxx<br/>\n",
"ChatterID": "tt",
"ChatterName": "Theo Test",
"SystemGenerated": 0,
"CreateTime": "2018-09-14 21:54:59",
"ID": 4,
"ChatterType": "Customer"
}
],
"Invitation": 0,
"RequesterName": "Theo Test",
"ChannelID": 2,
"Status": "request",
"ChatID": 2
}
],
"Closed": [],
"Active": [
{
"Invitation": 0,
"ChatID": 1,
"ChannelID": 2,
"Status": "active",
"RequesterName": "Theo Test",
"RequesterID": "tt",
"ActiveUsers": [
{
"ChatterName": "Theo Test",
"LastMessageTime": "2018-09-14 18:48:51",
"ChatterID": "tt",
"ChatterType": "Customer"
},
{
"ChatterType": "User",
"ChatterName": "Test Test",
"ChatterID": "4",
"LastMessageTime": "2018-09-14 22:01:50"
}
],
"Order": 0,
"Channel": "test",
"RequesterType": "Customer",
"TargetType": "User",
"ChatMessages": [
{
"ChatterType": "Customer",
"ID": 1,
"CreateTime": "2018-09-14 18:48:51",
"SystemGenerated": 1,
"ChatterName": "Theo Test",
"ChatterID": "tt",
"MessageText": "Theo Test has joined this chat.<br/>\n"
},
{
"ChatterID": "tt",
"ChatterName": "Theo Test",
"MessageText": "help<br/>\n",
"CreateTime": "2018-09-14 18:48:51",
"SystemGenerated": 0,
"ChatterType": "Customer",
"ID": 2
},
{
"ChatterType": "User",
"ID": 5,
"CreateTime": "2018-09-14 22:01:37",
"SystemGenerated": 1,
"ChatterID": "4",
"ChatterName": "Test Test",
"MessageText": "Test Test has joined this chat.<br/>\n"
},
{
"ID": 6,
"ChatterType": "User",
"SystemGenerated": 0,
"CreateTime": "2018-09-14 22:01:50",
"MessageText": "what?<br/>\n",
"ChatterID": "4",
"ChatterName": "Test Test"
}
],
"CreateTime": "2018-09-14 18:48:51",
"HasWebRTC": "0",
"TicketID": 0
}
]
}
HTTP status code 403
Access unauthorized.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Creates a chat request.
post /api/public/chat/{UserID}/request-create
Creates a chat request.
URI Parameters
- UserID: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- ChatChannelID: (string)
- Message: required (string)
- Name: (string)
- TicketID: (string)
Example:
1234
HTTP status code 200
Creates a chat request and returns ChatID
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"ChatID": 123
}
HTTP status code 403
Access unauthorized.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorIdentifier": "NoDefaultChatChannelDefined",
"ErrorMessage": "No default chat channel found!"
}
]
Sends an email with the chat history.
post /api/public/chat/{UserID}/send-mail
Sends an email with the chat history.
URI Parameters
- UserID: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- ChatID: required (string)
Example:
1234
- Email: required (string)
HTTP status code 200
The chat history email was successfully sent.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Access unauthorized.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorMessage": "The system was unable to send the chat history email!",
"ErrorIdentifier": "CouldNotSendChatMail"
}
]
Sends a new chat message.
post /api/public/chat/{UserID}/send-message
Sends a new chat message.
URI Parameters
- UserID: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- ChatID: required (string)
Example:
1234
- Message: required (string)
HTTP status code 200
The chat message was successfully sent.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Access unauthorized.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorIdentifier": "ChatAlreadyClosed",
"ErrorMessage": "The chat is already closed, it is not possible to send any more messages!"
},
{
"ErrorIdentifier": "ChatMessageTooBig",
"ErrorMessage": "The chat message is too big!"
},
{
"ErrorIdentifier": "CouldNotSendMessage",
"ErrorMessage": "The system was unable to send the chat message!"
}
]
Get video chat config.
get /api/public/chat/{UserID}/video/config
Get video chat config.
URI Parameters
- UserID: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- ChatID: required (string)
Example:
1234
HTTP status code 200
Video chat config.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"ChatterType": "User",
"PermissionLevel": "Owner",
"Status": 0,
"TURNServers": {
"iceServers": [
{
"url": "stun:stun.example.com:1234"
},
{
"username": "a24ca28a9e41a77fda9a0f9a50b0da7a",
"url": "turn:turn.example.com:1234?transport=udp",
"credential": "a13a1ac3ebf4baef81dda8a3f8daa5e8"
},
{
"url": "turn:turn.example.com:1234?transport=tcp",
"username": "a24ca28a9e41a77fda9a0f9a50b0da7a",
"credential": "a13a1ac3ebf4baef81dda8a3f8daa5e8"
}
]
},
"ChatterName": "agent-1 agent-1",
"ChatterID": "2",
"ChatterActive": 1,
"Monitoring": 0
}
HTTP status code 403
Video chat feature is disabled.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Receive video chat signal.
Send video chat signal.
get /api/public/chat/{UserID}/video/signal
Receive video chat signal.
URI Parameters
- UserID: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- ChatID: required (string)
Example:
1234
HTTP status code 200
List of signals for the current requester.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"SignalKey": "VideoChatInviteAccept",
"ChatID": 123,
"SignalValue": 1,
"RequesterID": "2",
"TargetID": "customer-1",
"TargetType": "Customer",
"SignalTime": "2018-10-04 10:05:29",
"RequesterType": "User"
}
]
HTTP status code 403
Video chat feature is disabled.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
post /api/public/chat/{UserID}/video/signal
Send video chat signal.
URI Parameters
- UserID: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- ChatID: required (string)
Example:
1234
- SignalKey: required (string)
- SignalValue: required (string)
- TargetID: required (string)
- TargetType: required (string)
HTTP status code 200
Signal sent successfully.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Video chat feature is disabled.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorIdentifier": "SendingFailed",
"ErrorMessage": "The system was unable to send video chat signal data."
}
]
Returns the document search result for the given search query and additional filters.
post /api/public/documentsearch
Returns the document search result for the given search query and additional filters.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- ActiveFilters: (string)
- DocumentSearchType: (string)
- FilterAggregations: (string)
- LanguageFilter: (string)
- LoadDocumentSearchTypes: (string)
- MaxSearchItems: (string)
- Page: (string)
- SearchItemsPerPage: (string)
- SearchQuery: required (string)
HTTP status code 200
Result for the normal document search.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"DocumentSearchTypes": [
{
"Label": "Tickets",
"Identifier": "Ticket",
"Hits": 10
},
{
"Identifier": "FAQ",
"Label": "Knowledge Base Articles",
"Hits": 5
}
],
"SearchResult": [
{
"TicketNumber": "20180101407878",
"Teasertext": "Some teaser <em>text</em> for the documentation.",
"DocumentID": 123,
"ChildDocumentSearchType": "ArticleMIME",
"Score": "4.123123",
"IsFromAttachment": 0,
"DocumentSearchType": "Ticket",
"Title": "Example article title"
},
{
"Score": "3.523123",
"TicketNumber": "20180101407878",
"Teasertext": "Some teaser <em>text</em> for the documentation.",
"DocumentID": 100,
"DocumentSearchType": "Ticket",
"Title": "Example ticket title"
}
],
"CurrentDocumentSearchType": {
"Filters": [
{
"Identifier": "State",
"Label": "State",
"SubFilters": [
{
"Label": "open",
"Identifier": "StateOpen",
"Hits": 5
},
{
"Hits": 5,
"Label": "closed successful",
"Identifier": "StateClosedSuccessful"
}
]
}
],
"Hits": 10,
"Identifier": "Ticket"
}
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Returns a simple document search result for the given search query.
post /api/public/documentsearch/simple
Returns a simple document search result for the given search query.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- LanguageFilter: (string)
- SearchQuery: required (string)
HTTP status code 200
Simple search result for the given search query.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Result": [
{
"SectionType": "Ticket",
"SectionTitle": "Tickets",
"SectionResult": [
{
"Score": "4.123123",
"TicketNumber": "20180101407878",
"ChildDocumentSearchType": "ArticleMIME",
"DocumentID": 123,
"Title": "Example article title",
"DocumentSearchType": "Ticket"
},
{
"Score": "3.523123",
"DocumentSearchType": "Ticket",
"Title": "Example ticket title",
"TicketNumber": "20180101407878",
"DocumentID": 100
}
]
},
{
"SectionType": "FAQ",
"SectionResult": [
{
"Title": "Example faq title",
"DocumentSearchType": "FAQ",
"DocumentID": 120,
"TicketNumber": [
"Software",
"Misc"
],
"Score": "4.123123"
},
{
"DocumentSearchType": "FAQ",
"Title": "Example faq title",
"DocumentID": 111,
"Categories": [
"Software",
"Example"
],
"Score": "3.523123"
}
],
"SectionTitle": "Knowledge Base Articles"
}
]
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Returns a list of articles for the given category id.
get /api/public/knowledge-base/article/list
Returns a list of articles for the given category id.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- ArticlesPerPage: (string)
- Page: (string)
HTTP status code 200
Result for the normal category list.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Articles": [
{
"ID": 1,
"Title": "Windows 95 problem..."
},
{
"ID": 2,
"Title": "Computer is broken..."
}
],
"TotalArticles": 0
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Returns a list of articles for the given category id.
get /api/public/knowledge-base/article/list/{CategoryID}
Returns a list of articles for the given category id.
URI Parameters
- CategoryID: (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- ArticlesPerPage: (string)
- Page: (string)
HTTP status code 200
Result for the normal category list.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Articles": [
{
"ID": 1,
"Title": "Windows 95 problem..."
},
{
"ID": 2,
"Title": "Computer is broken..."
}
],
"TotalArticles": 0
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Returns the related knowledgebase articles.
post /api/public/knowledge-base/article/related-articles
Returns the related knowledgebase articles.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- Body: required (string)
- Languages: (string)
- Limit: (string)
- Subject: required (string)
HTTP status code 200
Result for an existing knowledgebase article or a given subject and body.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ID": 1,
"Title": "Article Title Test 1"
},
{
"ID": 2,
"Title": "Article Title Test 2"
},
{
"ID": 3,
"Title": "Article Title Test 3"
}
]
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Returns the requested knowledgebase article.
get /api/public/knowledge-base/article/{ArticleID}
Returns the requested knowledgebase article.
URI Parameters
- ArticleID: (string)
Example:
1234
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Result for an existing knowledgebase article.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Number": 100032,
"Title": "Article Title",
"CategoryID": 2,
"Fields": [
{
"Caption": "Symptom",
"Content": "New created pending states do not stop escalations with OTRSEscalationSuspend"
},
{
"Content": "Description of the problem...",
"Caption": "Problem"
},
{
"Caption": "Solution",
"Content": "The solution.... "
},
{
"Content": "A comment...",
"Caption": "Comment"
}
],
"ID": 32
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Returns the attachment content for the given knowledge-base article.
Returns the attachment content for the given knowledge-base article.
get /api/public/knowledge-base/article/{ArticleID}/attachment/{AttachmentID}
Returns the attachment content for the given knowledge-base article.
URI Parameters
- ArticleID: (string)
- AttachmentID: required (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Indicates that the attachment was successfully returned.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Indicates that the access to the attachment is denied (No access to the knowledge-base article).
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 404
Indicates that the attachment was not found.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
head /api/public/knowledge-base/article/{ArticleID}/attachment/{AttachmentID}
Returns the attachment content for the given knowledge-base article.
URI Parameters
- ArticleID: (string)
- AttachmentID: required (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Indicates that the attachment was successfully returned.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Indicates that the access to the attachment is denied (No access to the knowledge-base article).
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 404
Indicates that the attachment was not found.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Returns the attachment content for the given knowledge-base article.
Returns the attachment content for the given knowledge-base article.
get /api/public/knowledge-base/article/{ArticleID}/attachment/{AttachmentID}/download
Returns the attachment content for the given knowledge-base article.
URI Parameters
- ArticleID: (string)
- AttachmentID: required (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Indicates that the attachment was successfully returned.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Indicates that the access to the attachment is denied (No access to the knowledge-base article).
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 404
Indicates that the attachment was not found.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
head /api/public/knowledge-base/article/{ArticleID}/attachment/{AttachmentID}/download
Returns the attachment content for the given knowledge-base article.
URI Parameters
- ArticleID: (string)
- AttachmentID: required (string)
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Indicates that the attachment was successfully returned.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 403
Indicates that the access to the attachment is denied (No access to the knowledge-base article).
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 404
Indicates that the attachment was not found.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Returns the related knowledgebase articles.
get /api/public/knowledge-base/article/{ArticleID}/related-articles
Returns the related knowledgebase articles.
URI Parameters
- ArticleID: (string)
Example:
1234
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Result for an existing knowledgebase article or a given subject and body.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"Title": "Article Title Test 1",
"ID": 1
},
{
"ID": 2,
"Title": "Article Title Test 2"
},
{
"ID": 3,
"Title": "Article Title Test 3"
}
]
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Checks if the voting buttons should be shown.
get /api/public/knowledge-base/article/{ArticleID}/vote/check
Checks if the voting buttons should be shown.
URI Parameters
- ArticleID: (string)
Example:
1234
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Check if voting buttons should be shown.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"ShowVotingButtons": 1
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Checks if the voting buttons should be shown and also sending the vote for a knowledgebase article.
post /api/public/knowledge-base/article/{ArticleID}/vote/send
Checks if the voting buttons should be shown and also sending the vote for a knowledgebase article.
URI Parameters
- ArticleID: (string)
Example:
1234
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Body
Media type: application/json
Type: object
Properties- Vote: required (string)
HTTP status code 200
Check if voting buttons should be shown. Voting success for an existing knowledgebase article vote.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"ShowVotingButtons": 1,
"VoteSuccess": 1
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
HTTP status code 900
Custom error response, see example for a list of possible responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
[
{
"ErrorIdentifier": "CouldNotVote",
"ErrorMessage": "The system was unable to save the vote."
}
]
Returns a list of subcategories for the given category id.
get /api/public/knowledge-base/categorylist
Returns a list of subcategories for the given category id.
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Result for the normal category list.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"SubCategories": [
{
"Name": "Special",
"Comment": "This is my second category.",
"CategoryID": 2
},
{
"CategoryID": 3,
"Comment": "This is my third category.",
"Name": "Product A"
},
{
"Comment": "This is my fourth category.",
"Name": "Product B",
"CategoryID": 4
}
],
"Category": {
"Comment": "This is my first category.",
"Name": "Home",
"CategoryID": 1
},
"CategoryPath": [
{
"CategoryID": 2,
"Comment": "For all Hardware questions.",
"Name": "Hardware"
},
{
"CategoryID": 4,
"Comment": "For Computer.",
"Name": "Computer"
},
{
"Comment": "For Notebooks.",
"Name": "Notebook",
"CategoryID": 5
}
]
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Returns a list of subcategories for the given category id.
get /api/public/knowledge-base/categorylist/{CategoryID}
Returns a list of subcategories for the given category id.
URI Parameters
- CategoryID: (string)
Example:
1234
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
HTTP status code 200
Result for the normal category list.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"SubCategories": [
{
"Name": "Special",
"Comment": "This is my second category.",
"CategoryID": 2
},
{
"Name": "Product A",
"Comment": "This is my third category.",
"CategoryID": 3
},
{
"CategoryID": 4,
"Name": "Product B",
"Comment": "This is my fourth category."
}
],
"Category": {
"CategoryID": 1,
"Name": "Home",
"Comment": "This is my first category."
},
"CategoryPath": [
{
"CategoryID": 2,
"Comment": "For all Hardware questions.",
"Name": "Hardware"
},
{
"Name": "Computer",
"Comment": "For Computer.",
"CategoryID": 4
},
{
"Comment": "For Notebooks.",
"Name": "Notebook",
"CategoryID": 5
}
]
}
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}
Fetch package repository data
get /api/public/package/repository
Fetch package repository data
Headers
- X-OTRS-API-Debug: (string)
Optional, enables debugging information in responses based on the settings in WebApp.conf.
Query Parameters
- File: required (string)
HTTP status code 200
Add description for example responses.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
HTTP status code 422
Invalid input data.
Headers
- X-OTRS-API-Debug-SQLTrace: (string)
Includes SQL debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_sql_trace' is enabled.
- X-OTRS-API-Debug-STDERRLog: (string)
Includes STDERR debugging information, if 'X-OTRS-API-Debug' was sent and 'enable_debugger_stderr_log' is enabled.
- X-OTRS-API-Version: required (string)
Provides endpoint version information.
Example:
1.0.0
Body
Media type: application/json
Type: object
Example:
{
"Errors": {
"Field1": {
"Message": "..."
}
}
}