NAME

Tomba::Flag - Data flags for the Tomba.io API

SYNOPSIS

use Tomba::Flag;

my $tomba = Tomba::Flag->new("ta_xxxxx", "ts_xxxxx");
my $flags = $tomba->ListFlags();

DESCRIPTION

Report incorrect data such as hard bounces, invalid emails, or wrong organization info.

ListFlags

my $data = $tomba->ListFlags();
my $data = $tomba->ListFlags({ page => 1, limit => 10 });

Returns a paginated list of data flags submitted by the authenticated user.

See https://docs.tomba.io/api/flag#get-flag

CreateFlag

my $data = $tomba->CreateFlag({
    flag_type => "email",
    value     => "bounced@example.com",
    reason    => "hard_bounce",
    comment   => "Email hard bounced",
});

Report incorrect data such as hard bounces, invalid emails, or wrong organization info.

See https://docs.tomba.io/api/flag#post-flag

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