Get Users
Authentication
API key for authentication, sent as the x-api-key header. Used by the Get Users (suppression list) endpoint.
The workspace identifier, sent as the workspace-id header. Used alongside x-api-key by the Get Users (suppression list) endpoint.
Path parameters
Query parameters
Filter results by destination address, for example abcde@fghi.com, +49XXXXXXXXX, or ExponentPushToken[XXXXX]. Enter an email address for email suppressions, a phone number with the country code for SMS and WhatsApp suppressions, or a token for push suppressions.
Filter results by communication channel, for example sms, email, whatsapp, or push. Use all to return suppressions that apply across every channel.
Filter results by the distinct ID you use to identify the user, for example XXXXXXXX.
Response
Returns an array of suppression records. Each record identifies the suppressed user by either destination (an email address, phone number, or push token) or distinct_id, along with the channel it applies to and the event types the suppression covers.
Unique identifier of the suppression record, for example 6aa1031ffcf7e7a914c121df.
The channel the suppression applies to, for example sms, email, whatsapp, or push.
Timestamp when the suppression was created, for example 2026-09-09T12:40:20.997+05:30.
The suppressed email address, phone number, or push token, for example abcde@fghi.com, +49XXXXXXXXX, or ExponentPushToken[XXXXX]. Present when the record was created using destination instead of distinct_id.
The distinct ID of the suppressed user, for example XXXXXXXX. Present when the record was created using distinct_id instead of destination.
Reason or tag for the suppression, for example DND or user complained about spam.
Timestamp at which the suppression expires, for example 2026-09-16T12:40:20.997+05:30. Omitted when the suppression does not expire.
The event types this suppression applies to, for example ["otp", "transactional", "marketing"].
The event types the suppression was created with, for example ["marketing", "transactional", "otp"]. Omitted on records where event types were not specified.