Create an API token for your authenticated platform.
curl --request POST \
--url https://public-test.blips.network/tokens \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Demo readback token",
"permissions": [
"view"
]
}
'import requests
url = "https://public-test.blips.network/tokens"
payload = {
"name": "Demo readback token",
"permissions": ["view"]
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Demo readback token', permissions: ['view']})
};
fetch('https://public-test.blips.network/tokens', 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://public-test.blips.network/tokens",
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([
'name' => 'Demo readback token',
'permissions' => [
'view'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$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://public-test.blips.network/tokens"
payload := strings.NewReader("{\n \"name\": \"Demo readback token\",\n \"permissions\": [\n \"view\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
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://public-test.blips.network/tokens")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Demo readback token\",\n \"permissions\": [\n \"view\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-test.blips.network/tokens")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Demo readback token\",\n \"permissions\": [\n \"view\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "Token:tok_51ce4ab09d87",
"name": "Demo readback token",
"permissions": [
"view"
],
"accessLevel": "view_only",
"issuerType": "platform_self_service",
"status": "ACTIVE",
"revocable": true,
"clientId": "ik_test_7fa9f566c2f1467ab03d1f65",
"clientSecret": "iksec_test_0f09acb6536a43f8b90d4ae209f2f9d39f61b7f6",
"createdAt": "2026-04-12T08:15:00Z",
"updatedAt": "2026-04-12T08:15:00Z",
"revokedAt": null
}{
"status": 400,
"code": "INVALID_REQUEST",
"message": "Invalid token creation fields.",
"details": {
"permissions": "unsupported permission(s): transact"
}
}{
"status": 401,
"code": "UNAUTHORIZED",
"message": "Invalid or missing API credentials.",
"details": {}
}{
"status": 403,
"code": "FORBIDDEN",
"message": "Manage access required.",
"details": {
"requiredAccessLevel": "manage"
}
}{
"status": 500,
"code": "INTERNAL_ERROR",
"message": "Internal service error.",
"details": {}
}Platform Setup / Credentials
Create an API token for your authenticated platform.
Create one API token for your authenticated platform. The request body requires a name plus at least one permission from view or manage. The operator-issued root manage token remains visible but is not created here. clientSecret is returned once on create only.
POST
/
tokens
Create an API token for your authenticated platform.
curl --request POST \
--url https://public-test.blips.network/tokens \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Demo readback token",
"permissions": [
"view"
]
}
'import requests
url = "https://public-test.blips.network/tokens"
payload = {
"name": "Demo readback token",
"permissions": ["view"]
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Demo readback token', permissions: ['view']})
};
fetch('https://public-test.blips.network/tokens', 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://public-test.blips.network/tokens",
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([
'name' => 'Demo readback token',
'permissions' => [
'view'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$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://public-test.blips.network/tokens"
payload := strings.NewReader("{\n \"name\": \"Demo readback token\",\n \"permissions\": [\n \"view\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
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://public-test.blips.network/tokens")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Demo readback token\",\n \"permissions\": [\n \"view\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-test.blips.network/tokens")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Demo readback token\",\n \"permissions\": [\n \"view\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "Token:tok_51ce4ab09d87",
"name": "Demo readback token",
"permissions": [
"view"
],
"accessLevel": "view_only",
"issuerType": "platform_self_service",
"status": "ACTIVE",
"revocable": true,
"clientId": "ik_test_7fa9f566c2f1467ab03d1f65",
"clientSecret": "iksec_test_0f09acb6536a43f8b90d4ae209f2f9d39f61b7f6",
"createdAt": "2026-04-12T08:15:00Z",
"updatedAt": "2026-04-12T08:15:00Z",
"revokedAt": null
}{
"status": 400,
"code": "INVALID_REQUEST",
"message": "Invalid token creation fields.",
"details": {
"permissions": "unsupported permission(s): transact"
}
}{
"status": 401,
"code": "UNAUTHORIZED",
"message": "Invalid or missing API credentials.",
"details": {}
}{
"status": 403,
"code": "FORBIDDEN",
"message": "Manage access required.",
"details": {
"requiredAccessLevel": "manage"
}
}{
"status": 500,
"code": "INTERNAL_ERROR",
"message": "Internal service error.",
"details": {}
}Authorizations
Body
application/json
One or more public permissions to grant to the token. view and manage are the only published values.
Minimum array length:
1Public API token permission. view covers read access and manage covers token-management and other privileged platform actions.
Available options:
view, manage Response
API token created. Client secret returned only on create.