Dixa

App · 25 actions

Create and manage customer service conversations, customers, notes and tags in Dixa.

Actions

ActionWhat it does
Add internal noteAdd a note to a conversation that only your agents see.
Add messageAdd a message to a conversation: one from the customer, or one an agent sends to the customer.
Assign conversation to agentAssign a conversation to an agent, as if they had claimed it.
Close conversationClose a conversation.
Create customerCreate a customer (end user) in Dixa.
Create email conversationStart an email conversation in Dixa for a customer, written by the customer or sent by an agent.
Create tagCreate a tag.
Delete tagDelete a tag and remove it from every conversation.
Get conversationGet a conversation with its channel, status, assignee and queue.
Get customerGet a customer (end user) with their contact details and custom attributes.
List agentsList the agents and admins in Dixa, or find one by email or phone number.
List customer conversationsList the conversations a customer (end user) started.
List customersList customers (end users), or find them by email, phone number or external ID.
List email addresses and phone numbersList the email addresses and phone numbers customers reach you on in Dixa.
List internal notesList the internal notes on a conversation.
List messagesList a conversation's messages, oldest first.
List queuesList the queues conversations wait in for an agent.
List tagsList the tags in Dixa.
Remove tag from conversationRemove a tag from a conversation.
Reopen conversationReopen a closed conversation and offer it in its queue again, or in the default queue.
Search conversationsFind conversations by the text in them and by status, channel, queue, agent, tag or creation time.
Set follow-upPut a conversation on follow-up until a date and time, when Dixa brings it back.
Tag conversationAdd an active tag to a conversation.
Transfer conversation to queueMove a conversation to another queue.
Update customerChange a customer's name or contact details.

Add internal note

Add a note to a conversation that only your agents see.

Inputs

Conversation IDconversation_idnumberRequired
The conversation's number, shown as its ID in Dixa.At least 1.
NotenotetextRequired
The note's text.
Authoragent_idtext
The agent the note is from. Leave empty to add it as Dixa's system user.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "authorId": "example",
    "createdAt": "example",
    "csid": 1,
    "id": "example",
    "message": "example"
  }
}

Add message

Add a message to a conversation: one from the customer, or one an agent sends to the customer.

Inputs

Conversation IDconversation_idnumberRequired
The conversation's number, shown as its ID in Dixa.At least 1.
MessagetexttextRequired
The message's text.
Formatcontent_formattext
How the message is written: plain text (the default), Markdown or HTML.One of: Text (Plain text), Markdown, Html. Default: Text.
Written bydirectiontext
From the customer (the default), or from an agent, which Dixa sends to the customer.One of: Inbound (From the customer), Outbound (From an agent). Default: Inbound.
Agentagent_idtext
For a message from an agent: the agent who sends it.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "authorId": "example",
    "content": {
      "_type": "example",
      "value": "example"
    },
    "createdAt": "example",
    "direction": "example",
    "externalId": "example",
    "messageId": "example"
  }
}

Assign conversation to agent

Assign a conversation to an agent, as if they had claimed it.

Inputs

Conversation IDconversation_idnumberRequired
The conversation's number, shown as its ID in Dixa.At least 1.
Agentagent_idtextRequired
The agent or admin in Dixa.
Take overtake_overtrue/false
Take the conversation even if another agent already has it. Leave off to leave such a conversation alone.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "agent_id": "example",
    "conversation_id": 1,
    "success": true
  }
}

Close conversation

Close a conversation.

Inputs

Conversation IDconversation_idnumberRequired
The conversation's number, shown as its ID in Dixa.At least 1.
Done byacting_agent_idtext
The agent the activity log credits with this. Leave empty to credit Dixa's system user.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "conversation_id": 1,
    "success": true
  }
}

Create customer

Create a customer (end user) in Dixa.

Inputs

Display namedisplay_nametext
The customer's name as Dixa shows it.
First namefirst_nametext
The customer's first name.
Last namelast_nametext
The customer's last name.
Emailemailtext
The customer's main email address.
Phone numberphone_numbertext
The customer's main phone number, with the country code, such as +4531434343.
External IDexternal_idtext
The customer's ID in another system of yours, such as your shop or CRM.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "additionalEmails": [
      "example"
    ],
    "additionalPhoneNumbers": [
      "example"
    ],
    "avatarUrl": "example",
    "createdAt": "example",
    "customAttributes": [
      {
        "id": "example",
        "identifier": "example",
        "name": "example"
      }
    ],
    "displayName": "example",
    "email": "example",
    "externalId": "example",
    "firstName": "example",
    "id": "example",
    "lastName": "example",
    "middleNames": [
      "example"
    ],
    "phoneNumber": "example"
  }
}

