Tino Developers
POST/v1/service/@service_id/dns/@zone_id/records

Add DNS record

Add a record to the DNS zone.

API v1 · Updated 2026-10-21View .md

Call it through the gateway https://api.tino.vn/v1 with a token that has the dns:write scope; see Calling the Tino API.

Authentication

Send the token in the header Authorization:

Authorization: Bearer <token>

Tokens that can call it: app tokens (tinoat_, Sign in with Tino) or personal API tokens (tinopat_).

Scopes

dns:writeEdit DNS records

Parameters

Path parameters

NameTypeRequiredDescription
service_idstringRequiredDNS service ID
zone_idstringRequiredDNS zone ID

Body (JSON)

NameTypeRequiredDescription
namestringOptionalRecord name
ttlintegerOptionalRecord ttl
priorityintegerOptionalPriority of the record
typestringOptionalRecord type
contentstringOptionalContents of the record

Response

The route's JSON answer, in the same shape as UserAPI returns it (Personal data). Live sample from a test account with personal data masked; long arrays and strings are trimmed (… N more item(s), … N more line(s)).

Error codes

Error codeDescription
401 · invalid_tokenThe token is wrong, expired or revoked.
403 · insufficient_scopeThe token lacks the dns:write scope.
403 · ip_not_allowedA personal API token called from an IP outside its allow-list.

Business errors of a route usually come as HTTP 200 with {"error": ["<code>"]}; see common error codes.