Microsoft Azure Teams Request For Information API

The TeamsRequestForInformation API from Microsoft Azure, for teamsrequestforinformation.

GitHub OpenAPI

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /teamsRequestsForInformation List Teams requests for information · Microsoft Azure Get List Of Requests For Information #
Ask an LLM
“Which Teams requests for information have been filed?”
“Can I filter and count the requests for information I get back?”
Tell an agent
List Teams requests for information.
List the top {top} requests for information matching {filter}.
GET /teamsRequestsForInformation/{tenantId} Get a tenant's request for information · Microsoft Azure Get Request For Information #
Ask an LLM
“What are the details of the request for information for one tenant?”
“Can I fetch a request for information only if it changed since a date?”
Tell an agent
Get the request for information for tenant {tenant}.
Get tenant {tenant}'s request for information if modified since {since}.
PATCH /teamsRequestsForInformation/{tenantId} Create or update a tenant's request for information · Microsoft Azure Create Or Update Request For Information #
Ask an LLM
“Can I create or update a Teams request for information for a tenant?”
“Is it possible to record the customer relationship on a request for information?”
Tell an agent
Create or update the request for information for tenant {tenant}.
Set customer relationship {relationship} on tenant {tenant}'s request for information.

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/microsoft-azure:microsoft-azure-teamsrequestforinformation-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

microsoft-azure-teamsrequestforinformation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Microsoft.VoiceServices.Provisioning Teams…
  version: 2024-02-29-preview
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
security:
- OAuth2Auth:
  - https://func-voiceservice-rp-prod-eastuseuap.azurewebsites.net/.default