Create email conversation

Start an email conversation in Dixa for a customer, written by the customer or sent by an agent.

Inputs

Customerend_user_idtextRequired
The customer the conversation is with.
Dixa email addressemail_addresstextRequired
The Dixa email address the conversation belongs to.
SubjectsubjecttextRequired
The email's subject.
MessagetexttextRequired
The first message of the conversation.
Formatcontent_formattext
How the message is written: plain text (the default), Markdown or HTML.One of: Text (Plain text), Markdown, Html. Default: Text.
Written bydirectiontext
From the customer (the default), or from an agent, which Dixa sends to the customer.One of: Inbound (From the customer), Outbound (From an agent). Default: Inbound.
Agentagent_idtext
For a message from an agent: the agent who sends it.
Languagelanguagetext
The conversation's language as a two-letter code, such as en or da.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "id": 1
  }
}

Create tag

Create a tag. If a tag with the same name exists, Dixa returns that one unchanged.

Inputs

NamenametextRequired
The tag's name.
Colorcolortext
The tag's color as a hex code, such as #4A90E2.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "color": "example",
    "id": "example",
    "name": "example",
    "state": "example"
  }
}

Delete tag

Delete a tag and remove it from every conversation. This can't be undone.

Inputs

Tagtag_idtextRequired
The tag.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "success": true,
    "tag_id": "example"
  }
}

Get conversation

Get a conversation with its channel, status, assignee and queue.

Inputs

Conversation IDconversation_idnumberRequired
The conversation's number, shown as its ID in Dixa.At least 1.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "_type": "example",
    "assignment": {
      "agentId": "example",
      "assignedAt": "example"
    },
    "channel": "example",
    "createdAt": "example",
    "customAttributes": [
      {
        "id": "example",
        "identifier": "example",
        "name": "example"
      }
    ],
    "direction": "example",
    "fromEmail": "example",
    "id": 1,
    "integrationEmail": "example",
    "language": "example",
    "queue": {
      "id": "example",
      "queuedAt": "example"
    },
    "requesterId": "example",
    "state": "example",
    "stateUpdatedAt": "example",
    "subject": "example",
    "toEmail": "example"
  }
}

Get customer

Get a customer (end user) with their contact details and custom attributes.

Inputs

Customerend_user_idtextRequired
The customer (end user) in Dixa.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "additionalEmails": [
      "example"
    ],
    "additionalPhoneNumbers": [
      "example"
    ],
    "avatarUrl": "example",
    "createdAt": "example",
    "customAttributes": [
      {
        "id": "example",
        "identifier": "example",
        "name": "example"
      }
    ],
    "displayName": "example",
    "email": "example",
    "externalId": "example",
    "firstName": "example",
    "id": "example",
    "lastName": "example",
    "middleNames": [
      "example"
    ],
    "phoneNumber": "example"
  }
}

List agents

List the agents and admins in Dixa, or find one by email or phone number.

Inputs

Emailemailtext
Only the agent with this email address. Use this or a phone number, not both.
Phone numberphonetext
Only the agent with this phone number. Use this or an email address, not both.
Page sizepage_limitnumber
How many agents to return in one page. Leave empty for Dixa's default.At least 1.
Page keypage_keytext
To read the next page, the next_page_key value a previous list step returned.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "additionalEmails": [
          "example"
        ],
        "additionalPhoneNumbers": [
          "example"
        ],
        "avatarUrl": "example",
        "createdAt": "example",
        "displayName": "example",
        "email": "example",
        "firstName": "example",
        "id": "example",
        "lastName": "example",
        "middleNames": [
          "example"
        ],
        "phoneNumber": "example",
        "roles": [
          "example"
        ]
      }
    ],
    "next_page_key": "example"
  }
}

List customer conversations

List the conversations a customer (end user) started.

Inputs

