NAME

Twilio::Rest::Messaging::V2::DomainCerts - The DomainCerts resource

SYNOPSIS

my $client = Twilio::Rest::Client->new($account_sid, $auth_token);

my $domain_certs = $client->messaging->v2->domain_certs($domain_sid)->fetch;

DESCRIPTION

This file holds DomainCertsContext and DomainCertsInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

DomainCertsContext

Returned by $client->messaging->v2->domain_certs($domain_sid). It makes no request until one of these methods is called.

fetch

my $domain_certs = $client->messaging->v2->domain_certs($domain_sid)->fetch;

Returns a DomainCertsInstance.

DomainCertsInstance

See also Twilio::InstanceResource.

It has fetch, which work as they do on the context.

Its fields are:

cert_in_validation

Optional JSON field describing the status and upload date of a new certificate in the process of validation

certificate_sid

The unique string that we created to identify this Certificate resource.

date_created

Date that this Domain was registered to the Twilio platform to create a new Domain object. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

date_expires

Date that the private certificate associated with this domain expires. You will need to update the certificate before that date to ensure your shortened links will continue to work. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

date_updated

Date that this Domain was last updated. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

domain_name

Full url path for this domain.

domain_sid

The unique string that we created to identify the Domain resource.

managed

Boolean field that indicates whether the certificate is managed by Twilio or uploaded by the customer.

requesting

Boolean field that indicates whether a Twilio managed cert request is in progress or completed. True indicates a request is in progress and false indicates the request has completed or not requested yet.

url

No description in the specification.

CONSTRUCTORS

new

Objects here come from the methods above, so there is no need to call new directly.

LICENSE

Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.