curl --request POST \
--url https://www.closient.com/dashboard/api/v1/company-prefixes/{organization_id}/{company_prefix_id}/giai \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"asset_category": "vehicle",
"asset_reference": "FORKLIFT014",
"name": "Forklift #14"
}
'import requests
url = "https://www.closient.com/dashboard/api/v1/company-prefixes/{organization_id}/{company_prefix_id}/giai"
payload = {
"asset_category": "vehicle",
"asset_reference": "FORKLIFT014",
"name": "Forklift #14"
}
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({
asset_category: 'vehicle',
asset_reference: 'FORKLIFT014',
name: 'Forklift #14'
})
};
fetch('https://www.closient.com/dashboard/api/v1/company-prefixes/{organization_id}/{company_prefix_id}/giai', 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://www.closient.com/dashboard/api/v1/company-prefixes/{organization_id}/{company_prefix_id}/giai",
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([
'asset_category' => 'vehicle',
'asset_reference' => 'FORKLIFT014',
'name' => 'Forklift #14'
]),
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://www.closient.com/dashboard/api/v1/company-prefixes/{organization_id}/{company_prefix_id}/giai"
payload := strings.NewReader("{\n \"asset_category\": \"vehicle\",\n \"asset_reference\": \"FORKLIFT014\",\n \"name\": \"Forklift #14\"\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://www.closient.com/dashboard/api/v1/company-prefixes/{organization_id}/{company_prefix_id}/giai")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"asset_category\": \"vehicle\",\n \"asset_reference\": \"FORKLIFT014\",\n \"name\": \"Forklift #14\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.closient.com/dashboard/api/v1/company-prefixes/{organization_id}/{company_prefix_id}/giai")
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 \"asset_category\": \"vehicle\",\n \"asset_reference\": \"FORKLIFT014\",\n \"name\": \"Forklift #14\"\n}"
response = http.request(request)
puts response.read_body{
"created": true,
"giai": "0614141FORKLIFT014",
"hosted_page_url": "/ia/0614141FORKLIFT014/",
"is_conformant": true,
"name": "Forklift #14"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}Mint a GIAI from one of the organization's prefixes
Self-service GIAI (AI 8004) minting: builds an owner-assigned individual-asset identifier from company_prefix_id (which must belong to the caller’s organization) + the supplied asset reference, and creates or enriches the backing asset record. Idempotent on the resulting GIAI. Any org member with contribute access may mint (organization.contribute_organization).
curl --request POST \
--url https://www.closient.com/dashboard/api/v1/company-prefixes/{organization_id}/{company_prefix_id}/giai \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"asset_category": "vehicle",
"asset_reference": "FORKLIFT014",
"name": "Forklift #14"
}
'import requests
url = "https://www.closient.com/dashboard/api/v1/company-prefixes/{organization_id}/{company_prefix_id}/giai"
payload = {
"asset_category": "vehicle",
"asset_reference": "FORKLIFT014",
"name": "Forklift #14"
}
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({
asset_category: 'vehicle',
asset_reference: 'FORKLIFT014',
name: 'Forklift #14'
})
};
fetch('https://www.closient.com/dashboard/api/v1/company-prefixes/{organization_id}/{company_prefix_id}/giai', 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://www.closient.com/dashboard/api/v1/company-prefixes/{organization_id}/{company_prefix_id}/giai",
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([
'asset_category' => 'vehicle',
'asset_reference' => 'FORKLIFT014',
'name' => 'Forklift #14'
]),
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://www.closient.com/dashboard/api/v1/company-prefixes/{organization_id}/{company_prefix_id}/giai"
payload := strings.NewReader("{\n \"asset_category\": \"vehicle\",\n \"asset_reference\": \"FORKLIFT014\",\n \"name\": \"Forklift #14\"\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://www.closient.com/dashboard/api/v1/company-prefixes/{organization_id}/{company_prefix_id}/giai")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"asset_category\": \"vehicle\",\n \"asset_reference\": \"FORKLIFT014\",\n \"name\": \"Forklift #14\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.closient.com/dashboard/api/v1/company-prefixes/{organization_id}/{company_prefix_id}/giai")
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 \"asset_category\": \"vehicle\",\n \"asset_reference\": \"FORKLIFT014\",\n \"name\": \"Forklift #14\"\n}"
response = http.request(request)
puts response.read_body{
"created": true,
"giai": "0614141FORKLIFT014",
"hosted_page_url": "/ia/0614141FORKLIFT014/",
"is_conformant": true,
"name": "Forklift #14"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}Authorizations
Path Parameters
UUID of the organization.
22^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$Id of the GS1 Company Prefix.
22^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$Body
Request body to self-service mint a GIAI from one of the org's prefixes.
Which prefix to mint from is a path parameter (company_prefix_id on the
endpoint itself), not a body field — it names the resource being acted on.
Individual asset reference (CSET-82). Combined with the prefix, at most 30 characters total.
1 - 30Human-readable name (e.g. 'Forklift #14').
1 - 255Consumer-facing description shown on the hosted page.
Free-form category (e.g. 'vehicle', 'IT equipment', 'tool').
120Manufacturer/vendor SKU or model number. Not a GS1 identifier.
120Manufacturer's serial number, if known.
120Manufacturer's page for this item, linked from the hosted page.
Response
OK
The individual asset (GIAI) that resulted from a mint request.
The minted Global Individual Asset Identifier (AI 8004).
Human-readable name of the asset.
True if this call created a new asset; false if it enriched an existing one (idempotent).
Whether this GIAI may be presented as GS1-conformant.
Path to the asset's public hosted page.