{"info":{"_postman_id":"373aeef3-f4e2-40fa-8b73-ff598209d702","name":"ZeeBolt REST API Docs v2","description":"<html><head></head><body><h2 id=\"getting-started\">Getting Started</h2>\n<p>Welcome to the <strong>ZeeBolt API documentation</strong>! <strong>ZeeBolt's RESTful APIs</strong> provides the simplest way to communicate and integrate with applications. <strong>ZeeBolt's services</strong> provides and enhance your messaging and engagement capabilities. Allowing you to send alerts, reminders, notifications, OTP (one-time passwords), SMS delivery statuses and personalized messages.</p>\n<h2 id=\"create-an-account\">Create an Account</h2>\n<p>Register a new account on ZeeBolt by visiting <a href=\"https://a.zeebolt.com/register\">Register Page.</a> After signing up, you can request for API Key <strong>(Token)</strong> on <a href=\"https://a.zeebolt.com/\">Settings Page</a> to access our Services.</p>\n<h2 id=\"review-our-documentation\">Review Our Documentation</h2>\n<p>Take some time to go through our comprehensive API documentation to understand how to integrate and utilize the resources available.</p>\n<h2 id=\"test-integration\">Test Integration</h2>\n<p>Integrate <strong>ZeeBolt API</strong> features into your application or platform and thoroughly test your implementation. Verify everything works as expected.</p>\n<h2 id=\"base-url\">Base URL</h2>\n<p>All API requests points to our base URL below<br><a href=\"https://api.zeebolt.com/v1/\">https://api.zeebolt.com/v2/</a></p>\n<h2 id=\"authentication\">Authentication</h2>\n<p>Our API endpoints requires a <strong>bearer</strong> <strong>token</strong>, to access the service. The API Key <strong>(Token)</strong> can be generated on the <a href=\"https://a.zeebolt.com/\">Settings Page</a> <strong>on ZeeBolt</strong>.</p>\n<h2 id=\"api-request\">API Request</h2>\n<p>All API resources are below</p>\n<ul>\n<li><p><strong>Send Message</strong></p>\n</li>\n<li><p><strong>Create Sender ID</strong></p>\n</li>\n<li><p><strong>Retrieve Sender ID</strong></p>\n</li>\n<li><p><strong>Balance</strong></p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"16168734","collectionId":"373aeef3-f4e2-40fa-8b73-ff598209d702","publishedId":"2sBXVeFXsd","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"b70eb6"},"publishDate":"2026-01-08T06:21:51.000Z"},"item":[{"name":"Send Message","id":"cdaff12e-bf40-4f3f-86d2-72c732496d0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"sender\":\"Sender\",\r\n    \"message\":\"Message Payload\",\r\n    \"contact\":[\"contact1\",\"contact2\"]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.zeebolt.com/v2/send","description":"<p>This resource allows you to send messages to mobile numbers. <strong>Your balance must be enough for sending messages</strong>. Resource payload must be <strong>JSON</strong> formatted.</p>\n<p><strong>Required Params</strong></p>\n<p>_sender,__<strong>message,</strong>_<em>contact (array of numbers)</em></p>\n<h4 id=\"example\">Example</h4>\n<p>Endpoint example in PHP below. <strong>Sender</strong> should be valid and approved to send a successful message.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Sending a message\n$data = [\n          \"sender\"=&gt;\"sender\",\n          \"message\"=&gt;\"message\",\n          \"contact\"=&gt;[\"contact1\",\"contact2\"]\n        ];\n$curl = curl_init();\n$token= \"yourtoken\";\ncurl_setopt_array($curl, array(\n        CURLOPT_URL =&gt; \"https://api.zeebolt.com/v2/send\",\n        CURLOPT_RETURNTRANSFER =&gt; true,\n        CURLOPT_ENCODING =&gt; \"\",\n        CURLOPT_MAXREDIRS =&gt; 10,\n        CURLOPT_TIMEOUT =&gt; 30,\n        CURLOPT_CUSTOMREQUEST =&gt; \"POST\",\n        CURLOPT_POSTFIELDS =&gt; json_encode($data),\n        CURLOPT_HTTPHEADER =&gt; [\n           'Authorization: Bearer ' . $token,\n           'Content-Type: application/json',\n           'Accept: application/json',\n           'Cache-Control: no-cache'\n        ],\n    ));\n$response = curl_exec($curl);\n$httpcode = curl_getinfo($curl, CURLINFO_HTTP_CODE);\ncurl_close($curl);\n//$response = json_decode($response);\nif ($httpcode !== 200){\n    echo \"Failed : ERROR :\".$httpcode.\", \".$response;\n}\nelse {\n   $response_data = json_decode($response,TRUE);\n   $status = $response_data[\"status\"];\n   if ($status == 200){\n       echo \"Success : \".$response_data[\"response\"].\", Description : \".$response_data[\"reason\"];\n   } \n   else if ($status == 400) {\n       echo \"Failed : \".$response_data[\"response\"].\", Description : \".$response_data[\"reason\"];\n   }\n}\n\n</code></pre>\n<h4 id=\"sample-response\">Sample Response</h4>\n<p>For a successful request, sample responses are below</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">//success\n{ \n    \"status\":200,\n    \"response\": \"Accepted\",\n    \"batchid\": 11,\n    \"reason\":\"Message Accepted For Processing\"\n}\n// failed\n{ \n    \"status\":400,\n    \"response\": \"Rejected\",\n    \"reason\":\"Message Could not be sent\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"373aeef3-f4e2-40fa-8b73-ff598209d702","id":"373aeef3-f4e2-40fa-8b73-ff598209d702","name":"ZeeBolt REST API Docs v2","type":"collection"}},"urlObject":{"protocol":"https","path":["v2","send"],"host":["api","zeebolt","com"],"query":[],"variable":[]}},"response":[{"id":"0a5e544b-10fd-4033-8fa7-dbece8aa3211","name":"Send Message Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Cache-Control","value":"no-cache","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"sender\":\"ZeeBolt\",\r\n    \"message\":\"Test Message \",\r\n    \"contact\":[\"0241026572\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.zeebolt.com/v2/send"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 10 Jun 2021 06:27:22 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"response\": \"Accepted\",\n    \"batchid\": 47190908,\n    \"reason\": \"Accepted : Message Accepted For Processing\"\n}"}],"_postman_id":"cdaff12e-bf40-4f3f-86d2-72c732496d0a"},{"name":"Send Message Using Token","id":"875dfea8-baa3-463f-85e6-ba2e6efde56f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.zeebolt.com/v2/sendmsg?token=API_Key&sender=ZeeBolt&message=Test Message&contact=0241026572, 0203723413","description":"<p>This resource allows you to send messages directly via link without using the <strong>authentication header</strong> in the request, hence token must be specified in the request link.</p>\n<p><strong>Required Params</strong></p>\n<p><em><strong>token,sender,message,contact</strong></em> <em>(separated with comma)</em></p>\n<h4 id=\"example\">Example</h4>\n<p>Endpoint example in PHP below. <strong>Sender</strong> should be valid and approved to send a successful message.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Sending a message\n$curl = curl_init();\n$token= \"API_Key\";\n$sender= \"ZeeBolt\";\n$contact = \"0241026572\";\n$message = \"message\";\n$params = 'token='.$token'&amp;sender='.$sender.'&amp;contact='.$contact.'&amp;message='.$message;\ncurl_setopt_array($curl, array(\n        CURLOPT_URL =&gt; \"https://api.zeebolt.com/v2/sendmsg?\".$params,\n        CURLOPT_RETURNTRANSFER =&gt; true,\n        CURLOPT_ENCODING =&gt; \"\",\n        CURLOPT_MAXREDIRS =&gt; 10,\n        CURLOPT_TIMEOUT =&gt; 30,\n        CURLOPT_HTTPHEADER =&gt; [\n           'Content-Type: application/json',\n           'Accept: application/json',\n           'Cache-Control: no-cache'\n        ],\n    ));\n$response = curl_exec($curl);\n$httpcode = curl_getinfo($curl, CURLINFO_HTTP_CODE);\ncurl_close($curl);\n//$response = json_decode($response);\nif ($httpcode !== 200){\n    echo \"Failed : ERROR :\".$httpcode.\", \".$response;\n}\nelse {\n   $response_data = json_decode($response,TRUE);\n   $status = $response_data[\"status\"];\n   if ($status == 200){\n       echo \"Success : \".$response_data[\"response\"].\", Description : \".$response_data[\"reason\"];\n   } \n   else if ($status == 400) {\n       echo \"Failed : \".$response_data[\"response\"].\", Description : \".$response_data[\"reason\"];\n   }\n}\n\n</code></pre>\n<h4 id=\"sample-response\">Sample Response</h4>\n<p>For a successful request, sample responses are below</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">//success\n{ \n    \"status\":200,\n    \"response\": \"Accepted\",\n    \"batchid\": 11,\n    \"reason\":\"Message Accepted For Processing\"\n}\n// failed\n{ \n    \"status\":400,\n    \"response\": \"Rejected\",\n    \"reason\":\"Message Could not be sent\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["v2","sendmsg"],"host":["api","zeebolt","com"],"query":[{"key":"token","value":"API_Key"},{"key":"sender","value":"ZeeBolt"},{"key":"message","value":"Test Message"},{"key":"contact","value":"0241026572, 0203723413"}],"variable":[]}},"response":[{"id":"3cfd86a3-a9cf-469b-97c5-7f69d725ff8e","name":"Send Message Using Token Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Cache-Control","value":"no-cache","type":"text"}],"url":{"raw":"https://api.zeebolt.com/v2/sendmsg?token=API_Key&sender=ZeeBolt&message=Test Message&contact=0241026572, 0203723413","protocol":"https","host":["api","zeebolt","com"],"path":["v2","sendmsg"],"query":[{"key":"token","value":"API_Key"},{"key":"sender","value":"ZeeBolt"},{"key":"message","value":"Test Message"},{"key":"contact","value":"0241026572, 0203723413"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"response\": \"Accepted\",\n    \"batchid\": 69450124,\n    \"reason\": \"Accepted : Message Accepted For Processing\"\n}"}],"_postman_id":"875dfea8-baa3-463f-85e6-ba2e6efde56f"},{"name":"Balance","id":"d6944943-29bd-4ecb-8e3f-7a63df04fe10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.zeebolt.com/v2/balance","description":"<p>This endpoint allows users to check their balance.</p>\n<h4 id=\"example\">Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Retrieving balance\n$curl = curl_init();\n$token= \"yourtoken\";\ncurl_setopt_array($curl, array(\n        CURLOPT_URL =&gt; \"https://api.zeebolt.com/v2/balance\",\n        CURLOPT_RETURNTRANSFER =&gt; true,\n        CURLOPT_ENCODING =&gt; \"\",\n        CURLOPT_MAXREDIRS =&gt; 10,\n        CURLOPT_TIMEOUT =&gt; 30,\n        CURLOPT_CUSTOMREQUEST =&gt; \"GET\",\n        CURLOPT_HTTPHEADER =&gt; [\n           'Authorization: Bearer ' . $token,\n           'Content-Type: application/json',\n           'Accept: application/json',\n           'Cache-Control: no-cache'\n        ],\n    ));\n$response = curl_exec($curl);\n$httpcode = curl_getinfo($curl, CURLINFO_HTTP_CODE);\ncurl_close($curl);\n//$response = json_decode($response);\nif ($httpcode !== 200){\n    echo \"Failed : ERROR :\".$httpcode.\", \".$response;\n}\nelse {\n   $response_data = json_decode($response,TRUE);\n   $status = $response_data[\"status\"];\n   if ($status == 200){\n       echo \"Bundles : \".$response_data[\"reason\"].\", validity : \".$response_data[\"response\"].\", ID : \".$response_data[\"id\"].\", Sender : \".$response_data[\"senderid\"];\n   } \n   else if ($status == 400) {\n       echo \"Failed : \".$response_data[\"response\"];\n   }\n}\n\n</code></pre>\n<h4 id=\"sample-response\">Sample Response</h4>\n<p>Retrieving Bundle Balance. To top up bundles go to bundles section on (<a href=\"https://app.zeebolt.com/\">https://app.zeebolt.com/</a>)</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"status\": 200,\n    \"bundles\": 900,\n    \"used\": \"100\",\n    \"topup\": \"30.00\",\n    \"topbundle\": \"1000\"\n}\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"373aeef3-f4e2-40fa-8b73-ff598209d702","id":"373aeef3-f4e2-40fa-8b73-ff598209d702","name":"ZeeBolt REST API Docs v2","type":"collection"}},"urlObject":{"protocol":"https","path":["v2","balance"],"host":["api","zeebolt","com"],"query":[],"variable":[]}},"response":[{"id":"78ee23cd-80b5-4b55-948c-8c39ac5f2783","name":"Balance","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"Content should be JSON Formatted","type":"text"},{"key":"Accept","value":"application/json","description":"Accept data in JSON Format","type":"text"},{"key":"Cache-Control","value":"no-cache","description":"no caching ","type":"text"},{"key":"Authorization","value":"Bearer Token","description":"Authorization is Bearer Token","type":"text"}],"url":"https://api.zeebolt.com/v2/balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 10 Jun 2021 06:19:20 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"bundles\": 960,\n    \"used\": \"7206\",\n    \"topup\": \"8166\",\n    \"topbundle\": 244.98\n}"}],"_postman_id":"d6944943-29bd-4ecb-8e3f-7a63df04fe10"},{"name":"Create Sender ID","id":"ef1275a1-af28-4cc3-89ee-26c3626575ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"sender\":\"Sender\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.zeebolt.com/v2/createid","description":"<p>This endpoint is used to create Sender IDs for sending messages.</p>\n<p><strong>NB:</strong> Sender IDs are subject to <strong>review</strong>. May be approved or rejected. <strong>Sender ID</strong> must not be more than <strong>11 Characters</strong>, and should not contain <strong>special characters</strong> eg : <em>*%#-(&amp;^</em> etc.</p>\n<p><strong>NB:</strong> Keep <strong>ID</strong> (id generated after creating a senderID) safe. It will be used for retrieving information via the <strong>retrieveid API endpoint</strong>.</p>\n<h4 id=\"example\">Example</h4>\n<p>Endpoint example in PHP below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Creating a sender ID\n$data = [\n          \"sender\"=&gt;\"senderID\"\n        ];\n$curl = curl_init();\n$token= \"yourtoken\";\ncurl_setopt_array($curl, array(\n        CURLOPT_URL =&gt; \"https://api.zeebolt.com/v2/createid\",\n        CURLOPT_RETURNTRANSFER =&gt; true,\n        CURLOPT_ENCODING =&gt; \"\",\n        CURLOPT_MAXREDIRS =&gt; 10,\n        CURLOPT_TIMEOUT =&gt; 30,\n        CURLOPT_CUSTOMREQUEST =&gt; \"POST\",\n        CURLOPT_POSTFIELDS =&gt; json_encode($data),\n        CURLOPT_HTTPHEADER =&gt; [\n           'Authorization: Bearer ' . $token,\n           'Content-Type: application/json',\n           'Accept: application/json',\n           'Cache-Control: no-cache'\n        ],\n    ));\n$response = curl_exec($curl);\n$httpcode = curl_getinfo($curl, CURLINFO_HTTP_CODE);\ncurl_close($curl);\n//$response = json_decode($response);\nif ($httpcode !== 200){\n    echo \"Failed : ERROR :\".$httpcode.\", \".$response;\n}\nelse {\n   $response_data = json_decode($response,TRUE);\n   $status = $response_data[\"status\"];\n   if ($status == 200){\n       echo \"Success : \".$response_data[\"reason\"].\", validity : \".$response_data[\"validity \"].\", ID : \".$response_data[\"ID\"];\n   } \n   else if ($status == 400) {\n       echo \"Failed : \".$response_data[\"response\"];\n   }\n}\n\n</code></pre>\n<h4 id=\"sample-response\">Sample Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>//success\n{\n    \"status\": 200,\n    \"response\": \"Created Successfully\",\n    \"validity\": \"Pending\",\n    \"ID\": \"5\"\n}\n//fail\n{\n    \"status\": 400,\n    \"response\": \"SenderID Sender already exist.\"\n}\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"373aeef3-f4e2-40fa-8b73-ff598209d702","id":"373aeef3-f4e2-40fa-8b73-ff598209d702","name":"ZeeBolt REST API Docs v2","type":"collection"}},"urlObject":{"protocol":"https","path":["v2","createid"],"host":["api","zeebolt","com"],"query":[],"variable":[]}},"response":[{"id":"8e96072b-d24f-4337-8d10-189e65ac34db","name":"Create Sender ID Exist","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Cache-Control","value":"no-cache","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"sender\":\"Sender\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.zeebolt.com/v2/createid"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 10 Jun 2021 06:22:42 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"response\": \"SenderID Sender already exist.\"\n}"},{"id":"61f54bf9-c278-4cec-a3b6-5d37ca3f28d8","name":"Create Sender ID Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Cache-Control","value":"no-cache","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"sender\":\"Sender\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.zeebolt.com/v2/createid"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 10 Jun 2021 06:23:39 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"response\": \"Created Successfully\",\n    \"validity\": \"Pending\",\n    \"ID\": \"100\"\n}"}],"_postman_id":"ef1275a1-af28-4cc3-89ee-26c3626575ec"},{"name":"Retrieve Sender ID","id":"c9f01958-7915-45cb-b4c8-3421ba1ea75b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.zeebolt.com/v2/retrieveid/{id}","description":"<p>This endpoint allow users retrieve their <strong>Sender ID</strong> status.</p>\n<p><strong>NB:</strong> This endpoint uses <strong>ID</strong> to retrieve the <strong>Sender ID</strong> information. An example request will look like <code>https://api.zeebolt.com/v2/retrieveid/10</code>, thus retrieve information from <strong>id</strong> 10.</p>\n<h4 id=\"example\">Example</h4>\n<p>Endpoint example in PHP below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Retrieving a sender ID\n// ID of the SenderName\n$id = 5;\n$curl = curl_init();\n$token= \"yourtoken\";\ncurl_setopt_array($curl, array(\n        CURLOPT_URL =&gt; \"https://api.zeebolt.com/v2/retrieveid/\".$id,\n        CURLOPT_RETURNTRANSFER =&gt; true,\n        CURLOPT_ENCODING =&gt; \"\",\n        CURLOPT_MAXREDIRS =&gt; 10,\n        CURLOPT_TIMEOUT =&gt; 30,\n        CURLOPT_CUSTOMREQUEST =&gt; \"GET\",\n        CURLOPT_HTTPHEADER =&gt; [\n           'Authorization: Bearer ' . $token,\n           'Content-Type: application/json',\n           'Accept: application/json',\n           'Cache-Control: no-cache'\n        ],\n    ));\n$response = curl_exec($curl);\n$httpcode = curl_getinfo($curl, CURLINFO_HTTP_CODE);\ncurl_close($curl);\n//$response = json_decode($response);\nif ($httpcode !== 200){\n    echo \"Failed : ERROR :\".$httpcode.\", \".$response;\n}\nelse {\n   $response_data = json_decode($response,TRUE);\n   $status = $response_data[\"status\"];\n   if ($status == 200){\n       echo \"Success : \".$response_data[\"reason\"].\", validity : \".$response_data[\"response\"].\", ID : \".$response_data[\"id\"].\", Sender : \".$response_data[\"senderid\"];\n   } \n   else if ($status == 400) {\n       echo \"Failed : \".$response_data[\"response\"];\n   }\n}\n\n</code></pre>\n<h4 id=\"sample-response\">Sample Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>//success\n{\n    \"status\": 200,\n    \"response\": \"Active\",\n    \"senderid\": \"Sender\",\n    \"id\": 1\n}\n{\n    \"status\": 200,\n    \"response\": \"Pending\",\n    \"senderid\": \"Sender2\",\n    \"id\": 10\n}\n{\n    \"status\": 200,\n    \"response\": \"Rejected\",\n    \"senderid\": \"Sender3\",\n    \"id\": 5\n}\n// fail\n{\n    \"status\": 400,\n    \"response\": \"Sender is invalid\"\n}\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"373aeef3-f4e2-40fa-8b73-ff598209d702","id":"373aeef3-f4e2-40fa-8b73-ff598209d702","name":"ZeeBolt REST API Docs v2","type":"collection"}},"urlObject":{"protocol":"https","path":["v2","retrieveid","{id}"],"host":["api","zeebolt","com"],"query":[],"variable":[]}},"response":[{"id":"4bb65f78-d825-4fb9-8061-6bf91538922c","name":"Retrieve Sender ID","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Cache-Control","value":"no-cache","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.zeebolt.com/v2/retrieveid/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 10 Jun 2021 06:21:32 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"response\": \"Active\",\n    \"senderid\": \"Sender\",\n    \"id\": \"1\"\n}"}],"_postman_id":"c9f01958-7915-45cb-b4c8-3421ba1ea75b"},{"name":"Response & Error Codes","id":"67a3f1f0-4407-44b6-a777-89ec1d23ab28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"LINK","header":[],"description":"<h4 id=\"http-status-codes\">HTTP Status Codes</h4>\n<p>All HTTP Status codes of <strong>ZeeBolt API</strong></p>\n<table>\n<thead>\n   <th>HTTP Status Code</th>\n   <th>Description</th>\n</thead>\n<tbody>\n   <tr>\n      <td>200</td>\n      <td>Request Successful</td>\n   </tr>\n   <tr>\n      <td>201</td>\n      <td>Resource Created</td>\n   </tr>\n   <tr>\n      <td>400</td>\n      <td>Bad Request</td>\n   </tr>\n   <tr>\n      <td>401</td>\n      <td>Unauthorized</td>\n   </tr>\n   <tr>\n      <td>403</td>\n      <td>Forbidden</td>\n   </tr>\n   <tr>\n      <td>404</td>\n      <td>Not Found</td>\n   </tr>\n   <tr>\n      <td>500</td>\n      <td>Internal Server Error</td>\n   </tr>\n   <tr>\n      <td>503</td>\n      <td>Server Unavailable.</td>\n   </tr>\n</tbody>\n</table>\n\n\n<h4 id=\"response-codes\">Response Codes</h4>\n<p>All responses from <strong>ZeeBolt API request</strong>.</p>\n<table>\n<thead>\n   <th>Response Code</th>\n   <th>Description</th>\n</thead>\n<tbody>\n   <tr>\n      <td>200</td>\n      <td>Successful</td>\n   </tr>\n   <tr>\n      <td>400</td>\n      <td>Failure</td>\n   </tr>\n   <tr>\n      <td>300</td>\n      <td>Warning</td>\n   </tr>\n   <tr>\n      <td>500</td>\n      <td>Invalid</td>\n   </tr>\n</tbody>\n</table>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"373aeef3-f4e2-40fa-8b73-ff598209d702","id":"373aeef3-f4e2-40fa-8b73-ff598209d702","name":"ZeeBolt REST API Docs v2","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"67a3f1f0-4407-44b6-a777-89ec1d23ab28"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"51a19aed-2e9f-43b7-bed7-a6d55788f82f","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"415670fc-9cda-415e-be49-e774c4e63884","type":"text/javascript","requests":{},"exec":[""]}}]}