openapi: 3.1.0 info: title: Microsoft Azure Cognitive Services Accounts Contacts API description: APIs for vision, speech, language, and decision-making AI capabilities including Computer Vision, Text Analytics, and Translator services. version: '3.2' contact: name: Microsoft Azure Support url: https://azure.microsoft.com/en-us/support/ termsOfService: https://www.microsoft.com/en-us/legal/terms-of-use servers: - url: https://{region}.api.cognitive.microsoft.com description: Azure Cognitive Services Regional Endpoint variables: region: default: eastus description: Azure region for the Cognitive Services resource security: - apiKey: [] tags: - name: Contacts description: Manage contacts paths: /contacts: get: operationId: listContacts summary: Microsoft List contacts description: Retrieve a list of contact records. tags: - Contacts parameters: - $ref: '#/components/parameters/select' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/orderby' responses: '200': description: List of contacts content: application/json: schema: $ref: '#/components/schemas/EntityCollection' '401': description: Unauthorized post: operationId: createContact summary: Microsoft Create a contact description: Create a new contact record. tags: - Contacts requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/Contact' responses: '204': description: Contact created '400': description: Invalid request '401': description: Unauthorized components: parameters: filter: name: $filter in: query description: OData filter expression schema: type: string orderby: name: $orderby in: query description: Sort order schema: type: string select: name: $select in: query description: Properties to include schema: type: string top: name: $top in: query description: Maximum number of records to return schema: type: integer schemas: Contact: type: object properties: contactid: type: string format: uuid firstname: type: string lastname: type: string fullname: type: string emailaddress1: type: string telephone1: type: string jobtitle: type: string address1_city: type: string address1_stateorprovince: type: string statecode: type: integer EntityCollection: type: object properties: '@odata.context': type: string '@odata.nextLink': type: string value: type: array items: type: object securitySchemes: apiKey: type: apiKey name: Ocp-Apim-Subscription-Key in: header description: Azure Cognitive Services subscription key externalDocs: description: Azure AI Services Documentation url: https://learn.microsoft.com/en-us/azure/ai-services/