Search for insurance providers
curl --request GET \
--url https://dev.superpool.unyte.africa/api/v1/providers/search/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://dev.superpool.unyte.africa/api/v1/providers/search/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://dev.superpool.unyte.africa/api/v1/providers/search/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://dev.superpool.unyte.africa/api/v1/providers/search/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://dev.superpool.unyte.africa/api/v1/providers/search/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://dev.superpool.unyte.africa/api/v1/providers/search/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.superpool.unyte.africa/api/v1/providers/search/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"count": 100,
"next": "http://http://localhost:8000/api/v1/providers/?name=example&limit=25&offset=25",
"previous": "null",
"results": [
{
"id": "e1a5d88c-4b23-4b90-8e7a-b3fef95e3a80",
"name": "Acme Insurance Co.",
"address": "123 Elm Street, Springfield, IL",
"phone_number": "+1-800-555-1234"
},
{
"id": "d8e9d79a-d1c1-4f07-b6d8-7399be13b47e",
"name": "Globex Corporation",
"address": "456 Oak Avenue, Metropolis, NY",
"phone_number": "+1-800-555-5678"
},
{
"id": "ff7b7b3c-2df9-4b93-9f2e-9bde4b7a40da",
"name": "Initech Insurance",
"address": "789 Pine Road, Silicon Valley, CA",
"phone_number": "+1-800-555-9876"
}
]
}Insurance Providers
Search for insurance providers
Search for insurance providers by name.
GET
/
api
/
v1
/
providers
/
search
/
Search for insurance providers
curl --request GET \
--url https://dev.superpool.unyte.africa/api/v1/providers/search/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://dev.superpool.unyte.africa/api/v1/providers/search/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://dev.superpool.unyte.africa/api/v1/providers/search/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://dev.superpool.unyte.africa/api/v1/providers/search/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://dev.superpool.unyte.africa/api/v1/providers/search/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://dev.superpool.unyte.africa/api/v1/providers/search/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.superpool.unyte.africa/api/v1/providers/search/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"count": 100,
"next": "http://http://localhost:8000/api/v1/providers/?name=example&limit=25&offset=25",
"previous": "null",
"results": [
{
"id": "e1a5d88c-4b23-4b90-8e7a-b3fef95e3a80",
"name": "Acme Insurance Co.",
"address": "123 Elm Street, Springfield, IL",
"phone_number": "+1-800-555-1234"
},
{
"id": "d8e9d79a-d1c1-4f07-b6d8-7399be13b47e",
"name": "Globex Corporation",
"address": "456 Oak Avenue, Metropolis, NY",
"phone_number": "+1-800-555-5678"
},
{
"id": "ff7b7b3c-2df9-4b93-9f2e-9bde4b7a40da",
"name": "Initech Insurance",
"address": "789 Pine Road, Silicon Valley, CA",
"phone_number": "+1-800-555-9876"
}
]
}Authorizations
Query Parameters
The number of results to return per page
The name of the insurance provider
The starting position of results to return
Response
List of insurance providers
Email address is used to track their support team during integrations
Phone number of the insurance provider's support team
Show child attributes
Show child attributes
⌘I
