How to Create Ticket using Generic Channel
After making the channel, please try creating a ticket to confirm that it's working properly. You can create a ticket using generic channels via the provided API. Simply follow these steps to make a generic ticket:
First, you must authorize to get a token that be used to create tickets. Next, after received the token, you can create a ticket using the API available for generic channel.
Create Token
POST {channelURLonlyuntilport}/oauth/token
This is how you get tokens before you can make geeric tickets.
Authorization
Username
Client id
Password
Client secret


Body
grant_type
password
username
Client id
password
Client secret

Response
{
"access_token": "token",
"token_type": "bearer",
"expires_in": 86399,
"scope": "read write"
}<UnauthorizedException>
<error>unauthorized</error>
<error_description>Full authentication is required to access this resource</error_description>
</UnauthorizedException>Create Generic Ticket
POST {Channel URL}
This is used to create tickets through generic channels.
Headers
Authorization
Bearer <token>
Body
Below is an example of a body request that has been agreed as a mapping field available in the 3Dolphins application.
contact_first_name
string
This field is intended for storing the customer's first name
contact_last_name
string
This field is intended for storing the customer's last name
contact_email
string
This field is intended for storing the customer's email address
phones
string
This field is intended for storing the customer's phone number
message
string
This field is intended for storing the customer's message
ticket_number
string
This field contains the ticket number for customer interactions.
account_id
string
This field contains the unique identification number to each customer account.
dolphin.contact.id
string
This field supports for the mapping between the external contact ID and the 3Dolphins contact ID.
Response
{
}
Last updated
Was this helpful?