NAME

Tomba::LeadsList - Leads lists management for the Tomba.io API

SYNOPSIS

use Tomba::LeadsList;

my $tomba = Tomba::LeadsList->new("ta_xxxxx", "ts_xxxxx");
my $lists = $tomba->ListLeadsLists();

DESCRIPTION

Create, read, update, and delete leads lists.

ListLeadsLists

my $data = $tomba->ListLeadsLists();

Retrieve a list of leads lists.

See https://docs.tomba.io/api/lead-lists#get-leads_lists

GetLeadsList

my $data = $tomba->GetLeadsList($list_id);

Retrieve details of a specific leads list.

See https://docs.tomba.io/api/lead-lists#get-leads_lists-listid

CreateLeadsList

my $data = $tomba->CreateLeadsList({ name => "My List" });

Create a new leads list.

See https://docs.tomba.io/api/lead-lists#post-leads_lists

UpdateLeadsList

my $data = $tomba->UpdateLeadsList($list_id, { name => "Updated List" });

Update a specific leads list.

See https://docs.tomba.io/api/lead-lists#put-leads_lists-listid

DeleteLeadsList

my $data = $tomba->DeleteLeadsList($list_id);

Delete a specific leads list.

See https://docs.tomba.io/api/lead-lists#delete-leads_lists-listid

AUTHOR

Mohamed Ben rebia, <b.mohamed@tomba.io>

COPYRIGHT AND LICENSE

Copyright 2023 Mohamed Benrebia <b.mohamed@tomba.io>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0