Skip to main content
POST
/
v1
/
public
/
accounts
/
{account_id}
/
dns-records
Create DNS Record
curl --request POST \
  --url https://api.hybridbox.io/v1/public/accounts/{account_id}/dns-records \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "domain": "<string>",
  "name": "<string>",
  "type": "<string>",
  "value": "<string>",
  "prio": 32767,
  "ttl": 3600
}
'
{
  "id": 123,
  "name": "<string>",
  "ttl": 123,
  "type": "<string>",
  "value": "<string>",
  "is_system_managed": false,
  "priority": 123
}

Documentation Index

Fetch the complete documentation index at: https://hybridbox.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Public API bearer credential sent as Authorization: Bearer <token>. Use either an OAuth access token or a Hybridbox Service account token.

Path Parameters

account_id
string<uuid>
required

Body

application/json

Request schema for creating a DNS record.

domain
string
required
name
string
required
type
string
required
value
string
required
prio
integer | null
Required range: 0 <= x <= 65535
ttl
integer
default:3600
Required range: x >= 1

Response

id
integer
required
name
string
required
ttl
integer
required
type
string
required
value
string
required
is_system_managed
boolean
default:false
priority
integer | null