Files
Sentri-docs/API/v1/sources/inserve/GET Sync companies.md
Marco Mooij | DigiState a160d31953 v1.2 initial commit
2026-05-13 09:56:43 +02:00

973 B

This API call retrieves all companies from Inserve and creates or updates them in Sentri.

Location

/api/v1/sources/inserve/sync-companies/

Permissions required

servers RW

Body parameters

None.

Example Body (json)

None.

Example Request


$curl = curl_init();  
curl_setopt_array($curl, array(  
    CURLOPT_URL => 'https://sentri.nl/api/v1/sources/inserve/sync-companies/',  
    CURLOPT_CUSTOMREQUEST => 'GET',  
    CURLOPT_RETURNTRANSFER => true,  
    CURLOPT_HTTPHEADER => [  
        "Authorization: Bearer <API your Bearer Token>",  
        "Accept: application/json",  
        "Content-Type: application/json"  
    ]  
));  
  
$response = curl_exec($curl);  
  
curl_close($curl);  
echo $response;

Example Response

"Sync is done successfully"

Known errors or issues.

None are known at the time If you do encounter issues and get an http code in return, check the response codes on this page.