provider Domain Authentication GET /whitelabel/domains/default
@utdk/sendgrid /whitelabel/domains/default
Get the default authentication
**This endpoint allows you to retrieve the default authentication for a domain.** When creating or updating a domain authentication, you can set the domain as a default. The default domain will be used to send all mail. If you have multiple authenticated domains, the authenticated domain matching the domain of the From address will be used, and the default will be overridden. This endpoint will return a default domain and its details only if a default is set. You are not required to set a default. If you do not set a default domain, this endpoint will return general information about your domain authentication status.
domain query
The domain to find a default authentication.
string
on-behalf-of header
string

Try it

Authentication
Configure credentials for Email Activity (beta)
getWhitelabelDomainsDefault
GET/whitelabel/domains/default
**This endpoint allows you to retrieve the default authentication for a domain.** When creating or updating a domain authentication, you can set the domain as a default. The default domain will be used to send all mail. If you have multiple authenticated domains, the authenticated domain matching the domain of the From address will be used, and the default will be overridden. This endpoint will return a default domain and its details only if a default is set. You are not required to set a default. If you do not set a default domain, this endpoint will return general information about your domain authentication status.

The domain to find a default authentication.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sendgrid from '@utdk/sendgrid';

await sendgrid.getWhitelabelDomainsDefault({
  "on-behalf-of": "The subuser's username. This header generates the API call as if the subuser account was making the call."
})