NAME
Twilio::Rest::Content::V1::Content::ApprovalFetch - The ApprovalFetch resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $approval_fetch = $client->content->v1->contents($sid)->approval_fetch->fetch;
DESCRIPTION
An Approval Fetch resource represents the approval status of a Content resource.
This file holds ApprovalFetchContext and ApprovalFetchInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
ApprovalFetchContext
Returned by $client->content->v1->contents($sid)->approval_fetch. It makes no request until one of these methods is called.
fetch
my $approval_fetch = $client->content->v1->contents($sid)->approval_fetch->fetch;
Fetch a Content resource's approval status by its unique Content Sid. Returns a ApprovalFetchInstance.
ApprovalFetchInstance
See also Twilio::InstanceResource.
It has fetch, which work as they do on the context.
Its fields are:
- account_sid
-
The SID of the Account that created Content resource.
- sid
-
The unique string that that we created to identify the Content resource.
- url
-
The URL of the resource, relative to
https://content.twilio.com. -
Contains the whatsapp approval information for the Content resource, with fields such as approval status, rejection reason, and category, amongst others.
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.