Bharti Airtel Inventory Management API

This set of APIs fetch various details about Sim details, Basket details and so on in the account.

Business capability
SIM & eSIM Lifecycle Management BC-2640.20

Operations 5

GET /bulk/download/history Download History #
GET /bulk/download/{downloadFileId} Download File #
GET /bulk/sim/inventory/download Download SIM Inventory #
GET /details/baskets Fetch Customer Baskets #
GET /details/basket/{basketId}/sims Fetch SIMs #

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/bharti-airtel-inventory-management-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

bharti-airtel-inventory-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: ''
  title: Airtel IoT Inventory Management API
  contact:
    email: m2m.support@airtel.com
  description: '# Overview

    ## Introduction


    Airtel IoT Developer Portal showcases APIs that allows you

    to access data of the CMP Billable account from any external application.'
servers:
- url: https://m2m.airteliot.co.in/iot/api/
security: []
tags:
- name: Inventory Management
  description: This set of APIs fetch various details about Sim details, Basket details and so on in the account.
paths:
  /bulk/download/history:
    get:
      tags:
      - Inventory Management
      summary: Download History
      description: This API call is used to get the records for downloading files from Download History page that are processed for Download on the portal. It returns the Download Type, Requested and Completion date, status of download, and file name.
      operationId: fetchDownloadHistoryUsingGET
      parameters:
      - name: Authorization
        in: header
        description: Authorization Header (Value must be like Bearer <Developer Access Token>)
        required: true
        schema:
          type: string
          default: Bearer XXXXXXXXXXXXXX
      - name: apikey
        in: header
        description: Developer API Key
        required: true
        schema:
          type: string
      - name: customer-id
        in: header
        description: 'Unique ID to identify Customer (shared during On-Boarding process) '
        required: true
        schema:
          type: integer
          format: int64
      - name: iv-user
        in: header
        description: Developer Account User ID
        required: true
        schema:
          type: string
      - name: pageNo
        in: query
        description: Page Number in case of pagination. Default Page No. is 1.
        allowEmptyValue: false
        schema:
          type: integer
          format: int32
          default: 1
      - name: pageSize
        in: query
        description: Page Size in pagination. Default Page Size is 25 and Maximum is 100.
        allowEmptyValue: false
        schema:
          type: integer
          format: int32
          default: 25
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DownloadHistoriesVo'
        '400':
          description: Request Message is not correct
          content: {}
        '500':
          description: Internal Server Error.
          content: {}
      deprecated: false
  /bulk/download/{downloadFileId}:
    get:
      tags:
      - Inventory Management
      summary: Download File
      description: This API call is used to download the file which is available or ready to download after processing from Download History Page.
      operationId: downloadTemplateFileUsingGET
      parameters:
      - name: Authorization
        in: header
        description: Authorization Header (Value must be like Bearer <Developer Access Token>)
        required: true
        schema:
          type: string
          default: Bearer XXXXXXXXXXXXXX
      - name: apikey
        in: header
        description: Developer API Key
        required: true
        schema:
          type: string
      - name: customer-id
        in: header
        description: 'Unique ID to identify Customer (shared during On-Boarding process) '
        required: true
        schema:
          type: integer
          format: int64
      - name: downloadFileId
        in: path
        description: downloadFileId
        required: true
        schema:
          type: integer
          format: int64
      - name: iv-user
        in: header
        description: Developer Account User ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/vnd.ms-excel:
              schema:
                type: string
                format: byte
        '400':
          description: Request Message is not correct
          content: {}
        '500':
          description: Internal Server Error.
          content: {}
      deprecated: false
  /bulk/sim/inventory/download:
    get:
      tags:
      - Inventory Management
      summary: Download SIM Inventory
      description: This API call returns the SIM inventory file in excel format for that Billable account.
      operationId: downloadSimInventoryOrderUsingGET
      parameters:
      - name: Authorization
        in: header
        description: Authorization Header (Value must be like Bearer <Developer Access Token>)
        required: true
        schema:
          type: string
          default: Bearer XXXXXXXXXXXXXX
      - name: apikey
        in: header
        description: Developer API Key
        required: true
        schema:
          type: string
      - name: customer-id
        in: header
        description: 'Unique ID to identify Customer (shared during On-Boarding process) '
        required: true
        schema:
          type: integer
          format: int64
      - name: iv-user
        in: header
        description: Developer Account User ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DownloadHistoryVO'
        '400':
          description: Request Message is not correct
          content: {}
        '500':
          description: Internal Server Error.
          content: {}
      deprecated: false
  /details/baskets:
    get:
      tags:
      - Inventory Management
      summary: Fetch Customer Baskets
      description: This API shall allow user to fetch the details of Baskets that are created on that Customer Account. It can fetch the details of a particular basket at any given point. It returns the SIM details in that basket with different states (Active, Available, Safe Custody, Test Mode, Suspended) along with Basket description and user details to whom that basket is assigned.
      operationId: fetchCustomerBasketsUsingGET
      parameters:
      - name: Authorization
        in: header
        description: Authorization Header (Value must be like Bearer <Developer Access Token>)
        required: true
        schema:
          type: string
          default: Bearer XXXXXXXXXXXXXX
      - name: apikey
        in: header
        description: Developer API Key
        required: true
        schema:
          type: string
      - name: basketId
        in: query
        description: Basket ID
        allowEmptyValue: false
        schema:
          type: integer
          format: int64
      - name: basketName
        in: query
        description: Basket Name
        allowEmptyValue: false
        schema:
          type: string
      - name: customer-id
        in: header
        description: 'Unique ID to identify Customer (shared during On-Boarding process) '
        required: true
        schema:
          type: integer
          format: int64
      - name: detailedView
        in: query
        description: ${detailedView.notes}
        allowEmptyValue: false
        schema:
          type: boolean
          default: true
      - name: iv-user
        in: header
        description: Developer Account User ID
        required: true
        schema:
          type: string
      - name: myBaskets
        in: query
        description: My Baskets(Basket Onwer)
        allowEmptyValue: false
        schema:
          type: boolean
          default: false
        example: false
      - name: pageNo
        in: query
        description: Page Number in case of pagination. Default Page No. is 1.
        allowEmptyValue: false
        schema:
          type: integer
          format: int32
          default: 1
      - name: pageSize
        in: query
        description: Page Size in pagination. Default Page Size is 25 and Maximum is 100.
        allowEmptyValue: false
        schema:
          type: integer
          format: int32
          default: 25
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Baskets'
        '400':
          description: Request Message is not correct
          content: {}
        '500':
          description: Internal Server Error.
          content: {}
      deprecated: false
  /details/basket/{basketId}/sims:
    get:
      tags:
      - Inventory Management
      summary: Fetch SIMs
      description: This API shall allow user to fetch the details of SIMs in a particular Basket on that Customer Account. It can fetch the details of one or more SIMs at a time from a particular basket including SIM details, Plan details, SIM status, and other required details of SIMs in basket as it is shown on the CMP portal.
      operationId: fetchCustomerSimsUsingGET
      parameters:
      - name: Authorization
        in: header
        description: Authorization Header (Value must be like Bearer <Developer Access Token>)
        required: true
        schema:
          type: string
          default: Bearer XXXXXXXXXXXXXX
      - name: apikey
        in: header
        description: Developer API Key
        required: true
        schema:
          type: string
      - name: basketId
        in: path
        description: Basket ID
        required: true
        schema:
          type: integer
          format: int64
          default: 0
      - name: customer-id
        in: header
        description: 'Unique ID to identify Customer (shared during On-Boarding process) '
        required: true
        schema:
          type: integer
          format: int64
      - name: filterValue
        in: query
        description: Value on which Sims to be filtered
        allowEmptyValue: false
        schema:
          type: string
      - name: iv-user
        in: header
        description: Developer Account User ID
        required: true
        schema:
          type: string
      - name: pageNo
        in: query
        description: Page Number in case of pagination. Default Page No. is 1.
        allowEmptyValue: false
        schema:
          type: integer
          format: int32
          default: 1
      - name: pageSize
        in: query
        description: Page Size in pagination. Default Page Size is 25 and Maximum is 100.
        allowEmptyValue: false
        schema:
          type: integer
          format: int32
          default: 25
      - name: simFilterType
        in: query
        description: 'Filter Type on which Sims to be filtered. The allowed types are MSISDN / SIM '
        allowEmptyValue: false
        schema:
          type: string
          enum:
          - MSISDN
          - SIM_NO
          - IMSI
      - name: simStatus
        in: query
        description: Status of SIM(s) being fetched from a basket
        allowEmptyValue: false
        schema:
          type: string
          enum:
          - INITIAL
          - ACTIVE
          - SAFE_CUSTODY
          - ACTIVATED_ON_TEST_MODE
          - IN_PROGRESS
          - SUSPENDED
          - TEMP_DISCONNECT
          - ACTIVE_AND_SAFE_CUSTODY
          - ACTIVE_AND_TEMP_DISCONNECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Sims'
        '400':
          description: Request Message is not correct
          content: {}
        '500':
          description: Internal Server Error.
          content: {}
      deprecated: false
