Entrar

Opt-out: Contar

GET https://{organization}.myguper.com/api/sender/opt-preference/count

Quantos registros de opt-out casam com os filtros. Mesmos filtros de Listar, sem paginação.

Conta linhas, não pessoas: um cliente registrado com pessoa + e-mail + telefone conta três. Filtre por target_type=person para uma aproximação de clientes distintos.

Try-it values populated from environment ACME (Demo)


Autenticação

Token

Send your user token in the x-guper-authorization header.

Cabeçalhos

Name Type Description
x-guper-authorization * string User token issued by Guper.
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Parâmetros de query

Name Type Description
target_type string
person | email | phone
target string
person integer
provider string
type string
optout | optin
source string
link | reply | admin | api | provider | import | manual

Respostas

{ "total": 128 }
Copied to clipboard