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/registerURL:
https://license.api.datagram.networkRequest Parameters
secret
string
✅ Yes
Unique secret token identifying partner.
"pt_sec_abc123XYZ*"
id
string
✅ Yes
Unique identifier of the external partner node.
"partner_98765zyxw"
You must provide both secret and id identifiers.
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
Returned when required parameters are missing or invalid or the time range exceeds 7 days.
Response Body
message
string
Description of the issue.
INVALID_PARAMETERS
status
integer
HTTP status code.
400
Example Response
Returned when the authorization token is missing or invalid.
Response Body
message
string
Explanation of the auth failure.
"UNAUTHORIZED"
status
integer
HTTP status code.
401
Example Response
Last updated
