Get an application
curl --request GET \
--url https://api.example.com/applications/{applicationId}import requests
url = "https://api.example.com/applications/{applicationId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/applications/{applicationId}', 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.example.com/applications/{applicationId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/applications/{applicationId}"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/applications/{applicationId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/applications/{applicationId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyApplications
Get an application
Read an application registry record from finalized chain state
Get an application
curl --request GET \
--url https://api.example.com/applications/{applicationId}import requests
url = "https://api.example.com/applications/{applicationId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/applications/{applicationId}', 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.example.com/applications/{applicationId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/applications/{applicationId}"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/applications/{applicationId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/applications/{applicationId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyRead the application ID, control DID, status, revision, and registration block numbers. This endpoint does not register or update an application.
string
required
Lowercase application identifier containing 1 through 64 letters, digits, dots, underscores, or hyphens.
curl --request GET \
--url "https://directory.example.com/applications/talaria"
{
"application_id": "talaria",
"control_did": "did:openpayload:1111111111111111111111",
"status": "active",
"revision": 1,
"registered_at": 215300,
"updated_at": 215300,
"block_hash": "0x<finalized-block-hash>"
}
registered_at and updated_at are chain block numbers. A missing application returns 404. See Applications and Personas for the registration boundary and the distinct roles of the Application and Persona records.
Straight to the point
GET /applications/{applicationId}
Success: 200 with the finalized application record
Unknown application: 404

