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

# Block a sender

> Block an email address (`type: "EMAIL"`) or an entire domain (`type: "DOMAIN"`). Blocked senders cannot create new threads or post on existing ones. Requires the contacts:write scope.



## OpenAPI

````yaml post /contacts/blocked-senders
openapi: 3.0.3
info:
  title: Productlane API
  description: Productlane API v2.
  version: 2.0.0
servers:
  - url: https://productlane.com/api/v2
security: []
paths:
  /contacts/blocked-senders:
    post:
      tags:
        - contacts
      summary: Block a sender
      description: >-
        Block an email address (`type: "EMAIL"`) or an entire domain (`type:
        "DOMAIN"`). Blocked senders cannot create new threads or post on
        existing ones. Requires the contacts:write scope.
      operationId: contacts-createBlockedSender
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                type:
                  type: string
                  enum:
                    - EMAIL
                    - DOMAIN
                  description: >-
                    `EMAIL` blocks a single address, `DOMAIN` blocks every
                    sender at that domain.
                value:
                  type: string
                  minLength: 3
                  maxLength: 254
                  description: >-
                    Email address (when `type=EMAIL`) or bare domain like
                    `example.com` (when `type=DOMAIN`). Case-insensitive;
                    normalized to lowercase.
              required:
                - type
                - value
              additionalProperties: false
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  value:
                    type: string
                  type:
                    type: string
                    enum:
                      - EMAIL
                      - DOMAIN
                  created_at:
                    type: string
                required:
                  - id
                  - value
                  - type
                  - created_at
                additionalProperties: false
        default:
          $ref: '#/components/responses/error'
      security:
        - Authorization: []
components:
  responses:
    error:
      description: Error response
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
              code:
                type: string
              issues:
                type: array
                items:
                  type: object
                  properties:
                    message:
                      type: string
                  required:
                    - message
                  additionalProperties: false
            required:
              - message
              - code
            additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer

````