Customerend_user_idtextRequired
The customer (end user) in Dixa.
Page sizepage_limitnumber
How many conversations to return in one page. Leave empty for Dixa's default.At least 1.
Page keypage_keytext
To read the next page, the next_page_key value a previous list step returned.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "_type": "example",
        "assignment": {
          "agentId": "example",
          "assignedAt": "example"
        },
        "channel": "example",
        "createdAt": "example",
        "customAttributes": [
          {
            "id": "example",
            "identifier": "example",
            "name": "example"
          }
        ],
        "direction": "example",
        "fromEmail": "example",
        "id": 1,
        "integrationEmail": "example",
        "language": "example",
        "queue": {
          "id": "example",
          "queuedAt": "example"
        },
        "requesterId": "example",
        "state": "example",
        "stateUpdatedAt": "example",
        "subject": "example",
        "toEmail": "example"
      }
    ],
    "next_page_key": "example"
  }
}

List customers

List customers (end users), or find them by email, phone number or external ID.

Inputs

Emailemailtext
Only the customer with this email address. Use this or a phone number, not both.
Phone numberphonetext
Only the customer with this phone number. Use this or an email address, not both.
External IDexternal_idtext
Only the customer with this ID from another system of yours.
Page sizepage_limitnumber
How many customers to return in one page. Leave empty for Dixa's default.At least 1.
Page keypage_keytext
To read the next page, the next_page_key value a previous list step returned.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "additionalEmails": [
          "example"
        ],
        "additionalPhoneNumbers": [
          "example"
        ],
        "avatarUrl": "example",
        "createdAt": "example",
        "customAttributes": [
          {
            "id": "example",
            "identifier": "example",
            "name": "example"
          }
        ],
        "displayName": "example",
        "email": "example",
        "externalId": "example",
        "firstName": "example",
        "id": "example",
        "lastName": "example",
        "middleNames": [
          "example"
        ],
        "phoneNumber": "example"
      }
    ],
    "next_page_key": "example"
  }
}

List email addresses and phone numbers

List the email addresses and phone numbers customers reach you on in Dixa.

Inputs

Typeendpoint_typetext
Only email addresses, or only phone numbers. Leave empty for both.One of: EmailEndpoint (Email addresses), TelephonyEndpoint (Phone numbers).

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "_type": "example",
        "address": "example",
        "functionality": [
          "example"
        ],
        "name": "example",
        "number": "example",
        "senderOverride": "example"
      }
    ]
  }
}

List internal notes

List the internal notes on a conversation.

Inputs

Conversation IDconversation_idnumberRequired
The conversation's number, shown as its ID in Dixa.At least 1.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "authorId": "example",
        "createdAt": "example",
        "csid": 1,
        "id": "example",
        "message": "example"
      }
    ]
  }
}

List messages

List a conversation's messages, oldest first.

Inputs

Conversation IDconversation_idnumberRequired
The conversation's number, shown as its ID in Dixa.At least 1.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "attributes": {
          "_type": "example",
          "attachments": [
            {
              "prettyName": "example",
              "url": "example"
            }
          ],
          "cc": [
            {
              "email": "example",
              "name": "example"
            }
          ],
          "content": {
            "_type": "example",
            "value": "example"
          },
          "direction": "example",
          "emailContent": {
            "_type": "example",
            "content": {
              "_type": "example",
              "value": "example"
            },
            "file": {
              "prettyName": "example",
              "url": "example"
            }
          },
          "isAutoReply": true,
          "isAutomated": true,
          "to": [
            {
              "email": "example",
              "name": "example"
            }
          ]
        },
        "authorId": "example",
        "createdAt": "example",
        "externalId": "example",
        "id": "example"
      }
    ]
  }
}

List queues

List the queues conversations wait in for an agent.

Inputs

None.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "id": "example",
        "isDefault": true,
        "isDoNotOfferEnabled": true,
        "isPreferredAgentEnabled": true,
        "isRestricted": true,
        "memberListType": "example",
        "name": "example",
        "offerAbandonedConversations": true,
        "offerTimeout": 1,
        "offeringAlgorithm": "example",
        "organizationId": "example",
        "priority": 1,
        "wrapupTimeout": 1
      }
    ]
  }
}

List tags

List the tags in Dixa. Only active tags unless you include deactivated ones.

Inputs

Include deactivatedinclude_deactivatedtrue/false
Also list tags that have been deactivated.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "color": "example",
        "id": "example",
        "name": "example",
        "state": "example"
      }
    ]
  }
}

