Sign in

Opt-out: Count

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

How many opt-out records match the filters. Same filters as List, without pagination.

Counts rows, not people: a customer registered with person + e-mail + phone counts as three. Filter by target_type=person for a closer proxy of distinct customers.

Try-it values populated from environment ACME (Demo)


Authentication

Token

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

Headers

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.

Query parameters

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

Responses

{ "total": 128 }
Copied to clipboard