Look up directory entries by electronic address
curl --request GET \
--url https://api.invopop.com/apps/gov-fr/v1/directory/identifier/{identifier} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.invopop.com/apps/gov-fr/v1/directory/identifier/{identifier}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.invopop.com/apps/gov-fr/v1/directory/identifier/{identifier}', 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://api.invopop.com/apps/gov-fr/v1/directory/identifier/{identifier}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.invopop.com/apps/gov-fr/v1/directory/identifier/{identifier}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.invopop.com/apps/gov-fr/v1/directory/identifier/{identifier}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.invopop.com/apps/gov-fr/v1/directory/identifier/{identifier}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"identifier": "123456789",
"count": 1,
"results": [
{
"id_instance": "1020994",
"siren": "269909452",
"siret": "",
"routing_code": "ROUTE123",
"platform_id": "0431",
"nature": "M",
"identifier": "269909452_suffixe1",
"suffix": "suffixe1",
"start_date": "20251227",
"end_date": "",
"effective_end_date": "20280402",
"created_at": "2026-01-15T10:00:00Z",
"updated_at": "2026-01-15T10:00:00Z"
}
]
}{
"error": "missing siren parameter"
}{
"error": "missing enrollment"
}{
"error": "directory API is only available for live workspaces"
}{
"error": "internal server error"
}France
Look up directory entries by electronic address
Returns all entries from the PPF Annuaire that match the given electronic address identifier (the value used to route invoices to a party in France represented by an inbox in Invopop).
Only available to live workspaces. Sandbox workspaces receive
403 Forbidden.
GET
/
apps
/
gov-fr
/
v1
/
directory
/
identifier
/
{identifier}
Look up directory entries by electronic address
curl --request GET \
--url https://api.invopop.com/apps/gov-fr/v1/directory/identifier/{identifier} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.invopop.com/apps/gov-fr/v1/directory/identifier/{identifier}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.invopop.com/apps/gov-fr/v1/directory/identifier/{identifier}', 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://api.invopop.com/apps/gov-fr/v1/directory/identifier/{identifier}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.invopop.com/apps/gov-fr/v1/directory/identifier/{identifier}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.invopop.com/apps/gov-fr/v1/directory/identifier/{identifier}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.invopop.com/apps/gov-fr/v1/directory/identifier/{identifier}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"identifier": "123456789",
"count": 1,
"results": [
{
"id_instance": "1020994",
"siren": "269909452",
"siret": "",
"routing_code": "ROUTE123",
"platform_id": "0431",
"nature": "M",
"identifier": "269909452_suffixe1",
"suffix": "suffixe1",
"start_date": "20251227",
"end_date": "",
"effective_end_date": "20280402",
"created_at": "2026-01-15T10:00:00Z",
"updated_at": "2026-01-15T10:00:00Z"
}
]
}{
"error": "missing siren parameter"
}{
"error": "missing enrollment"
}{
"error": "directory API is only available for live workspaces"
}{
"error": "internal server error"
}Returns all entries from the local mirror of the PPF Annuaire that use the given electronic address identifier (the value used to route invoices to a party in France). An empty
results array means no entry currently uses this identifier.
Only available to live workspaces — sandbox enrollments receive 403 Forbidden.Authorizations
Authenticate using a valid Invopop enrollment token in the Bearer
scheme.
Example: Authorization: Bearer <token>
Path Parameters
Electronic address identifier as registered in the Annuaire,
typically in scheme:value form (e.g. 0009:123456789).
Example:
"0009:123456789"
Response
Lookup completed. count may be 0 if no entry uses this identifier.
Was this page helpful?