Remove tag from conversation

Remove a tag from a conversation.

Inputs

Conversation IDconversation_idnumberRequired
The conversation's number, shown as its ID in Dixa.At least 1.
Tagtag_idtextRequired
The tag.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "conversation_id": 1,
    "success": true,
    "tag_id": "example"
  }
}

Reopen conversation

Reopen a closed conversation and offer it in its queue again, or in the default queue.

Inputs

Conversation IDconversation_idnumberRequired
The conversation's number, shown as its ID in Dixa.At least 1.
Done byacting_agent_idtext
The agent the activity log credits with this. Leave empty to credit Dixa's system user.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "conversation_id": 1,
    "success": true
  }
}

Search conversations

Find conversations by the text in them and by status, channel, queue, agent, tag or creation time. Returns their IDs.

Inputs

Search texttexttext
Words to look for in the conversations' subjects and messages.
Exact matchexact_matchtrue/false
Match the search text exactly rather than any of its words.
Statusesstatuseslist
Only conversations in one of these statuses.One or more of: open, closed, pending.
Channelschannelslist
Only conversations on one of these channels.One or more of: email, contactform (Contact form), chat, dixamessenger (Dixa Messenger), phone, voicemail, callback, sms, facebookmessenger (Facebook Messenger), whatsapp, and 6 more.
Queuequeue_idtext
Only conversations in this queue.
Agentagent_idtext
Only conversations assigned to this agent.
Tagstag_idslist
Only conversations with at least one of these tags.
Created aftercreated_afterdate and time
Only conversations created at or after this time.
Created beforecreated_beforedate and time
Only conversations created at or before this time.
Page sizepage_limitnumber
How many conversations to return in one page. Leave empty for Dixa's default.At least 1.
Page keypage_keytext
To read the next page, the next_page_key value a previous list step returned.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "highlights": {},
        "id": 1
      }
    ],
    "next_page_key": "example"
  }
}

Set follow-up

Put a conversation on follow-up until a date and time, when Dixa brings it back.

Inputs

Conversation IDconversation_idnumberRequired
The conversation's number, shown as its ID in Dixa.At least 1.
Follow up atfollow_up_atdate and timeRequired
When the follow-up ends and the conversation comes back.
Done byacting_agent_idtext
The agent the activity log credits with this. Leave empty to credit Dixa's system user.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "conversation_id": 1,
    "success": true
  }
}

Tag conversation

Add an active tag to a conversation.

Inputs

Conversation IDconversation_idnumberRequired
The conversation's number, shown as its ID in Dixa.At least 1.
Tagtag_idtextRequired
The tag.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "conversation_id": 1,
    "success": true,
    "tag_id": "example"
  }
}

Transfer conversation to queue

Move a conversation to another queue.

Inputs

Conversation IDconversation_idnumberRequired
The conversation's number, shown as its ID in Dixa.At least 1.
Queuequeue_idtextRequired
The queue to move the conversation to.
Done byacting_agent_idtext
The agent the activity log credits with this. Leave empty to credit Dixa's system user.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "conversation_id": 1,
    "queue_id": "example",
    "success": true
  }
}

Update customer

Change a customer's name or contact details. Fields left empty stay as they are.

Inputs

Customerend_user_idtextRequired
The customer (end user) in Dixa.
Display namedisplay_nametext
The new name as Dixa shows it.
First namefirst_nametext
The new first name.
Last namelast_nametext
The new last name.
Emailemailtext
The new main email address.
Phone numberphone_numbertext
The new main phone number, with the country code, such as +4531434343.
External IDexternal_idtext
The new ID in another system of yours, such as your shop or CRM.

Outputs

dataobject
The response from Dixa.
Example output
{
  "data": {
    "additionalEmails": [
      "example"
    ],
    "additionalPhoneNumbers": [
      "example"
    ],
    "avatarUrl": "example",
    "createdAt": "example",
    "customAttributes": [
      {
        "id": "example",
        "identifier": "example",
        "name": "example"
      }
    ],
    "displayName": "example",
    "email": "example",
    "externalId": "example",
    "firstName": "example",
    "id": "example",
    "lastName": "example",
    "middleNames": [
      "example"
    ],
    "phoneNumber": "example"
  }
}

On this page