Close subpackage_blockedPhoneNumbers API

The subpackage_blockedPhoneNumbers API from Close — 3 operation(s) for subpackage_blockedphonenumbers.

Operations 7

GET /blocked_phone_number/ List Blocked Phone Numbers #
POST /blocked_phone_number/ Create a Blocked Phone Number #
GET /blocked_phone_number/settings/ Retrieve Blocked Phone Number settings #
PUT /blocked_phone_number/settings/ Update Blocked Phone Number settings #
GET /blocked_phone_number/{id}/ Retrieve a single Blocked Phone Number #
PUT /blocked_phone_number/{id}/ Update a Blocked Phone Number #
DELETE /blocked_phone_number/{id}/ Delete a Blocked Phone Number #

Documentation

📖
Documentation
https://developer.close.com/
📖
APIReference
https://developer.close.com/api/resources/leads
📖
APIReference
https://developer.close.com/api/resources/contacts
📖
APIReference
https://developer.close.com/api/resources/opportunities
📖
APIReference
https://developer.close.com/api/resources/tasks
📖
APIReference
https://developer.close.com/api/resources/activities
📖
APIReference
https://developer.close.com/api/resources/activities/calls
📖
APIReference
https://developer.close.com/api/resources/activities/emails
📖
APIReference
https://developer.close.com/api/resources/activities/sms/list
📖
APIReference
https://developer.close.com/api/resources/activities/meetings
📖
APIReference
https://developer.close.com/api/resources/pipelines
📖
APIReference
https://developer.close.com/api/resources/custom-fields
📖
APIReference
https://developer.close.com/api/resources/custom-objects
📖
APIReference
https://developer.close.com/api/resources/email-templates
📖
APIReference
https://developer.close.com/api/resources/sequences
📖
APIReference
https://developer.close.com/api/resources/bulk-actions
📖
APIReference
https://developer.close.com/api/resources/smart-views
📖
APIReference
https://developer.close.com/api/resources/exports
📖
APIReference
https://developer.close.com/api/resources/reporting
📖
APIReference
https://developer.close.com/api/resources/phone-numbers
📖
APIReference
https://developer.close.com/api/resources/scheduling-links
📖
APIReference
https://developer.close.com/api/resources/connected-accounts
📖
APIReference
https://developer.close.com/api/resources/users
📖
APIReference
https://developer.close.com/api/resources/organizations
📖
APIReference
https://developer.close.com/api/resources/roles
📖
APIReference
https://developer.close.com/api/resources/groups
📖
APIReference
https://developer.close.com/api/resources/events
📖
APIReference
https://developer.close.com/api/resources/webhooks
📖
Documentation
https://developer.close.com/api/overview/oauth-authentication

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/close-subpackage-blockedphonenumbers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

close-subpackage-blockedphonenumbers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Endpoints Subpackage Blocked Phone Numbers API
  version: 1.0.0
