Menu

Certificates

Twilio SendGrid Single Sign-On is currently in beta. The following documentation and product interface may change as the product is improved.

Known limitations during beta
Twilio SendGrid SSO does not currently support granting an SSO user access to more than one Subuser without granting the SSO user administrator access at the top level of your Twilio SendGrid account.

The Single Sign-On APIs allow you to manage your SAML 2.0 SSO configurations. You can also work with your SSO integrations using the SSO section of the Twilio SendGrid App.

The Certificates API allows you to create, modify, and delete SSO certificates. A SAML certificate allows your IdP and Twilio SendGrid to verify requests are coming from one another using the public_certificate and integration_id parameters.

For more information about managing SSO Certificates, see the Twilio SendGrid SSO documentation.

Get All SSO Certificates by Integration

Get All SSO Certificates by Integration

GET /sso/integrations/{integration_id}/certificates

This endpoint allows you to retrieve all your IdP configurations by configuration ID.

The integration_id expected by this endpoint is the id returned in the response by the "Get All SSO Integrations" endpoint.

Path Parameters

integration_id
string

An ID that matches a certificate to a specific IdP integration.

required

Responses

array[object]
public_certificate
string

This certificate is used by Twilio SendGrid to verify that SAML requests are coming from Okta. This is called the X509 certificate in the Twilio SendGrid UI.

id
number

A unique ID assigned to the certificate by SendGrid.

not_before
number

A unix timestamp (e.g., 1603915954) that indicates the time before which the certificate is not valid.

not_after
number

A unix timestamp (e.g., 1603915954) that indicates the time after which the certificate is no longer valid.

intergration_id
string

An ID that matches a certificate to a specific IdP integration.

array[object]
message
string
field
string
error_id
string
array[object]
message
string
field
string
error_id
string
array[object]
message
string
field
string
error_id
string
array[object]
message
string
field
string
error_id
string
array[object]
message
string
field
string
error_id
string

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the SendGrid tag on Stack Overflow.