Post Partin Fanout
curl --request POST \
--url https://{host}/v1/process/partin/fanout \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"receiver_mp_ids": [
"<string>"
],
"receiver_role": "NB",
"version": 1
}
'import requests
url = "https://{host}/v1/process/partin/fanout"
payload = {
"receiver_mp_ids": ["<string>"],
"receiver_role": "NB",
"version": 1
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({receiver_mp_ids: ['<string>'], receiver_role: 'NB', version: 1})
};
fetch('https://{host}/v1/process/partin/fanout', 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://{host}/v1/process/partin/fanout",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'receiver_mp_ids' => [
'<string>'
],
'receiver_role' => 'NB',
'version' => 1
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{host}/v1/process/partin/fanout"
payload := strings.NewReader("{\n \"receiver_mp_ids\": [\n \"<string>\"\n ],\n \"receiver_role\": \"NB\",\n \"version\": 1\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{host}/v1/process/partin/fanout")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"receiver_mp_ids\": [\n \"<string>\"\n ],\n \"receiver_role\": \"NB\",\n \"version\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/process/partin/fanout")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"receiver_mp_ids\": [\n \"<string>\"\n ],\n \"receiver_role\": \"NB\",\n \"version\": 1\n}"
response = http.request(request)
puts response.read_body{
"sent": [
"<string>"
],
"failed": [
{
"receiver_mp_id": "<string>",
"error": "<string>"
}
],
"skipped": [
{
"receiver_mp_id": "<string>",
"reason": "duplicate"
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}API Reference
Post Partin Fanout
Deliver the BKV’s contact datasheet to a list of partners in one call. Per-partner isolation: failures are reported, the batch continues; excluded partners and duplicates are skipped; five consecutive failures abort the remainder (gateway problem).
POST
/
v1
/
process
/
partin
/
fanout
Post Partin Fanout
curl --request POST \
--url https://{host}/v1/process/partin/fanout \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"receiver_mp_ids": [
"<string>"
],
"receiver_role": "NB",
"version": 1
}
'import requests
url = "https://{host}/v1/process/partin/fanout"
payload = {
"receiver_mp_ids": ["<string>"],
"receiver_role": "NB",
"version": 1
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({receiver_mp_ids: ['<string>'], receiver_role: 'NB', version: 1})
};
fetch('https://{host}/v1/process/partin/fanout', 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://{host}/v1/process/partin/fanout",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'receiver_mp_ids' => [
'<string>'
],
'receiver_role' => 'NB',
'version' => 1
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{host}/v1/process/partin/fanout"
payload := strings.NewReader("{\n \"receiver_mp_ids\": [\n \"<string>\"\n ],\n \"receiver_role\": \"NB\",\n \"version\": 1\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{host}/v1/process/partin/fanout")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"receiver_mp_ids\": [\n \"<string>\"\n ],\n \"receiver_role\": \"NB\",\n \"version\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/v1/process/partin/fanout")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"receiver_mp_ids\": [\n \"<string>\"\n ],\n \"receiver_role\": \"NB\",\n \"version\": 1\n}"
response = http.request(request)
puts response.read_body{
"sent": [
"<string>"
],
"failed": [
{
"receiver_mp_id": "<string>",
"error": "<string>"
}
],
"skipped": [
{
"receiver_mp_id": "<string>",
"reason": "duplicate"
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
APIKeyHeaderHTTPBearer
Body
application/json
Send the BKV's PARTIN to a whole list of partners in one call.
The caller selects who should receive it (e.g. every partner still without a PARTIN); the service skips excluded partners and in-batch duplicates and isolates per-partner delivery failures. Capped at 100 per request so one call stays inside the ingress timeout - batch a larger list over several calls.