components:
  schemas:
    DownloadHistoryVO:
      title: DownloadHistoryVO
      type: object
      properties:
        basketName:
          type: string
          description: Basket Name
        completionDate:
          type: string
          description: Download Request Completion Date and Time
        creationDate:
          type: string
          description: Download Request Creation Date and Time
        downloadFileId:
          type: integer
          description: Download Request ID
          format: int64
        downloadType:
          type: string
          description: Download Type
        extension:
          type: string
          description: File Extension
        fileName:
          type: string
          description: File Name
        progress:
          type: integer
          description: File Download Progress
          format: int32
        status:
          type: string
          description: Download Status
    SimDetailsVO:
      title: SimDetailsVO
      type: object
      properties:
        activationDate:
          type: string
        basketId:
          type: string
        circleName:
          type: string
        dataType:
          type: string
        dataUnits:
          type: string
        description:
          type: string
        imsi:
          type: string
        inProgressJob:
          type: string
        inProgressJobOrder:
          type: string
        isPaired:
          type: string
        isPrepaidSim:
          type: string
        lsi:
          type: string
        mobileNo:
          type: string
        onboardingDate:
          type: string
        parentBasketId:
          type: string
        planCode:
          type: string
        planName:
          type: string
        planType:
          type: string
        safeCustodyDate:
          type: string
        simApnVO:
          type: array
          items:
            $ref: '#/components/schemas/SimApnVO'
        simId:
          type: string
        simInfo1:
          type: string
        simInfo2:
          type: string
        simInfo3:
          type: string
        simNo:
          type: string
        simTrailEndTime:
          type: string
        simTrailStartTime:
          type: string
        status:
          type: string
    SimApnVO:
      title: SimApnVO
      type: object
      properties:
        attachedApnIp:
          type: string
        attachedApnIpType:
          type: string
        attachedApnName:
          type: string
        attchedApnType:
          type: string
    Sims:
      title: Sims
      type: object
      properties:
        sims:
          type: array
          items:
            $ref: '#/components/schemas/SimDetailsVO'
        total:
          type: string
    DownloadHistoryView:
      title: DownloadHistoryView
      type: object
      properties:
        basketName:
          type: string
          description: Basket Name
        completionDate:
          type: string
          description: Download Request Completion Date and Time
        creationDate:
          type: string
          description: Download Request Creation Date and Time
        downloadFileId:
          type: integer
          description: Download Request ID
          format: int64
        downloadType:
          type: string
          description: Download Type
        extension:
          type: string
          description: File Extension
        fileName:
          type: string
          description: File Name
        progress:
          type: integer
          description: File Download Progress
          format: int32
        status:
          type: string
          description: Download Status
    Baskets:
      title: Baskets
      type: object
      properties:
        baskets:
          type: array
          items:
            $ref: '#/components/schemas/BasketDetailsVO'
        totalActiveSims:
          type: string
        totalAvailableSims:
          type: string
        totalBaskets:
          type: string
        totalInActiveSims:
          type: string
        totalInProgressSims:
          type: string
        totalSafeCustodySims:
          type: string
        totalSims:
          type: string
        totalSuspendedSims:
          type: string
        totalTestModeSims:
          type: string
    BasketDetailsVO:
      title: BasketDetailsVO
      type: object
      properties:
        activeSims:
          type: string
        availableSims:
          type: string
        basketId:
          type: string
        basketName:
          type: string
        basketPermission:
          type: string
        creationDate:
          type: string
        customerId:
          type: string
        emailId:
          type: string
        firstName:
          type: string
        inActiveSims:
          type: string
        inProgressSims:
          type: string
        lastName:
          type: string
        managedBy:
          type: string
        mobileNo:
          type: string
        parentBasketId:
          type: string
        remarks:
          type: string
        safeCustodySims:
          type: string
        suspendedSims:
          type: string
        testModeSims:
          type: string
        totalSims:
          type: string
    DownloadHistoriesVo:
      title: DownloadHistoriesVo
      type: object
      properties:
        downloadHistories:
          type: array
          items:
            $ref: '#/components/schemas/DownloadHistoryView'
        total:
          type: string
x-tagGroups:
- name: Manage Customer APIs
  tags:
  - Account Authorization
  - Account Details
  - Inventory Management
- name: New Orders APIs
  tags:
  - SIM LifeCycle
- name: Bulk Orders APIs
  tags:
  - SIM LifeCycle Bulk
- name: Jobs APIs
  tags:
  - Job Status
- name: Device Details APIs
  tags:
  - Device & Session Information
- name: Whitelisting APIs
  tags:
  - Whitelisting
- name: KYC APIs
  tags:
  - KYC Manager
- name: Messaging Centre APIs
  tags:
  - Messaging Centre