{
  "info": {
    "_postman_id": "566fbd95-e763-420b-ab51-bc091756c499",
    "name": "Microsoft Azure Cognitive Services Accounts Leads API",
    "description": "APIs for vision, speech, language, and decision-making AI capabilities including Computer Vision, Text Analytics, and Translator services.\n\nContact Support:\n Name: Microsoft Azure Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:13:54.000Z",
    "updatedAt": "2026-07-28T02:13:54.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-566fbd95-e763-420b-ab51-bc091756c499"
  },
  "item": [
    {
      "name": "leads",
      "item": [
        {
          "name": "Microsoft List leads",
          "id": "e8b718e3-87c4-4a95-93a2-4b3a71f294a8",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/leads?$select=<string>&$filter=<string>&$top=<integer>&$orderby=<string>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "leads"
              ],
              "query": [
                {
                  "description": "Properties to include",
                  "key": "$select",
                  "value": "<string>"
                },
                {
                  "description": "OData filter expression",
                  "key": "$filter",
                  "value": "<string>"
                },
                {
                  "description": "Maximum number of records to return",
                  "key": "$top",
                  "value": "<integer>"
                },
                {
                  "description": "Sort order",
                  "key": "$orderby",
                  "value": "<string>"
                }
              ]
            },
            "description": "Retrieve a list of lead records."
          },
          "response": [
            {
              "id": "f5b86ecc-c759-443d-b528-2b94bd0ae26b",
              "name": "List of leads",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Ocp-Apim-Subscription-Key",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/leads?$select=<string>&$filter=<string>&$top=<integer>&$orderby=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "leads"
                  ],
                  "query": [
                    {
                      "description": "Properties to include",
                      "key": "$select",
                      "value": "<string>"
                    },
                    {
                      "description": "OData filter expression",
                      "key": "$filter",
                      "value": "<string>"
                    },
                    {
                      "description": "Maximum number of records to return",
                      "key": "$top",
                      "value": "<integer>"
                    },
                    {
                      "description": "Sort order",
                      "key": "$orderby",
                      "value": "<string>"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"@odata.context\": \"<string>\",\n  \"@odata.nextLink\": \"<string>\"\n}",
              "createdAt": "2026-07-28T02:13:55.000Z",
              "updatedAt": "2026-07-28T02:13:55.000Z",
              "uid": "35240-f5b86ecc-c759-443d-b528-2b94bd0ae26b"
            },
            {
              "id": "ad418960-aef9-42ae-9838-79654d8b21ad",
              "name": "Unauthorized",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Ocp-Apim-Subscription-Key",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/leads?$select=<string>&$filter=<string>&$top=<integer>&$orderby=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "leads"
                  ],
                  "query": [
                    {
                      "description": "Properties to include",
                      "key": "$select",
                      "value": "<string>"
                    },
                    {
                      "description": "OData filter expression",
                      "key": "$filter",
                      "value": "<string>"
                    },
                    {
                      "description": "Maximum number of records to return",
                      "key": "$top",
                      "value": "<integer>"
                    },
                    {
                      "description": "Sort order",
                      "key": "$orderby",
                      "value": "<string>"
                    }
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T02:13:55.000Z",
              "updatedAt": "2026-07-28T02:13:55.000Z",
              "uid": "35240-ad418960-aef9-42ae-9838-79654d8b21ad"
            }
          ],
          "createdAt": "2026-07-28T02:13:55.000Z",
          "updatedAt": "2026-07-28T02:13:55.000Z",
          "uid": "35240-e8b718e3-87c4-4a95-93a2-4b3a71f294a8"
        },
        {
          "name": "Microsoft Create a lead",
          "id": "77cef46b-299b-4510-84d9-77e930843745",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"leadid\": \"<uuid>\",\n  \"firstname\": \"<string>\",\n  \"lastname\": \"<string>\",\n  \"fullname\": \"<string>\",\n  \"emailaddress1\": \"<string>\",\n  \"companyname\": \"<string>\",\n  \"jobtitle\": \"<string>\",\n  \"telephone1\": \"<string>\",\n  \"subject\": \"<string>\",\n  \"statecode\": \"<integer>\",\n  \"statuscode\": \"<integer>\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/leads",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "leads"
              ]
            },
            "description": "Create a new lead record."
          },
          "response": [
            {
              "id": "9f7653d6-764e-48a7-b9f0-0e0f27ad0cd2",
              "name": "Lead created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Ocp-Apim-Subscription-Key",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"leadid\": \"<uuid>\",\n  \"firstname\": \"<string>\",\n  \"lastname\": \"<string>\",\n  \"fullname\": \"<string>\",\n  \"emailaddress1\": \"<string>\",\n  \"companyname\": \"<string>\",\n  \"jobtitle\": \"<string>\",\n  \"telephone1\": \"<string>\",\n  \"subject\": \"<string>\",\n  \"statecode\": \"<integer>\",\n  \"statuscode\": \"<integer>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/leads",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "leads"
                  ]
                }
              },
              "status": "No Content",
              "code": 204,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T02:13:55.000Z",
              "updatedAt": "2026-07-28T02:13:55.000Z",
              "uid": "35240-9f7653d6-764e-48a7-b9f0-0e0f27ad0cd2"
            },
            {
              "id": "4a244918-46b4-4ead-bc78-1997bcb3d2c2",
              "name": "Invalid request",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Ocp-Apim-Subscription-Key",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"leadid\": \"<uuid>\",\n  \"firstname\": \"<string>\",\n  \"lastname\": \"<string>\",\n  \"fullname\": \"<string>\",\n  \"emailaddress1\": \"<string>\",\n  \"companyname\": \"<string>\",\n  \"jobtitle\": \"<string>\",\n  \"telephone1\": \"<string>\",\n  \"subject\": \"<string>\",\n  \"statecode\": \"<integer>\",\n  \"statuscode\": \"<integer>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/leads",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "leads"
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T02:13:55.000Z",
              "updatedAt": "2026-07-28T02:13:55.000Z",
              "uid": "35240-4a244918-46b4-4ead-bc78-1997bcb3d2c2"
            },
            {
              "id": "6471f910-6c6d-4c97-84cb-a43cab189435",
              "name": "Unauthorized",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Ocp-Apim-Subscription-Key",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"leadid\": \"<uuid>\",\n  \"firstname\": \"<string>\",\n  \"lastname\": \"<string>\",\n  \"fullname\": \"<string>\",\n  \"emailaddress1\": \"<string>\",\n  \"companyname\": \"<string>\",\n  \"jobtitle\": \"<string>\",\n  \"telephone1\": \"<string>\",\n  \"subject\": \"<string>\",\n  \"statecode\": \"<integer>\",\n  \"statuscode\": \"<integer>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/leads",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "leads"
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T02:13:55.000Z",
              "updatedAt": "2026-07-28T02:13:55.000Z",
              "uid": "35240-6471f910-6c6d-4c97-84cb-a43cab189435"
            }
          ],
          "createdAt": "2026-07-28T02:13:55.000Z",
          "updatedAt": "2026-07-28T02:13:55.000Z",
          "uid": "35240-77cef46b-299b-4510-84d9-77e930843745"
        }
      ],
      "id": "57cfe2f9-d338-41e0-b087-cabebe88c454",
      "createdAt": "2026-07-28T02:13:55.000Z",
      "updatedAt": "2026-07-28T02:13:55.000Z",
      "uid": "35240-57cfe2f9-d338-41e0-b087-cabebe88c454"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Ocp-Apim-Subscription-Key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "region",
      "value": "eastus"
    },
    {
      "key": "baseUrl",
      "value": "https://{{region}}.api.cognitive.microsoft.com"
    }
  ]
}