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

# Get a country block



## OpenAPI

````yaml /openapi.json get /inbound/filters/country-blocks/{uuid}
openapi: 3.0.0
info:
  title: JetEmail API
  version: 1.0.0
  description: API documentation for JetEmail's transactional email service.
servers:
  - url: https://api.jetemail.com
    description: Production
security:
  - apiKeyAuth: []
tags:
  - name: Email
    description: Send transactional email
  - name: Outbound
    description: 'Outbound sending: keys, SMTP users, domains, logs, suppression'
  - name: Inbound
    description: Inbound routing, domains and forward destinations
  - name: DMARC
    description: DMARC aggregate-report domain setup, DNS verification and analytics
  - name: Marketing
    description: >-
      Marketing suite: templates, audiences, contacts, broadcasts, themes,
      assets and signup forms
  - name: Signup Forms
    description: Hosted signup pages and form submissions
externalDocs:
  description: Download OpenAPI Specification
  url: /openapi.json
paths:
  /inbound/filters/country-blocks/{uuid}:
    parameters:
      - name: uuid
        in: path
        required: true
        schema:
          type: string
          format: uuid
    get:
      tags:
        - Inbound
      summary: Get a country block
      responses:
        '200':
          description: Country block
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  rule:
                    $ref: '#/components/schemas/CountryBlock'
        '404':
          description: Not found
components:
  schemas:
    CountryBlock:
      type: object
      properties:
        uuid:
          type: string
          format: uuid
        userId:
          type: string
          nullable: true
        organizationId:
          type: string
          nullable: true
        domain:
          type: string
          nullable: true
          description: >-
            Recipient domain the block is scoped to, or null for the whole
            account
        country:
          type: string
          example: RU
          description: ISO 3166-1 alpha-2
        match_type:
          type: string
          enum:
            - ip
            - tld
            - any
        action:
          type: string
          enum:
            - DENY
            - QUARANTINE
        enabled:
          type: integer
          enum:
            - 0
            - 1
        created_at:
          type: integer
          description: Unix seconds
        last_modified:
          type: integer
          description: Unix seconds
  securitySchemes:
    apiKeyAuth:
      type: http
      scheme: bearer
      description: API key for account management endpoints. Use your api_ prefixed token.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.