provider Domain Authentication POST /whitelabel/domains/{id}/validate
@utdk/sendgrid /whitelabel/domains/{id}/validate
Validate a domain authentication.
**This endpoint allows you to validate an authenticated domain. If it fails, it will return an error message describing why the domain could not be validated.**
id path required
ID of the domain to validate.
integer
on-behalf-of header
string

Try it

Authentication
Configure credentials for Email Activity (beta)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

postWhitelabelDomainsIdValidate
POST/whitelabel/domains/{id}/validate
**This endpoint allows you to validate an authenticated domain. If it fails, it will return an error message describing why the domain could not be validated.**

Parameters

required

ID of the domain to validate.

Enter a gateway URL above to enable sending.

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

TypeScript

import sendgrid from '@utdk/sendgrid';

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