InboxKit
  1. DNS
InboxKit
  • Introduction
  • Account
    • Get account details
      GET
  • Workspaces
    • List workspaces
      GET
    • Get workspace details
      GET
    • Create workspace
      POST
    • Update workspace
      PUT
    • Delete workspace
      DELETE
    • Update workspace webhook
      POST
  • Domains
    • Search available domains
      POST
    • Check if domain is banned from registration
      GET
    • Check domain availability
      GET
    • Register domains
      POST
    • List domains
      POST
    • List assignable domains
      GET
    • Set DMARC policy
      POST
    • Remove DMARC policy
      DELETE
    • Remove domains
      POST
    • Set domain forwarding
      POST
    • Set email forwarding
      POST
    • Remove email forwarding
      DELETE
    • Set catch-all email
      POST
    • Remove catch-all email
      DELETE
    • Get nameservers for domain connection
      POST
    • Check nameservers propagation
      POST
  • Mailboxes
    • List mailboxes
    • Show mailbox credentials
    • Get mailbox details
    • Buy mailboxes
    • Check mailbox status
    • Cancel mailboxes
    • Update mailbox
    • Update mailbox profile picture
    • Generate TOTP
    • Change username
    • Change password
    • Check mailbox availability
  • DNS
    • Get DNS records
      GET
    • Add DNS records
      POST
    • Update DNS records
      POST
    • Delete DNS records
      POST
  • Sequencers
    • Export mailboxes status
    • List sequencer platforms
    • List sequencers
    • Export mailboxes
    • Add sequencer
    • Update sequencer
    • Delete sequencers
  • Billing
    • Get pricing plans
    • Get subscription details
    • Change subscription plan
    • Cancel subscription
    • Get wallet details
    • Add credits to wallet
    • Update auto top-up settings
    • Get billing portal link
  1. DNS

Update DNS records

POST
https://api.inboxkit.com/v1/api/dns/update
Maintainer:Not configured
Update existing DNS records for a domain
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.inboxkit.com/v1/api/dns/update' \
--header 'X-Workspace-Id;' \
--header 'Content-Type: application/json' \
--data-raw '{
  "records": [
    {
      "record_id": "existing_record_objectid",
      "host": "@",
      "type": "A",
      "value": "203.0.113.5",
      "ttl": 3600,
      "priority": 0,
      "proxied": true
    },
    {
      "record_id": "another_record_objectid",
      "host": "mail",
      "type": "MX",
      "value": "mail.example.com",
      "ttl": 3600,
      "priority": 5,
      "proxied": false
    }
  ],
  "uid": "3340bae3-53c3-4ab8-9c61-1d8205b86c70"
}'
Response Response Example
{
    "error": false,
    "message": "2 DNS records updated successfully",
    "dns_record": {},
    "updated_records": [
        {}
    ],
    "updated_count": 2
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
DNS records updated successfully
Body

🟠400Bad Request
🟠401Unauthorized
🟠404Record Not Found
🟠409409
🔴500Server Error
Modified at 2025-08-07 12:03:03
Previous
Add DNS records
Next
Delete DNS records
Built with