> ## Documentation Index
> Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List suppressions in a group

> Account + group scoped. Offset pagination only (`page[number]`
default 1, `page[size]` default 25, max 100). No `sort`/`filter`/
cursor — ordering fixed `desc created_at, desc id`. Uses the shared
`QueryParser.parse_offset/1` — a malformed `page` returns `400`
(code `10015`), consistent with `GET /v2/email_blocks`. `meta`
includes `total_pages`. Rows reuse the standard suppression shape
(`group_id` set to this group).




## OpenAPI

````yaml /openapi/generated/email/unsubscribe-groups.yml get /email_unsubscribe_groups/{id}/suppressions
openapi: 3.1.0
info:
  contact:
    email: support@telnyx.com
  description: API for managing unsubscribe groups and suppressions.
  title: Telnyx Email Unsubscribe Groups API
  version: 2.0.0
servers:
  - url: https://api.telnyx.com/v2
security:
  - bearerAuth: []
paths:
  /email_unsubscribe_groups/{id}/suppressions:
    parameters:
      - $ref: '#/components/parameters/PathId'
    get:
      tags:
        - Email Unsubscribe Groups
      summary: List suppressions in a group
      description: |
        Account + group scoped. Offset pagination only (`page[number]`
        default 1, `page[size]` default 25, max 100). No `sort`/`filter`/
        cursor — ordering fixed `desc created_at, desc id`. Uses the shared
        `QueryParser.parse_offset/1` — a malformed `page` returns `400`
        (code `10015`), consistent with `GET /v2/email_blocks`. `meta`
        includes `total_pages`. Rows reuse the standard suppression shape
        (`group_id` set to this group).
      operationId: listGroupSuppressions
      parameters:
        - $ref: '#/components/parameters/BlocksPageNumber'
        - $ref: '#/components/parameters/BlocksPageSize'
      responses:
        '200':
          description: Group suppressions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GroupSuppressionListResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/BlocksNotFound'
        '406':
          $ref: '#/components/responses/FrameworkError'
      x-codeSamples:
        - lang: JavaScript
          source: >-
            import Telnyx from 'telnyx';


            const client = new Telnyx({
              apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
            });


            // Automatically fetches more pages as needed.

            for await (const response of
            client.emailUnsubscribeGroups.suppressions.list()) {
              console.log(response);
            }
        - lang: Python
          source: |-
            import os
            from telnyx import Telnyx

            client = Telnyx(
                api_key=os.environ.get("TELNYX_API_KEY"),  # This is the default and can be omitted
            )
            page = client.email_unsubscribe_groups.suppressions.list(
                "id",
            )
            print(page.data)
        - lang: Go
          source: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/team-telnyx/telnyx-go\"\n\t\"github.com/team-telnyx/telnyx-go/option\"\n)\n\nfunc main() {\n\tclient := telnyx.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tsuppressions, err := client.EmailUnsubscribeGroups.Suppressions.List(\n\t\tcontext.TODO(),\n\t\t\"id\",\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", suppressions.Data)\n}\n"
        - lang: Java
          source: |-
            package com.telnyx.sdk.example;

            import com.telnyx.sdk.client.TelnyxClient;
            import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;

            public final class Main {
                private Main() {}

                public static void main(String[] args) {
                    TelnyxClient client = TelnyxOkHttpClient.fromEnv();

                    var page = client.emailUnsubscribeGroups().suppressions().list("id");
                }
            }
        - lang: Ruby
          source: |-
            require "telnyx"

            telnyx = Telnyx::Client.new(api_key: "My API Key")

            page = telnyx.email_unsubscribe_groups.suppressions.list("id")

            puts(page)
        - lang: PHP
          source: >-
            <?php


            require_once dirname(__DIR__) . '/vendor/autoload.php';


            use Telnyx\Client;

            use Telnyx\Core\Exceptions\APIException;


            $client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API
            Key');


            try {
              $page = $client->emailUnsubscribeGroups->suppressions->list(
                'id',
              );

              var_dump($page);
            } catch (APIException $e) {
              echo $e->getMessage();
            }
        - lang: CLI
          source: |-
            telnyx email-unsubscribe-groups:suppressions list \
              --api-key 'My API Key' \
              --id id
