provider Settings - Enforced TLS GET /user/settings/enforced_tls
@utdk/sendgrid /user/settings/enforced_tls
Retrieve current Enforced TLS settings.
**This endpoint allows you to retrieve your current Enforced TLS settings.** The Enforced TLS settings specify whether or not the recipient is required to support TLS or have a valid certificate. If either `require_tls` or `require_valid_cert` is set to `true`, the recipient must support TLS 1.1 or higher or have a valid certificate. If these conditions are not met, Twilio SendGrid will drop the message and send a block event with “TLS required but not supported” as the description.
on-behalf-of header
string

Try it

Authentication
Configure credentials for Email Activity (beta)
getUserSettingsEnforcedTls
GET/user/settings/enforced_tls
**This endpoint allows you to retrieve your current Enforced TLS settings.** The Enforced TLS settings specify whether or not the recipient is required to support TLS or have a valid certificate. If either `require_tls` or `require_valid_cert` is set to `true`, the recipient must support TLS 1.1 or higher or have a valid certificate. If these conditions are not met, Twilio SendGrid will drop the message and send a block event with “TLS required but not supported” as the description.

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.getUserSettingsEnforcedTls({
  "on-behalf-of": "The subuser's username. This header generates the API call as if the subuser account was making the call."
})