tags:
- name: TeamsRequestForInformation
paths:
  /teamsRequestsForInformation:
    get:
      operationId: microsoftAzureTeamsrequestsforinformationList
      tags:
      - TeamsRequestForInformation
      summary: Microsoft Azure Get List Of Requests For Information
      description: Get list of Requests for Information with details.
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      - $ref: '#/components/parameters/Azure.Core.TopQueryParameter'
      - $ref: '#/components/parameters/Azure.Core.SkipQueryParameter'
      - $ref: '#/components/parameters/Azure.Core.MaxPageSizeQueryParameter'
      - $ref: '#/components/parameters/FilterQueryParameter'
      - $ref: '#/components/parameters/RecordCountQueryParameter'
      - $ref: '#/components/parameters/Azure.Core.ClientRequestIdHeader'
      responses:
        '200':
          description: The request has succeeded.
          headers:
            x-ms-client-request-id:
              description: An opaque, globally-unique, client-generated string identifier for the request.
              schema:
                type: string
                format: uuid
            x-ms-record-count:
              description: The total number of records available for this request.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagedRequestForInformationResource'
        default:
          description: An unexpected error response.
          headers:
            x-ms-error-code:
              description: String error code indicating what went wrong.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse'
      x-ms-examples:
        Get list of Requests for Information (Consents).:
          $ref: ./examples/ListRequestsForInformation.json
      x-ms-pageable:
        nextLinkName: nextLink
  /teamsRequestsForInformation/{tenantId}:
    get:
      operationId: microsoftAzureTeamsrequestsforinformationGetrequestforinformation
      tags:
      - TeamsRequestForInformation
      summary: Microsoft Azure Get Request For Information
      description: Get details of a specific Request for Information using its ID.
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      - name: tenantId
        in: path
        description: The Teams tenant ID which generated this Request for Information.
        required: true
        schema:
          type: string
          maxLength: 36
          minLength: 1
          pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
      - $ref: '#/components/parameters/Azure.Core.ConditionalRequestHeaders.ifMatch'
      - $ref: '#/components/parameters/Azure.Core.ConditionalRequestHeaders.ifNoneMatch'
      - $ref: '#/components/parameters/Azure.Core.ConditionalRequestHeaders.ifUnmodifiedSince'
      - $ref: '#/components/parameters/Azure.Core.ConditionalRequestHeaders.ifModifiedSince'
      - $ref: '#/components/parameters/Azure.Core.ClientRequestIdHeader'
      responses:
        '200':
          description: The request has succeeded.
          headers:
            ETag:
              description: The entity tag for the response.
              schema:
                type: string
            x-ms-client-request-id:
              description: An opaque, globally-unique, client-generated string identifier for the request.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RequestForInformationResource'
        default:
          description: An unexpected error response.
          headers:
            x-ms-error-code:
              description: String error code indicating what went wrong.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse'
      x-ms-examples:
        Get an RFI by tenant ID.:
          $ref: ./examples/GetRequestForInformation.json
    patch:
      operationId: microsoftAzureTeamsrequestsforinformationCreateorupdaterequestforinformation
      tags:
      - TeamsRequestForInformation
      summary: Microsoft Azure Create Or Update Request For Information
      description: Create of update the details of a Request for Information.
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      - name: tenantId
        in: path
        description: The Teams tenant ID which generated this Request for Information.
        required: true
        schema:
          type: string
          maxLength: 36
          minLength: 1
          pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
      - $ref: '#/components/parameters/Azure.Core.RepeatabilityRequestHeaders.repeatabilityRequestId'
      - $ref: '#/components/parameters/Azure.Core.RepeatabilityRequestHeaders.repeatabilityFirstSent'
      - $ref: '#/components/parameters/Azure.Core.ConditionalRequestHeaders.ifMatch'
      - $ref: '#/components/parameters/Azure.Core.ConditionalRequestHeaders.ifNoneMatch'
      - $ref: '#/components/parameters/Azure.Core.ConditionalRequestHeaders.ifUnmodifiedSince'
      - $ref: '#/components/parameters/Azure.Core.ConditionalRequestHeaders.ifModifiedSince'
      - $ref: '#/components/parameters/Azure.Core.ClientRequestIdHeader'
      responses:
        '200':
          description: The request has succeeded.
          headers:
            ETag:
              description: The entity tag for the response.
              schema:
                type: string
            Repeatability-Result:
              description: Indicates whether the repeatable request was accepted or rejected.
              x-ms-enum:
                name: RepeatabilityResult
                modelAsString: false
                values:
                - name: accepted
                  value: accepted
                  description: If the request was accepted and the server guarantees that the server state reflects a single execution of the operation.
                - name: rejected
                  value: rejected
                  description: 'If the request was rejected because the combination of Repeatability-First-Sent and Repeatability-Request-ID were invalid

                    or because the Repeatability-First-Sent value was outside the range of values held by the server.'
              schema:
                type: string
                enum:
                - accepted
                - rejected
            x-ms-client-request-id:
              description: An opaque, globally-unique, client-generated string identifier for the request.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RequestForInformationResource'
        '201':
          description: The request has succeeded and a new resource has been created as a result.
          headers:
            ETag:
              description: The entity tag for the response.
              schema:
                type: string
            Repeatability-Result:
              description: Indicates whether the repeatable request was accepted or rejected.
              x-ms-enum:
                name: RepeatabilityResult
                modelAsString: false
                values:
                - name: accepted
                  value: accepted
                  description: If the request was accepted and the server guarantees that the server state reflects a single execution of the operation.
                - name: rejected
                  value: rejected
                  description: 'If the request was rejected because the combination of Repeatability-First-Sent and Repeatability-Request-ID were invalid

                    or because the Repeatability-First-Sent value was outside the range of values held by the server.'
              schema:
                type: string
                enum:
                - accepted
                - rejected
            x-ms-client-request-id:
              description: An opaque, globally-unique, client-generated string identifier for the request.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RequestForInformationResource'
        default:
          description: An unexpected error response.
          headers:
            x-ms-error-code:
              description: String error code indicating what went wrong.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse'
      x-ms-examples:
        Create or update a Teams request for information.:
          $ref: ./examples/PatchRequestForInformationCustomerRelationship.json
      requestBody:
        content:
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/RequestForInformationResourceCreateOrUpdate'
        description: The resource instance.
        required: true
