@twilio/flex-sdk
    Preparing search index...

    Retrieves a paginated list of Twilio Content templates with their WhatsApp approval request statuses.

    Optional filter and pagination parameters.

    A promise that resolves to a paginator containing content templates with approval statuses.

    FlexSdkError with the following error code(s):

    import { createClient } from "@twilio/flex-sdk";
    import { GetContentTemplates } from "@twilio/flex-sdk/actions/Conversation";

    async function getContentTemplates() {
    const client = await createClient("SDK_TOKEN");
    const action = new GetContentTemplates({ pageSize: 20, language: ["en"] });
    const result = await client.execute(action);
    console.log(result.items);
    if (result.hasNextPage) {
    const nextPage = await result.nextPage();
    }
    }

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods