Download Postman Collection

Official Postman v2.1All 14 CapabilitiesPre-configured Tests

Official Postman API Collection

Complete pre-wired request suite for BHASHINI REST APIs with automated environment scripts and dynamic token propagation.

Import URLhttps://api.postman.com/collections/33708049-43be070a-8630-44bf-8762-17e9551a3250?access_key=PMAT-01K1WGWPRBYWSB89Q6TWCWJW21
⚡
1-Click Direct Import
Compatible with Postman, Insomnia & Bruno
🔄
Automated Tokens
Config runs dynamically populate callback URLs
✓
Pre-built Assertions
Automated test scripts validate payload schemas
1

Create a Workspace in Postman

In Postman, click the Workspaces dropdown menu at the top left, select Create Workspace, fill in a name (e.g., Bhashini Integration), and click Create.

Create Workspace dropdown
Workspace Details Modal
2

Import the Collection

You can import the collection using either of two methods:

  • Method A (Instant URL Import): In Postman, click the Import button at the top left, paste the Collection URL directly into the search/URL input field, and confirm.
  • Method B (File Upload): Click the Download (.json) button above, save the file to your computer, and drag and drop it into Postman's Import dialog.
Postman Import Button
Drag and drop collection.json into Postman

Once imported, the collection will appear in your sidebar with all individual tasks and chained pipeline requests pre-configured.

Imported Bhashini Collection structure
3

Configure Collection Variables

The collection uses automated test scripts to pass parameters dynamically between calls. To set your credentials, select the collection name in the left sidebar and open the Variables tab:

Postman Collection Variables tab

Variable Reference Guide

Provide your user_id and api_key in the initial values column. Downstream variables (such as callback URLs and auth tokens) will be populated automatically when you run the Config request.

VariableTypeDescription & Reference
ulca_urlEndpointULCA pipeline config base endpoint used to fetch pipeline models and callback URLs. [Pipeline Config Call]
user_idAuthUnique integrator ID generated during registration on the BHASHINI portal. [Onboarding & Keys]
api_keyAuthULCA API Key for pipeline config requests. [API Keys Guide]
pipeline_idConfigTarget Pipeline ID covering the required task sequence (e.g. ASR, Translation, TTS). [Pipeline Search Call]
callback_urlDynamicDynamic inference URL automatically parsed and populated from the Pipeline Config response by Postman test scripts. [Callback URL Docs]
callback_url_feedbackDynamicDynamic feedback submission endpoint automatically populated from the Pipeline Config response. [Feedback Endpoint Docs]
compute_call_authorization_keyDynamicInference header key (typically 'Authorization') extracted from config response.
compute_call_authorization_valueDynamicInference authentication token value extracted from config response.
asr_service_idModel IDAllocated ASR model service ID, dynamically captured during pipeline config run.
nmt_service_idModel IDAllocated Translation model service ID, dynamically captured during pipeline config run.
tts_service_idModel IDAllocated TTS model service ID, dynamically captured during pipeline config run.
source_languageParamSource language ISO-639-1 code (e.g. 'en', 'hi', 'ta').
target_languageParamTarget language ISO-639-1 code (e.g. 'hi', 'gu', 'bn').
base64Sample DataSample base64 audio string used for testing ASR compute calls in the collection.
4

Automated Test Scripts & Execution

Automation scripts are embedded in the Tests tab of both the With Config and Without Config requests. When executed, these scripts automatically parse the server response, extract the dynamic authorization key and callback endpoint, and populate the collection variables for subsequent Compute calls.

Postman Tests Tab Automation Scripts

Running Individual & Chained Pipeline Calls

Once variables are set, you can execute individual tasks (e.g. ASR, Translation, TTS) or combined multi-modal workflows (e.g. ASR + NMT + TTS) directly from the collection folders.

Individual and Combination Pipeline Calls