{"article":{"id":5340756791187,"url":"https://playvox.zendesk.com/api/v2/help_center/en-us/articles/5340756791187.json","html_url":"https://help.playvox.com/hc/en-us/articles/5340756791187-Playvox-API-Integration-for-External-Systems","author_id":1510386337822,"comments_disabled":true,"draft":false,"promoted":false,"position":1,"vote_sum":-1,"vote_count":1,"section_id":11105849447443,"created_at":"2022-04-07T00:44:04Z","updated_at":"2025-07-09T05:21:20Z","name":"Playvox API Integration for External Systems","title":"Playvox API Integration for External Systems","source_locale":"en-us","locale":"en-us","outdated":false,"outdated_locales":[],"edited_at":"2022-11-10T18:06:40Z","user_segment_id":null,"permission_group_id":18273270434707,"content_tag_ids":[],"label_names":["api","external","integration","delete","create","add","update","metadata"],"body":"<div class=\"container\">\n<div class=\"content educate_content\">\n<section class=\"section section__article\">\n<div class=\"paper paper__large\">\n<div class=\"content content__narrow\">\n<div class=\"article intercom-force-break\">\n<div class=\"article__meta\" dir=\"ltr\">\n<div class=\"avatar\">\n<div class=\"avatar__info\">\n<h3><span class=\"wysiwyg-color-black40\">Create an Integration with Playvox API</span></h3>\n</div>\n</div>\n</div>\n<article dir=\"ltr\">\n<p class=\"no-margin\">There are four steps you need to perform to move data from your systems to Playvox:</p>\n<ol>\n<li>\n<p class=\"no-margin\"><a href=\"#step-1-create-the-integration\" target=\"_self\">Create the integration</a></p>\n</li>\n<li>\n<p class=\"no-margin\"><a href=\"#step-2-create-the-metadata\" target=\"_self\">Define the metadata for your integration</a></p>\n</li>\n<li>\n<p class=\"no-margin\"><a href=\"#step-3-send-interactions-data-to-playvox\" target=\"_self\">Send your data to Playvox</a></p>\n</li>\n<li>\n<p class=\"no-margin\"><a href=\"#step-4-send-interactions-comments-data-to-playvox\" target=\"_self\">Add comments to the interactions data you’ve sent to Playvox</a></p>\n</li>\n</ol>\n<p class=\"no-margin\">The following sections will cover each of these steps in greater detail.</p>\n<h3 id=\"step-1-create-the-integration\" data-post-processed=\"true\">Step 1: Create the Integration</h3>\n<p class=\"no-margin\">The first thing you need to do is to create the integration, which is essentially a container within Playvox that will hold all of your metadata, interactions, conversations, and so on. It is used by Playvox to “tag” the information you bring in so that it can be handled and displayed appropriately in the user interfaces.</p>\n<p class=\"no-margin\"> </p>\n<p class=\"no-margin\">If you are logged in to Playvox, you can go to <strong>Settings &gt; Integrations</strong> to see a full list of the integrations available for your account.</p>\n<div class=\"intercom-container\"><img src=\"https://help.playvox.com/hc/article_attachments/11141126498963\" alt=\"Quality_-_Integrations.png\"></div>\n<p class=\"no-margin\">This list will include the default integrations that ship with Playvox, as well as any custom integrations you create.</p>\n<p class=\"no-margin\">Use the <a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/integrations/create\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Create endpoint of the Custom Integrations API</a> to create a new integration. You will need to provide the following information to the API endpoint:</p>\n<ul>\n<li>\n<p class=\"no-margin\">A name for the integration</p>\n</li>\n<li>\n<p class=\"no-margin\">A brief description for the integration</p>\n</li>\n<li>\n<p class=\"no-margin\">Some basic settings -- at this time, Playvox asks only for a data_storage_minutes value, which is the maximum number of minutes you want Playvox to store your information (you can set at max 129600 minutes, representing 90 days of data storage)</p>\n</li>\n</ul>\n<p class=\"no-margin\">Playvox will create your integration, and in the response indicating success, there is a field called <strong>_id</strong>. This is the unique ID for your integration.</p>\n<p class=\"no-margin\">When using the Custom Integrations API, you can identify a specific integration using its unique ID. If you aren’t sure what the ID is for a specific integration, you can get a full list of all integrations associated with your account via the API. Once you have the unique ID in hand, you can use the ID to identify integrations you want to update or delete.</p>\n<p class=\"no-margin\"> </p>\n<h3 id=\"relevant-endpoints\" data-post-processed=\"true\">Relevant Endpoints</h3>\n<ul>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/integrations/list\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">List</a></p>\n</li>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/integrations/create\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Create</a></p>\n</li>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/integrations/update\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Update</a></p>\n</li>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/integrations/delete\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Delete</a></p>\n</li>\n</ul>\n<p class=\"no-margin\"> </p>\n<h3 id=\"step-2-create-the-metadata\" data-post-processed=\"true\">Step 2: Create the Metadata</h3>\n<p class=\"no-margin\">Once you have created your integration, you will need to define the metadata for your integration. The metadata helps Playvox categorize your data and understand the acceptable values for specific fields. More specifically, your metadata is used by Playvox as the set of criteria to filter and refine the interactions to audit in the user interface.</p>\n<p class=\"no-margin\">You can create individual metadata fields by providing the following information to the <a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/integrations/add-metadata\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Add Metadata</a> endpoint:</p>\n<div class=\"intercom-container\"><img src=\"https://downloads.intercomcdn.com/i/o/169594242/a35a3838ca643b433bba45af/Captura+de+Pantalla+2019-12-10+a+la%28s%29+4.12.27+p.%C2%A0m..png\"></div>\n<p class=\"no-margin\">The following is a sample JSON object that contains the information required by Playvox when creating a new metadata property:</p>\n<div class=\"intercom-container\"><img src=\"https://downloads.intercomcdn.com/i/o/169594430/09b8dac5c75d51bf78cfa0c1/Captura+de+Pantalla+2019-12-10+a+la%28s%29+4.13.15+p.%C2%A0m..png\"></div>\n<p class=\"no-margin\">As an example, you can see in the screenshot below how the Quick Filter uses metadata to look for specific interactions:</p>\n<div class=\"intercom-container\"><img src=\"https://help.playvox.com/hc/article_attachments/11141132430995\" alt=\"Quick_Filter_1.png\"></div>\n<p class=\"wysiwyg-text-align-center\"><em>Filtering based on <strong>Reply Time</strong></em></p>\n<p class=\"no-margin\"> </p>\n<div class=\"intercom-container\"><img src=\"https://help.playvox.com/hc/article_attachments/11141239146387\" alt=\"Quick_Filter_2.png\"></div>\n<p class=\"intercom-align-center no-margin wysiwyg-text-align-center\"><em>Filtering based on <strong>Description</strong> (note the difference in operators available)</em></p>\n<p class=\"no-margin\"> </p>\n<p class=\"no-margin\">Reply time is an example of a metadata property, and based on the property’s type, Playvox knows what operations are allowed on the property values (e.g., datetime values can be compared). </p>\n<p class=\"no-margin\">We recommend doing a full schema of the metadata for your custom system ahead of working with the <a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Playvox API</a> to create your integration so that you know ahead of time the properties and the values you need to input. The following is a simple example of how you could do this:</p>\n<p class=\"no-margin\"><strong>You must create at least one datetime field (e.g., solved-date or similar)</strong>. Note, however, that the following values are reserved by Playvox and cannot be used as names for the datetime value(s) you create: <strong>created_at, updated_at.</strong></p>\n<div class=\"intercom-container\"><img src=\"https://downloads.intercomcdn.com/i/o/169606568/e50671f18db50b2b8663288c/Captura+de+Pantalla+2019-12-10+a+la%28s%29+5.14.03+p.%C2%A0m..png\"></div>\n<div class=\"intercom-container\"> </div>\n<h3 id=\"relevant-endpoints\" data-post-processed=\"true\">Relevant Endpoints</h3>\n<ul>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/integrations/add-metadata\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Add Metadata</a></p>\n</li>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/integrations/update-metadata\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Update Metadata</a></p>\n</li>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/integrations/delete-metadata\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Delete Metadata</a></p>\n</li>\n</ul>\n<p class=\"no-margin\"> </p>\n<h3 id=\"step-3-send-interactions-data-to-playvox\" data-post-processed=\"true\">Step 3: Send Interactions Data to Playvox</h3>\n<p class=\"no-margin\">Once you’ve created an integration and defined your metadata, you can send the data from your system to Playvox. When sending in your data, Playvox distinguishes between the interactions themselves and the comments on those interactions. In this step, we will focus on the former.</p>\n<p class=\"no-margin\">In the Playvox user interface, you can find your interactions listed under <strong>Quality &gt; Interactions:</strong></p>\n<div class=\"intercom-container\"><img src=\"https://help.playvox.com/hc/article_attachments/11141236997779\" alt=\"Interactions.png\"></div>\n<p class=\"no-margin\">Each row represents one interaction. Notice the high-level information that is displayed for each interaction, including the date, its status (e.g., <strong>Taken</strong>). All of these pieces of information are entered into Playvox as metadata.</p>\n<h3 id=\"relevant-endpoints\" data-post-processed=\"true\">Relevant Endpoints</h3>\n<ul>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/interactions/list\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">List</a></p>\n</li>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/interactions/create\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Create</a></p>\n</li>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/interactions/update\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Update</a></p>\n</li>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/interactions/delete\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Delete</a></p>\n</li>\n</ul>\n<h3 id=\"step-4-send-interactions-comments-data-to-playvox\" data-post-processed=\"true\">Step 4: Send Interactions’ Comments Data to Playvox</h3>\n<p class=\"no-margin\">Once you’ve sent the interactions data to Playvox, you will need to create the conversations that occur regarding that interaction. Playvox, with the necessary information, will associate the conversation with the appropriate interaction. In the following screenshot, you can see all of the Comments associated with the highlighted interaction on the left:</p>\n<div class=\"intercom-container\"><img src=\"https://help.playvox.com/hc/article_attachments/11141369077395\" alt=\"Interactionscomments.png\"></div>\n<p class=\"no-margin\">In addition to sending the comments, you will provide as much information about the comment itself as you’d life. For example, our sample comments above include information about the name of the commenter, their email address, and the date/time of the comment.</p>\n<p class=\"no-margin\">To send a new comment to Playvox, you can use the <a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/interaction-comments/create\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Interactions Comment - Create</a> endpoint and provide the following information:</p>\n<div class=\"intercom-container\"><img src=\"https://downloads.intercomcdn.com/i/o/169596065/c861abe00b103420dd2cb1cc/Captura+de+Pantalla+2019-12-10+a+la%28s%29+4.20.44+p.%C2%A0m..png\"></div>\n<div class=\"intercom-container\"> </div>\n<h3 id=\"relevant-endpoints\" data-post-processed=\"true\">Relevant Endpoints</h3>\n<ul>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/interaction-comments/list\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">List</a></p>\n</li>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/interaction-comments/create\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Create</a></p>\n</li>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/interaction-comments/update\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Update</a></p>\n</li>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/interaction-comments/delete\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Delete</a></p>\n</li>\n</ul>\n<h3 id=\"bulk-operations\" data-post-processed=\"true\">Bulk Operations</h3>\n<p class=\"no-margin\">You can use the <a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/bulk-interactions/create\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">bulk API</a> to import interactions in batch from your systems into Playvox. This is designed for high demand operations. <br>The endpoint accepts an array of up to 100 interactions objects then it will <br>returns a job JSON object and queuest a background job to do the work. Use the <a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/jobs/load-one\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">load one Job API endpoint</a> to check for the job status.</p>\n<p class=\"no-margin\"><strong>Relevant Endpoints</strong></p>\n<ul>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/bulk-interactions/create\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Create in Bulk</a></p>\n</li>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://developers.playvox.com/restapis/#/reference/0/jobs/load-one\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Load Job Status</a></p>\n</li>\n</ul>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https://help.playvox.com/hc/en-us/articles/5355250993043\" target=\"_blank\" rel=\"noopener noreferrer\" data-is-internal-link=\"true\">Learn how to send audio, video or different types of files in your API Integration for external systems</a>.</p>\n</article>\n</div>\n</div>\n</div>\n</section>\n</div>\n</div>","user_segment_ids":[]}}