{"id":462,"date":"2022-04-25T12:59:46","date_gmt":"2022-04-25T12:59:46","guid":{"rendered":"https:\/\/phonenumbermonitoring.com\/wiki\/?post_type=lsvr_kba&#038;p=462"},"modified":"2022-08-23T14:37:32","modified_gmt":"2022-08-23T14:37:32","slug":"pnm-api","status":"publish","type":"lsvr_kba","link":"https:\/\/phonenumbermonitoring.com\/wiki\/knowledge-base\/pnm-api\/","title":{"rendered":"PNM API"},"content":{"rendered":"<p>PhoneNumberMonitoring provides the PNM API to allow third-party services to get information about created monitoring plans and placed calls.<\/p>\n<p>The PNM API is served over HTTPS. All API responses are returned in JSON format.<\/p>\n<h2>Base URL<\/h2>\n<p>All URIs referenced in the document have the following base:<\/p>\n<pre>https:\/\/api.phonenumbermonitoring.com\/GetJobStatus\/<\/pre>\n<h2>Authentication<\/h2>\n<p>To set up an integration with PhoneNumberMonitoring (PNM) you must have access to an active PNM account and account API Unique Identifier to be authenticated by the service. To be authenticated you are required to pass your API UID in URL with every API request:<\/p>\n<pre>https:\/\/api.phonenumbermonitoring.com\/GetJobStatus\/plans?<span style=\"color: #ff6600;\">{apiuid}<span style=\"color: #000000;\">&amp;...<\/span><\/span><\/pre>\n<h3>Path Parameters<\/h3>\n<div class=\"su-table su-table-alternate\">\n<table style=\"width: 24.4159%;height: 172px\">\n<tbody>\n<tr style=\"height: 24px\">\n<th style=\"height: 24px;width: 32.8125%\"><strong>Field<\/strong><\/th>\n<th style=\"height: 24px;width: 6.875%\"><strong>Type<\/strong><\/th>\n<th style=\"width: 6.875%\"><strong>Required<\/strong><\/th>\n<th style=\"height: 24px;width: 50.3125%\"><strong>Description<\/strong><\/th>\n<\/tr>\n<tr style=\"height: 148px\">\n<td style=\"height: 148px;width: 32.8125%\">\n<p align=\"center\"><span style=\"color: #ff9900\"><em>apiuid<\/em><\/span><\/p>\n<\/td>\n<td style=\"height: 148px;width: 6.875%\">\n<p align=\"center\">string<\/p>\n<\/td>\n<td style=\"width: 6.875%\">\n<p align=\"center\">true<\/p>\n<\/td>\n<td style=\"height: 148px;width: 50.3125%\">API UID for your PNM account.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>To find the API UID generated for your PNM account, go to <strong>Account<\/strong> &gt; <strong>Profile<\/strong> &gt; <strong>Credentials<\/strong> and copy the UID from the corresponding filed.\u00a0If you need to change your API UID, you can do this at any time under the <strong>Credentials<\/strong> tab by clicking the <strong>Regenerate<\/strong> button next to the <strong>API UID<\/strong> filed.<\/p>\n<h2>Endpoints<\/h2>\n<p>All read methods are HTTPS GET requests. Calls made over HTTP will fail.<\/p>\n<p>All query parameters should be sent in URI and separated by an ampersand <code class=\"rdmd-code lang- theme-light\" data-lang=\"\"><span class=\"cm-s-neo\">&amp;<\/span><\/code>. Every call to the PNM API must include PNM UID of your active PNM account.<\/p>\n<p><a href=\"https:\/\/phonenumbermonitoring.com\/wiki\/knowledge-base\/list-plans-api\/\"><b>List Plans API<\/b><\/a><\/p>\n<p>The PNM API provides <em><span style=\"color: #ff6600;\">GetJobStatus\/plans<\/span><\/em> endpoint to get information on all monitoring plans that are created within your PNM account.<\/p>\n<pre>https:\/\/api.phonenumbermonitoring.com\/GetJobStatus\/plans?apiuid=XXXXXXXXXX<\/pre>\n<p><a href=\"https:\/\/phonenumbermonitoring.com\/wiki\/knowledge-base\/list-active-plans-api\/\"><strong>List Active Plans API<\/strong><\/a><\/p>\n<p>The PNM API provides <em><span style=\"color: #ff6600;\">GetJobStatus\/activeplans<\/span><\/em> endpoint to get information only on active monitoring plans within your PNM account.<\/p>\n<pre>https:\/\/api.phonenumbermonitoring.com\/GetJobStatus\/activeplans?apiuid=XXXXXXXXXX<\/pre>\n<p><a href=\"https:\/\/phonenumbermonitoring.com\/wiki\/knowledge-base\/get-notifications-info-api\/\"><b>Get Notifications API<\/b><\/a><\/p>\n<p>The PNM API provides <em><span style=\"color: #ff6600;\">GetJobStatus\/all<\/span><\/em> endpoint to get information on all notifications for the last 24 hours or as specified in the query.<\/p>\n<pre>https:\/\/api.phonenumbermonitoring.com\/GetJobStatus\/all?apiuid=XXXXXXXXXX<\/pre>\n<pre><\/pre>\n<p><a href=\"https:\/\/phonenumbermonitoring.com\/wiki\/knowledge-base\/get-notifications-by-status-api\/\"><strong>Get Notifications By Status API<\/strong><\/a><\/p>\n<p>The PNM API provides <em><span style=\"color: #ff6600;\">GetJobStatus\/bystatus<\/span><\/em> endpoint to get information on all notifications for the calls with a specific status.<\/p>\n<pre>https:\/\/api.phonenumbermonitoring.com\/GetJobStatus\/bystatus?apiuid=XXXXXXXXXX&amp;status=XXXXXXXXXXXXX<\/pre>\n<p>where status can be: incorrectresponse, noanydigit, sysphoneerror, noanswer , busy, fails, success, answer, anydigit, anyword, rtmtimeout<\/p>\n<p><a href=\"https:\/\/phonenumbermonitoring.com\/wiki\/knowledge-base\/get-notifications-by-plan-api\/\"><strong>Get Notifications By Plan API<\/strong><\/a><\/p>\n<p>The PNM API provides <em><span style=\"color: #ff6600;\">GetJobStatus\/byID<\/span><\/em> endpoint to get information on all notifications for the specified plan.<\/p>\n<pre>https:\/\/api.phonenumbermonitoring.com\/GetJobStatus\/byID?apiuid=XXXXXXXXXX&amp;id=XX<\/pre>\n<p><a href=\"https:\/\/phonenumbermonitoring.com\/wiki\/knowledge-base\/get-last-notification-for-plan-api\/\"><strong>Get Last Notification For Plan API<\/strong><\/a><\/p>\n<p>The PNM API provides <em><span style=\"color: #ff6600;\">GetJobStatus\/lastbyID<\/span><\/em> endpoint to get information on the last generated notification for the specified plan.<\/p>\n<pre>https:\/\/api.phonenumbermonitoring.com\/GetJobStatus\/lastbyID?apiuid=XXXXXXXXXX&amp;id=XX<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>PhoneNumberMonitoring provides the PNM API to allow third-party services to get information about created monitoring plans and placed calls. The PNM API is served over HTTPS. All API responses are returned in JSON format. Base URL All URIs referenced in the document have the following base: https:\/\/api.phonenumbermonitoring.com\/GetJobStatus\/ Authentication To set up an integration with PhoneNumberMonitoring [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"nf_dc_page":"","om_disable_all_campaigns":false,"footnotes":""},"lsvr_kba_cat":[22],"lsvr_kba_tag":[],"class_list":["post-462","lsvr_kba","type-lsvr_kba","status-publish","format-standard","hentry","lsvr_kba_cat-pnm-api-reference"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Phone Number Monitoring API | Phone Number Monitoring<\/title>\n<meta name=\"description\" content=\"Detailed instructions for PNM API \u2705 Base URL \u2705 Authentication \u2705 Path Parameters \u2705 Endpoints \u27a1\ufe0f Click here to learn more information\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/phonenumbermonitoring.com\/wiki\/knowledge-base\/pnm-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Phone Number Monitoring API | Phone Number Monitoring\" \/>\n<meta property=\"og:description\" content=\"Detailed instructions for PNM API \u2705 Base URL \u2705 Authentication \u2705 Path Parameters \u2705 Endpoints \u27a1\ufe0f Click here to learn more information\" \/>\n<meta property=\"og:url\" content=\"https:\/\/phonenumbermonitoring.com\/wiki\/knowledge-base\/pnm-api\/\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-23T14:37:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/phonenumbermonitoring.com\/wiki\/wp-content\/uploads\/2022\/08\/new-logo2slide.png\" \/>\n\t<meta property=\"og:image:width\" content=\"271\" \/>\n\t<meta property=\"og:image:height\" content=\"311\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Phone Number Monitoring API | Phone Number Monitoring\" \/>\n<meta name=\"twitter:description\" content=\"Detailed instructions for PNM API \u2705 Base URL \u2705 Authentication \u2705 Path Parameters \u2705 Endpoints \u27a1\ufe0f Click here to learn more information\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/phonenumbermonitoring.com\/wiki\/wp-content\/uploads\/2022\/08\/new-logo2slide.png\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/phonenumbermonitoring.com\\\/wiki\\\/knowledge-base\\\/pnm-api\\\/\",\"url\":\"https:\\\/\\\/phonenumbermonitoring.com\\\/wiki\\\/knowledge-base\\\/pnm-api\\\/\",\"name\":\"Phone Number Monitoring API | Phone Number Monitoring\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/phonenumbermonitoring.com\\\/wiki\\\/#website\"},\"datePublished\":\"2022-04-25T12:59:46+00:00\",\"dateModified\":\"2022-08-23T14:37:32+00:00\",\"description\":\"Detailed instructions for PNM API \u2705 Base URL \u2705 Authentication \u2705 Path Parameters \u2705 Endpoints \u27a1\ufe0f Click here to learn more information\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/phonenumbermonitoring.com\\\/wiki\\\/knowledge-base\\\/pnm-api\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/phonenumbermonitoring.com\\\/wiki\\\/knowledge-base\\\/pnm-api\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/phonenumbermonitoring.com\\\/wiki\\\/knowledge-base\\\/pnm-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/phonenumbermonitoring.com\\\/wiki\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge Base\",\"item\":\"https:\\\/\\\/phonenumbermonitoring.com\\\/wiki\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"PNM API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/phonenumbermonitoring.com\\\/wiki\\\/#website\",\"url\":\"https:\\\/\\\/phonenumbermonitoring.com\\\/wiki\\\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/phonenumbermonitoring.com\\\/wiki\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Phone Number Monitoring API | Phone Number Monitoring","description":"Detailed instructions for PNM API \u2705 Base URL \u2705 Authentication \u2705 Path Parameters \u2705 Endpoints \u27a1\ufe0f Click here to learn more information","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/phonenumbermonitoring.com\/wiki\/knowledge-base\/pnm-api\/","og_locale":"en_US","og_type":"article","og_title":"Phone Number Monitoring API | Phone Number Monitoring","og_description":"Detailed instructions for PNM API \u2705 Base URL \u2705 Authentication \u2705 Path Parameters \u2705 Endpoints \u27a1\ufe0f Click here to learn more information","og_url":"https:\/\/phonenumbermonitoring.com\/wiki\/knowledge-base\/pnm-api\/","article_modified_time":"2022-08-23T14:37:32+00:00","og_image":[{"width":271,"height":311,"url":"https:\/\/phonenumbermonitoring.com\/wiki\/wp-content\/uploads\/2022\/08\/new-logo2slide.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_title":"Phone Number Monitoring API | Phone Number Monitoring","twitter_description":"Detailed instructions for PNM API \u2705 Base URL \u2705 Authentication \u2705 Path Parameters \u2705 Endpoints \u27a1\ufe0f Click here to learn more information","twitter_image":"https:\/\/phonenumbermonitoring.com\/wiki\/wp-content\/uploads\/2022\/08\/new-logo2slide.png","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/phonenumbermonitoring.com\/wiki\/knowledge-base\/pnm-api\/","url":"https:\/\/phonenumbermonitoring.com\/wiki\/knowledge-base\/pnm-api\/","name":"Phone Number Monitoring API | Phone Number Monitoring","isPartOf":{"@id":"https:\/\/phonenumbermonitoring.com\/wiki\/#website"},"datePublished":"2022-04-25T12:59:46+00:00","dateModified":"2022-08-23T14:37:32+00:00","description":"Detailed instructions for PNM API \u2705 Base URL \u2705 Authentication \u2705 Path Parameters \u2705 Endpoints \u27a1\ufe0f Click here to learn more information","breadcrumb":{"@id":"https:\/\/phonenumbermonitoring.com\/wiki\/knowledge-base\/pnm-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/phonenumbermonitoring.com\/wiki\/knowledge-base\/pnm-api\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/phonenumbermonitoring.com\/wiki\/knowledge-base\/pnm-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/phonenumbermonitoring.com\/wiki\/"},{"@type":"ListItem","position":2,"name":"Knowledge Base","item":"https:\/\/phonenumbermonitoring.com\/wiki\/knowledge-base\/"},{"@type":"ListItem","position":3,"name":"PNM API"}]},{"@type":"WebSite","@id":"https:\/\/phonenumbermonitoring.com\/wiki\/#website","url":"https:\/\/phonenumbermonitoring.com\/wiki\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/phonenumbermonitoring.com\/wiki\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/phonenumbermonitoring.com\/wiki\/wp-json\/wp\/v2\/lsvr_kba\/462","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phonenumbermonitoring.com\/wiki\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/phonenumbermonitoring.com\/wiki\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/phonenumbermonitoring.com\/wiki\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/phonenumbermonitoring.com\/wiki\/wp-json\/wp\/v2\/comments?post=462"}],"version-history":[{"count":5,"href":"https:\/\/phonenumbermonitoring.com\/wiki\/wp-json\/wp\/v2\/lsvr_kba\/462\/revisions"}],"predecessor-version":[{"id":736,"href":"https:\/\/phonenumbermonitoring.com\/wiki\/wp-json\/wp\/v2\/lsvr_kba\/462\/revisions\/736"}],"wp:attachment":[{"href":"https:\/\/phonenumbermonitoring.com\/wiki\/wp-json\/wp\/v2\/media?parent=462"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/phonenumbermonitoring.com\/wiki\/wp-json\/wp\/v2\/lsvr_kba_cat?post=462"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/phonenumbermonitoring.com\/wiki\/wp-json\/wp\/v2\/lsvr_kba_tag?post=462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}