servers:
- url: https://api.close.com/api/v1
tags:
- name: subpackage_blockedPhoneNumbers
paths:
  /blocked_phone_number/:
    get:
      operationId: list
      summary: List Blocked Phone Numbers
      tags:
      - subpackage_blockedPhoneNumbers
      parameters:
      - name: _limit
        in: query
        description: Number of results to return.
        required: false
        schema:
          type: integer
          default: 100
      - name: _skip
        in: query
        description: Number of results to skip before returning, for pagination.
        required: false
        schema:
          type: integer
          default: 0
      - name: _fields
        in: query
        description: Comma-separated list of fields to include in the response.
        required: false
        schema:
          type: string
      - name: Authorization
        in: header
        description: Use your API key as the username and leave the password empty.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/blocked_phone_numbers_list_Response_200'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                description: Any type
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                description: Any type
        '404':
          description: Not found
          content:
            application/json:
              schema:
                description: Any type
    post:
      operationId: create
      summary: Create a Blocked Phone Number
      description: 'Once this record is created, the phone number you have specified will no longer work for outbound nor inbound calls. That means:


        * Nobody in your organization will be able to call that phone number.

        * That phone number will not be able to call anybody in your organization.'
      tags:
      - subpackage_blockedPhoneNumbers
      parameters:
      - name: Authorization
        in: header
        description: Use your API key as the username and leave the password empty.
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlockedPhoneNumber'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                description: Any type
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                description: Any type
        '404':
          description: Not found
          content:
            application/json:
              schema:
                description: Any type
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateBlockedPhoneNumber'
  /blocked_phone_number/settings/:
    get:
      operationId: get-settings
      summary: Retrieve Blocked Phone Number settings
      tags:
      - subpackage_blockedPhoneNumbers
      parameters:
      - name: Authorization
        in: header
        description: Use your API key as the username and leave the password empty.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlockedPhoneNumberSettings'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                description: Any type
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                description: Any type
        '404':
          description: Not found
          content:
            application/json:
              schema:
                description: Any type
    put:
      operationId: update-settings
      summary: Update Blocked Phone Number settings
      tags:
      - subpackage_blockedPhoneNumbers
      parameters:
      - name: Authorization
        in: header
        description: Use your API key as the username and leave the password empty.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlockedPhoneNumberSettings'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                description: Any type
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                description: Any type
        '404':
          description: Not found
          content:
            application/json:
              schema:
                description: Any type
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateBlockedPhoneNumberSettings'
  /blocked_phone_number/{id}/:
    get:
      operationId: get
      summary: Retrieve a single Blocked Phone Number
      tags:
      - subpackage_blockedPhoneNumbers
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: _fields
        in: query
        description: Comma-separated list of fields to include in the response.
        required: false
        schema:
          type: string
      - name: Authorization
        in: header
        description: Use your API key as the username and leave the password empty.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlockedPhoneNumber'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                description: Any type
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                description: Any type
        '404':
          description: Not found
          content:
            application/json:
              schema:
                description: Any type
    put:
      operationId: update
      summary: Update a Blocked Phone Number
      tags:
      - subpackage_blockedPhoneNumbers
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Use your API key as the username and leave the password empty.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlockedPhoneNumber'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                description: Any type
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                description: Any type
        '404':
          description: Not found
          content:
            application/json:
              schema:
                description: Any type
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateBlockedPhoneNumber'
    delete:
      operationId: delete
      summary: Delete a Blocked Phone Number
      description: 'Once the given Blocked Phone Number record is deleted, the specified "

        "phone number will again be able to make calls into your organization "

        "and you''ll be able to make calls to it.'
      tags:
      - subpackage_blockedPhoneNumbers
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Use your API key as the username and leave the password empty.
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No content
          content:
            application/json:
              schema:
                type: object
                properties: {}
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                description: Any type
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                description: Any type
        '404':
          description: Not found
          content:
            application/json:
              schema:
                description: Any type
components:
  schemas:
    UpdateBlockedPhoneNumber:
      type: object
      properties:
        reason:
          type: string
          description: The updated reason for blocking the given phone number.
      required:
      - reason
      title: UpdateBlockedPhoneNumber
    UpdateBlockedPhoneNumberSettings:
      type: object
      properties:
        reject_anonymous_inbound_calls:
          type: boolean
      required:
      - reject_anonymous_inbound_calls
      title: UpdateBlockedPhoneNumberSettings
    CreateBlockedPhoneNumber:
      type: object
      properties:
        phone:
          type: string
          description: The phone number (in E.164 format) that you wish to block.
        reason:
          type: string
          description: The reason why you wish to block a given phone number.
      required:
      - phone
      - reason
      title: CreateBlockedPhoneNumber
    blocked_phone_numbers_list_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/BlockedPhoneNumber'
        has_more:
          type: boolean
      required:
      - data
      - has_more
      title: blocked_phone_numbers_list_Response_200
    BlockedPhoneNumberSettings:
      type: object
      properties:
        reject_anonymous_inbound_calls:
          type: boolean
      required:
      - reject_anonymous_inbound_calls
      title: BlockedPhoneNumberSettings
    BlockedPhoneNumber:
      type: object
      properties:
        created_by:
          type: string
          description: User who created this Blocked Number initially.
        date_created:
          type: string
          format: date-time
          description: When this Blocked Number was created.
        date_updated:
          type: string
          format: date-time
          description: When this Blocked Number was last updated.
        id:
          type: string
        organization_id:
          type: string
        phone:
          type: string
          description: The phone number (in E.164 format) to block.
        reason:
          type: string
          description: The reason for blocking the given phone number.
        updated_by:
          type: string
          description: User who most recently updated this Blocked Number.
      required:
      - created_by
      - date_created
      - date_updated
      - id
      - organization_id
      - phone
      - reason
      - updated_by
      title: BlockedPhoneNumber
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: basic
      description: Use your API key as the username and leave the password empty.
    OAuth2:
      type: http
      scheme: bearer