{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:azure-communication-identity/teams-extension-operations-exchange-token":{"post":{"operationId":"cloud_azure_communication_identity_teams_extension_operations_exchange_token","summary":"Exchanges a Teams Phone token for an ACS user access token.","description":"POST /access/teamsExtension/:exchangeAccessToken","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","body"],"properties":{"endpoint":{"type":"string","description":"The communication resource, for example https://my-resource.communication.azure.com"},"api-version":{"type":"string","default":"2026-09-23","description":"The API version to use for this operation."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-communication-identity/teams-extension-operations-get-assignment":{"get":{"operationId":"cloud_azure_communication_identity_teams_extension_operations_get_assignment","summary":"Get Teams Phone access assignment by object id.","description":"GET /access/teamsExtension/tenants/{tenantId}/assignments/{objectId}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"The communication resource, for example https://my-resource.communication.azure.com","schema":{"type":"string","description":"The communication resource, for example https://my-resource.communication.azure.com"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2026-09-23","description":"The API version to use for this operation."}},{"name":"tenantId","in":"query","required":true,"description":"Tenant Id we want to get the assignment for.","schema":{"type":"string","description":"Tenant Id we want to get the assignment for."}},{"name":"objectId","in":"query","required":true,"description":"Object Id we want to get the assignment for.","schema":{"type":"string","description":"Object Id we want to get the assignment for."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-communication-identity/teams-extension-operations-upsert-assignment":{"post":{"operationId":"cloud_azure_communication_identity_teams_extension_operations_upsert_assignment","summary":"Creates or replaces a Teams Phone access assignment.","description":"PUT /access/teamsExtension/tenants/{tenantId}/assignments/{objectId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","tenantId","objectId","body"],"properties":{"endpoint":{"type":"string","description":"The communication resource, for example https://my-resource.communication.azure.com"},"api-version":{"type":"string","default":"2026-09-23","description":"The API version to use for this operation."},"tenantId":{"type":"string","description":"Tenant Id we want to update the assignment for."},"objectId":{"type":"string","description":"Object Id we want to update the assignment for."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-communication-identity/teams-extension-operations-delete-assignment":{"post":{"operationId":"cloud_azure_communication_identity_teams_extension_operations_delete_assignment","summary":"Removes a Teams Phone access assignment.","description":"DELETE /access/teamsExtension/tenants/{tenantId}/assignments/{objectId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","tenantId","objectId"],"properties":{"endpoint":{"type":"string","description":"The communication resource, for example https://my-resource.communication.azure.com"},"api-version":{"type":"string","default":"2026-09-23","description":"The API version to use for this operation."},"tenantId":{"type":"string","description":"Tenant Id we want to remove the assignment for."},"objectId":{"type":"string","description":"Object Id we want to remove the assignment for."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-communication-identity/identity-operations-create":{"post":{"operationId":"cloud_azure_communication_identity_identity_operations_create","summary":"Create a new identity, and optionally, an access token.","description":"POST /identities","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint"],"properties":{"endpoint":{"type":"string","description":"The communication resource, for example https://my-resource.communication.azure.com"},"api-version":{"type":"string","default":"2026-09-23","description":"The API version to use for this operation."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-communication-identity/identity-operations-delete":{"post":{"operationId":"cloud_azure_communication_identity_identity_operations_delete","summary":"Delete the identity, revoke all tokens for the identity and delete all associated data.","description":"DELETE /identities/{id}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","id"],"properties":{"endpoint":{"type":"string","description":"The communication resource, for example https://my-resource.communication.azure.com"},"api-version":{"type":"string","default":"2026-09-23","description":"The API version to use for this operation."},"id":{"type":"string","description":"Identifier of the identity to be deleted."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-communication-identity/identity-operations-issue-access-token":{"post":{"operationId":"cloud_azure_communication_identity_identity_operations_issue_access_token","summary":"Issue a new token for an identity.","description":"POST /identities/{id}/:issueAccessToken","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","id","body"],"properties":{"endpoint":{"type":"string","description":"The communication resource, for example https://my-resource.communication.azure.com"},"api-version":{"type":"string","default":"2026-09-23","description":"The API version to use for this operation."},"id":{"type":"string","description":"Identifier of the identity to issue token for."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-communication-identity/identity-operations-revoke-access-tokens":{"post":{"operationId":"cloud_azure_communication_identity_identity_operations_revoke_access_tokens","summary":"Revoke all access tokens for the specific identity.","description":"POST /identities/{id}/:revokeAccessTokens","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","id"],"properties":{"endpoint":{"type":"string","description":"The communication resource, for example https://my-resource.communication.azure.com"},"api-version":{"type":"string","default":"2026-09-23","description":"The API version to use for this operation."},"id":{"type":"string","description":"Identifier of the identity."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-communication-identity/teams-user-operations-exchange-teams-user-access-token":{"post":{"operationId":"cloud_azure_communication_identity_teams_user_operations_exchange_teams_user_access_token","summary":"Exchange an Entra ID access token of a Teams user for a new Communication Identity access token with a…","description":"POST /teamsUser/:exchangeAccessToken","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","body"],"properties":{"endpoint":{"type":"string","description":"The communication resource, for example https://my-resource.communication.azure.com"},"api-version":{"type":"string","default":"2026-09-23","description":"The API version to use for this operation."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}