SendGrid

Twilio SendGrid Reverse DNS API

The Twilio SendGrid Reverse DNS API (formerly IP Whitelabel) allows you to configure reverse DNS settings for your account. Mailbox providers verify the…

Communication#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

The Twilio SendGrid Reverse DNS API (formerly IP Whitelabel) allows you to configure reverse DNS settings for your account. Mailbox providers verify the sender of your emails by performing a reverse DNS lookup.

When setting up Reverse DNS, Twilio SendGrid will provide an A Record (address record) for you to add to the DNS records of your sending domain. The A record maps your sending domain to a dedicated Twilio SendGrid IP address. Once Twilio SendGrid has verified that the appropriate A record for the IP address has been created, the appropriate reverse DNS record for the IP address is generated.

Reverse DNS is available for dedicated IP addresses only.

You can also manage your reverse DNS settings in the Sender Authentication setion of the Twilio SendGrid application user interface.

See How to Set Up Reverse DNS for more information.

Endpoints 5

Reverse DNS

  • GETRetrieve all reverse DNS records/v3/whitelabel/ips?limit=0&offset=0&ip=stringThis endpoint allows you to retrieve a paginated list of all the Reverse DNS records created by this account. You may include a search key by using the ip…
  • POSTSet up reverse DNS/v3/whitelabel/ipsThis endpoint allows you to set up reverse DNS.
  • GETRetrieve a reverse DNS record/v3/whitelabel/ips/:idThis endpoint allows you to retrieve a reverse DNS record. You can retrieve the IDs associated with all your reverse DNS records using the "Retrieve all…
  • DELETEDelete a reverse DNS record/v3/whitelabel/ips/:idThis endpoint allows you to delete a reverse DNS record. A call to this endpoint will respond with a 204 status code if the deletion was successful. You can…
  • POSTValidate a reverse DNS record/v3/whitelabel/ips/:id/validateThis endpoint allows you to validate a reverse DNS record. Always check the valid property of the response’s validation_results.a_record object. This field…

API details

Base URL
https://api.sendgrid.com
https://api.eu.sendgrid.com
Authentication
A bearer token in the Authorization header
Operations
5 operations on 3 pathsGET 2POST 2DELETE 1
Main resources
Reverse DNS 5
Response formats
application/json
Description format
OpenAPI 3.1.0, API version 1.0.0

How to test the Twilio SendGrid Reverse DNS API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Twilio SendGrid Reverse DNS API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Retrieve all reverse DNS records” (GET /v3/whitelabel/ips?limit=0&offset=0&ip=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Twilio SendGrid Reverse DNS API?

The Twilio SendGrid Reverse DNS API (formerly IP Whitelabel) allows you to configure reverse DNS settings for your account. Mailbox providers verify the… It is listed under Communication and has 5 endpoints.

Who publishes the Twilio SendGrid Reverse DNS API?

It is listed from SendGrid's public API description (an OpenAPI document), not published by SendGrid on Swastik Codes. Anyone who controls sendgrid.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Twilio SendGrid Reverse DNS API?

Its description lists 2 base URLs: https://api.sendgrid.com, https://api.eu.sendgrid.com. The first is the usual one; the others are typically sandbox or regional servers.

How do I authenticate with the Twilio SendGrid Reverse DNS API?

With A bearer token in the Authorization header.

How many endpoints does the Twilio SendGrid Reverse DNS API have?

5 operations on 3 paths (2 GET, 2 POST, 1 DELETE). The largest groups are Reverse DNS.

Is forking the Twilio SendGrid Reverse DNS API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.