Register Node ID

Request

This endpoint registers an external ID to the Node ID whitelist. It supports requests using the following identifiers: secret and id.

Endpoint:

GET /api/v1/node/register

URL:

https://license.api.datagram.network

Request Parameters

Parameter
Type
Required
Description
Example

secret

string

✅ Yes

Unique secret token identifying partner.

"pt_sec_abc123XYZ*"

id

string

✅ Yes

Unique identifier of the external partner node.

"partner_98765zyxw"

Authentication

Use a valid organization token in the request header.

Authorization: Bearer <organization-token>

Example Request

POST /api/v1/node/register HTTP/1.1
Host: license.api.datagram.network
Authorization: <organization-token>
Content-Type: application/json

{
  "id": "external_id",
  "secret": "partner_secret_key"
}

Responses

When the request is valid and successful, the API returns the boolean (true or false).

Example Response

{
  "data": true
}

Last updated