components:
  schemas:
    TeamsConsentStatus:
      type: string
      description: The possible state for an Operator Consent.
      enum:
      - active
      - suspended
      - removed
      x-ms-enum:
        name: TeamsConsentStatus
        modelAsString: true
        values:
        - name: active
          value: active
          description: The Operator Consent is active.
        - name: suspended
          value: suspended
          description: The Operator Consent is suspended.
        - name: removed
          value: removed
          description: The Operator Consent is removed.
    Azure.Core.Foundations.InnerError:
      type: object
      description: An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
      properties:
        code:
          type: string
          description: One of a server-defined set of error codes.
        innererror:
          $ref: '#/components/schemas/Azure.Core.Foundations.InnerError'
          description: Inner error.
    ServiceProvisioningStatus:
      type: string
      description: The provisioning states of an object on any relevant backend service.
      enum:
      - pending
      - synced
      - failed
      x-ms-enum:
        name: ServiceProvisioningStatus
        modelAsString: true
        values:
        - name: pending
          value: pending
          description: The object is pending provisioning.
        - name: synced
          value: synced
          description: The object has been synced with the relevant backend service.
        - name: failed
          value: failed
          description: The object provisioning operation failed with the relevant backend service.
    RequestForInformationResourceCreateOrUpdate:
      type: object
      description: The configuration for a telephone number provisioned in ACG.
      properties:
        customerRelationship:
          $ref: '#/components/schemas/CustomerRelationship'
          description: The customer relationship of the operator consent.
          x-ms-mutability:
          - read
          - update
          - create
    Azure.Core.Foundations.Error:
      type: object
      description: The error object.
      properties:
        code:
          type: string
          description: One of a server-defined set of error codes.
        message:
          type: string
          description: A human-readable representation of the error.
        target:
          type: string
          description: The target of the error.
        details:
          type: array
          description: An array of details about specific errors that led to this reported error.
          items:
            $ref: '#/components/schemas/Azure.Core.Foundations.Error'
          x-ms-identifiers: []
        innererror:
          $ref: '#/components/schemas/Azure.Core.Foundations.InnerError'
          description: An object containing more specific information than the current object about the error.
      required:
      - code
      - message
    PagedRequestForInformationResource:
      type: object
      description: Paged collection of RequestForInformationResource items
      properties:
        value:
          type: array
          description: The RequestForInformationResource items on this page
          items:
            $ref: '#/components/schemas/RequestForInformationResource'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    RequestForInformationResource:
      type: object
      description: The configuration for a telephone number provisioned in ACG.
      properties:
        serviceProvisioningStatus:
          $ref: '#/components/schemas/ServiceProvisioningStatus'
          description: The status of the provisioning action associated with this resource.
          readOnly: true
        serviceProvisioningErrors:
          type: array
          description: Any errors pertaining to the provisioning of this resource.
          items:
            $ref: '#/components/schemas/Azure.Core.Foundations.Error'
          readOnly: true
          x-ms-identifiers: []
        id:
          type: string
          description: The ID of the Request for Information.
          readOnly: true
        tenantId:
          type: string
          description: The Teams tenant ID which generated this Request for Information.
          minLength: 1
          maxLength: 36
          pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
          readOnly: true
        accountName:
          type: string
          description: The name of the account associated with this Request for Information.
          readOnly: true
        productContext:
          type: string
          description: Will always be 'teams'.
          readOnly: true
        operatorId:
          type: string
          description: The operator ID of the operator consent.
          readOnly: true
        status:
          $ref: '#/components/schemas/TeamsConsentStatus'
          description: The status of the operator consent.
          readOnly: true
        consentedOn:
          type: string
          format: date-time
          description: The time (ISO8601 format) when the operator consent is created.
          readOnly: true
        lastModifiedOn:
          type: string
          format: date-time
          description: The time (ISO8601 format) when the operator consent is last modified.
          readOnly: true
        consentedCountries:
          type: array
          description: The list of consented countries.
          items:
            type: string
          readOnly: true
        contacts:
          type: array
          description: The list of tenant contacts.
          items:
            $ref: '#/components/schemas/ContactDetails'
          readOnly: true
          x-ms-identifiers: []
        customerRelationship:
          $ref: '#/components/schemas/CustomerRelationship'
          description: The customer relationship of the operator consent.
          x-ms-mutability:
          - read
          - update
          - create
      required:
      - tenantId
    Azure.Core.Foundations.ErrorResponse:
      type: object
      description: A response containing error details.
      properties:
        error:
          $ref: '#/components/schemas/Azure.Core.Foundations.Error'
          description: The error object.
      required:
      - error
    ContactDetails:
      type: object
      description: Contact details for an individual.
      properties:
        fullName:
          type: string
          description: The full name of the contact detail.
          minLength: 1
          readOnly: true
        email:
          type: string
          description: The email of the contact detail.
          minLength: 1
          readOnly: true
        telephoneNumber:
          type: string
          description: The telephone number of the contact detail.
          readOnly: true
        companyName:
          type: string
          description: The company name of the contact detail.
          readOnly: true
        companySize:
          type: string
          description: The company size of the contact detail.
          readOnly: true
      required:
      - fullName
      - email
    CustomerRelationship:
      type: object
      description: Details of a customer relationship.
      properties:
        status:
          type: string
          description: The status of the customer relationship.
          x-ms-mutability:
          - read
          - update
          - create
        lastModifiedOn:
          type: string
          format: date-time
          description: The time (ISO8601 format) when the customer relationship is last modified.
          readOnly: true
        comment:
          type: string
          description: The comment of the customer relationship.
          x-ms-mutability:
          - read
          - update
          - create
  parameters:
    RecordCountQueryParameter:
      name: countRecords
      in: query
      description: Whether to return a count of the total number of records available for this request.
      required: false
      x-ms-parameter-location: method
      schema:
        type: boolean
    Azure.Core.ClientRequestIdHeader:
      name: x-ms-client-request-id
      in: header
      description: An opaque, globally-unique, client-generated string identifier for the request.
      required: false
      x-ms-parameter-location: method
      x-ms-client-name: clientRequestId
      schema:
        type: string
        format: uuid
    FilterQueryParameter:
      name: filter
      in: query
      description: Filter the result list using the given expression
      required: false
      x-ms-parameter-location: method
      schema:
        type: string
    Azure.Core.ConditionalRequestHeaders.ifNoneMatch:
      name: If-None-Match
      in: header
      description: The request should only proceed if no entity matches this string.
      required: false
      x-ms-parameter-location: method
      x-ms-client-name: ifNoneMatch
      schema:
        type: string
    Azure.Core.MaxPageSizeQueryParameter:
      name: maxpagesize
      in: query
      description: The maximum number of result items per page.
      required: false
      x-ms-parameter-location: method
      schema:
        type: integer
        format: int32
    Azure.Core.RepeatabilityRequestHeaders.repeatabilityFirstSent:
      name: Repeatability-First-Sent
      in: header
      description: Specifies the date and time at which the request was first created.
      required: false
      x-ms-parameter-location: method
      x-ms-client-name: repeatabilityFirstSent
      schema:
        type: string
        format: date-time
    Azure.Core.Foundations.ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      x-ms-parameter-location: method
      x-ms-client-name: apiVersion
      schema:
        type: string
        minLength: 1
    Azure.Core.ConditionalRequestHeaders.ifModifiedSince:
      name: If-Modified-Since
      in: header
      description: The request should only proceed if the entity was modified after this time.
      required: false
      x-ms-parameter-location: method
      x-ms-client-name: ifModifiedSince
      schema:
        type: string
        format: date-time
    Azure.Core.TopQueryParameter:
      name: top
      in: query
      description: The number of result items to return.
      required: false
      x-ms-parameter-location: method
      schema:
        type: integer
        format: int32
    Azure.Core.ConditionalRequestHeaders.ifUnmodifiedSince:
      name: If-Unmodified-Since
      in: header
      description: The request should only proceed if the entity was not modified after this time.
      required: false
      x-ms-parameter-location: method
      x-ms-client-name: ifUnmodifiedSince
      schema:
        type: string
        format: date-time
    Azure.Core.RepeatabilityRequestHeaders.repeatabilityRequestId:
      name: Repeatability-Request-ID
      in: header
      description: An opaque, globally-unique, client-generated string identifier for the request.
      required: false
      x-ms-parameter-location: method
      x-ms-client-name: repeatabilityRequestId
      schema:
        type: string
    Azure.Core.ConditionalRequestHeaders.ifMatch:
      name: If-Match
      in: header
      description: The request should only proceed if an entity matches this string.
      required: false
      x-ms-parameter-location: method
      x-ms-client-name: ifMatch
      schema:
        type: string
    Azure.Core.SkipQueryParameter:
      name: skip
      in: query
      description: The number of result items to skip.
      required: false
      x-ms-parameter-location: method
      schema:
        type: integer
        format: int32
        default: 0
  securitySchemes:
    OAuth2Auth:
      type: oauth2
      flows:
        clientCredentials:
          scopes:
            https://func-voiceservice-rp-prod-eastuseuap.azurewebsites.net/.default: ''
          tokenUrl: https://login.microsoftonline.com/common/oauth2/v2.0/token