components:
  parameters:
    PathId:
      name: id
      in: path
      required: true
      description: Resource UUID. Malformed UUIDs are treated as not-found (not 400).
      schema:
        type: string
        format: uuid
    BlocksPageNumber:
      name: page[number]
      in: query
      description: Offset page number (≥1, default 1).
      schema:
        type: integer
        minimum: 1
        default: 1
    BlocksPageSize:
      name: page[size]
      in: query
      description: Page size (1–100, default 25).
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 25
  schemas:
    GroupSuppressionListResponse:
      type: object
      required:
        - data
        - meta
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/EmailBlock'
        meta:
          $ref: '#/components/schemas/GroupListMeta'
    EmailBlock:
      type: object
      required:
        - id
        - record_type
        - to
        - reason
        - source
        - scope
        - status
        - created_at
        - updated_at
      properties:
        id:
          type: string
          format: uuid
        record_type:
          type: string
          enum:
            - email_block
          description: View-only discriminator.
        domain_id:
          type:
            - string
            - 'null'
          format: uuid
          description: '`null` ⇒ account scope. Stored on the row; exposed here.'
        group_id:
          type:
            - string
            - 'null'
          format: uuid
          description: '`null` ⇒ global; set ⇒ group-scoped opt-out.'
        from:
          type:
            - string
            - 'null'
          description: '`null` ⇒ not address-scope. (schema: from_address)'
        to:
          type: string
          description: 'Normalized recipient. (schema: to_address)'
        reason:
          $ref: '#/components/schemas/Reason'
        source:
          $ref: '#/components/schemas/Source'
        scope:
          $ref: '#/components/schemas/Scope'
        status:
          $ref: '#/components/schemas/Status'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        expires_at:
          type:
            - string
            - 'null'
          format: date-time
      description: |
        Suppression record. Schema fields hidden by the view:
        `account_id`, `bounce_category`, `dsn_code`, `meta`.
    GroupListMeta:
      type: object
      required:
        - page_number
        - page_size
        - total_pages
        - total_results
      description: Group list `meta` (consistent with `GET /v2/email_blocks`).
      properties:
        page_number:
          type: integer
        page_size:
          type: integer
        total_pages:
          type: integer
        total_results:
          type: integer
    ErrorList:
      type: object
      required:
        - errors
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/BlocksErrorObject'
    Reason:
      type: string
      enum:
        - hard_bounce
        - spam_complaint
        - unsubscribe
        - invalid
        - manual_block
    Source:
      type: string
      enum:
        - feedback
        - manual
        - import
        - system
    Scope:
      type: string
      enum:
        - account
        - domain
        - address
      description: >-
        Derived server-side from `domain_id`/`from`; never trusted from the
        caller.
    Status:
      type: string
      enum:
        - active
        - expired
        - removed
    BlocksErrorObject:
      type: object
      required:
        - code
        - title
        - detail
      properties:
        code:
          type: string
          description: |
            Error codes: `10001` (Not Found), `10007` (Unauthorized),
            `10015` (Validation Failed), `10019` (Internal — import create
            fallback), `40901` (Conflict), `500` (framework/catch-all).
        title:
          type: string
        detail:
          type: string
        source:
          type: object
          properties:
            pointer:
              type: string
          description: >-
            `/data/attributes/<field>` for changeset/Params; `/<field>` for
            query-param errors.
  responses:
    Unauthorized:
      description: Missing or invalid gateway auth.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorList'
          example:
            errors:
              - code: '10007'
                title: Unauthorized
                detail: Missing authentication
    BlocksNotFound:
      description: >-
        Resource not found (cross-account lookups and malformed UUIDs also
        return 404 — no leak).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorList'
          example:
            errors:
              - code: '10001'
                title: Not Found
                detail: The requested email block was not found
    FrameworkError:
      description: |
        Framework-rendered error (e.g. 406 Not Acceptable, 405 Method Not
        Allowed, 415 Unsupported Media Type). HTTP status matches the error
        and the body `code` carries that same status (e.g. `"406"`, not a
        hardcoded `"500"`). The explicit `500.json` clause still emits
        `code: "500"` for genuine 500s.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorList'
          example:
            errors:
              - code: '406'
                title: Not Acceptable
                detail: Not Acceptable
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````