title | description | author | ms.localizationpriority | ms.subservice | doc_type | ms.date |
---|---|---|---|---|---|---|
Get call | Retrieve the properties and relationships of a call object. | rahulva-msft | medium | cloud-communications | apiPageType | 04/04/2024 |
Namespace: microsoft.graph
Retrieve the properties and relationships of a call object.
[!INCLUDE national-cloud-support]
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
[!INCLUDE permissions-table]
Note: Permissions are checked when the call is created; no additional permission check is made when calling this API. Calls.AccessMedia.All is only necessary for calls that use app-hosted media.
GET /communications/calls/{id}
This method supports the OData query parameters to help customize the response.
Name | Description |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this method returns a 200 OK
response code and a call object in the response body.
GET https://graph.microsoft.com/v1.0/communications/calls/{id}
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OKContent-Type: application/json { "@odata.type": "#microsoft.graph.call", "state": "established", "direction": "outgoing", "callbackUri": "https://bot.contoso.com/callback", "source": { "@odata.type": "#microsoft.graph.participantInfo", "identity": { "@odata.type": "#microsoft.graph.identitySet", "application": { "@odata.type": "#microsoft.graph.identity", "displayName": "Calling Bot", "id": "2891555a-92ff-42e6-80fa-6e1300c6b5c6", } }, "region": null, "languageId": null }, "targets": [ { "@odata.type": "#microsoft.graph.invitationParticipantInfo", "identity": { "@odata.type": "#microsoft.graph.identitySet", "user": { "@odata.type": "#microsoft.graph.identity", "displayName": "John", "id": "112f7296-5fa4-42ca-bae8-6a692b15d4b8" } } } ], "requestedModalities": [ "audio" ], "mediaConfig": { "@odata.type": "#microsoft.graph.serviceHostedMediaConfig", "preFetchMedia": [ { "uri": "https://cdn.contoso.com/beep.wav", "resourceId": "f8971b04-b53e-418c-9222-c82ce681a582" }, { "uri": "https://cdn.contoso.com/cool.wav", "resourceId": "86dc814b-c172-4428-9112-60f8ecae1edb" } ], }, "myParticipantId": "499ff390-7a72-40e8-83a0-8fac6295ae7e", "id": "2e1a0b00-2db4-4022-9570-243709c565ab", "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#communications/calls/$entity", "subject": null, "ringingTimeoutInSeconds": null, "resultInfo": null, "answeredBy": null, "chatInfo": null, "meetingInfo": null, "transcription": null, "toneInfo": null }
GET https://graph.microsoft.com/v1.0/communications/calls/2f1a1100-b174-40a0-aba7-0b405e01ed92
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
HTTP/1.1 200 OKContent-Type: application/json { "@odata.type": "#microsoft.graph.call", "state": "established", "direction": "outgoing", "callbackUri": "https://bot.contoso.com/callback", "source": { "@odata.type": "#microsoft.graph.participantInfo", "identity": { "@odata.type": "#microsoft.graph.identitySet", "application": { "@odata.type": "#microsoft.graph.identity", "displayName": "Calling Bot", "id": "2891555a-92ff-42e6-80fa-6e1300c6b5c6", } }, "region": null, "languageId": null }, "targets": [], "requestedModalities": [ "audio" ], "mediaConfig": { "@odata.type": "#microsoft.graph.serviceHostedMediaConfig", "preFetchMedia": [ { "uri": "https://cdn.contoso.com/beep.wav", "resourceId": "f8971b04-b53e-418c-9222-c82ce681a582" }, { "uri": "https://cdn.contoso.com/cool.wav", "resourceId": "86dc814b-c172-4428-9112-60f8ecae1edb" } ], }, "chatInfo": { "@odata.type": "#microsoft.graph.chatInfo", "threadId": "19:meeting_Win6Ydo4wsMijFjZS00ZGVjLTk5MGUtOTRjNWY2NmNkYTFm@thread.v2", "messageId": "0", "replyChainMessageId": null }, "meetingInfo": { "@odata.type": "#microsoft.graph.organizerMeetingInfo", "organizer": { "@odata.type": "#microsoft.graph.identitySet", "user": { "@odata.type": "#microsoft.graph.identity", "id": "5810cede-f3cc-42eb-b2c1-e9bd5d53ec96", "displayName": null } }, "allowConversationWithoutHost": true }, "transcription": { "@odata.type": "#microsoft.graph.callTranscriptionInfo", "state": "inactive", "lastModifiedDateTime": "2020-05-28T00:10:54.104318Z" }, "myParticipantId": "05491616-385f-44a8-9974-18cc5f9933c1", "id": "2f1a1100-b174-40a0-aba7-0b405e01ed92", "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#communications/calls/$entity", "ringingTimeoutInSeconds": null, "subject": null, "resultInfo": null, "answeredBy": null, "toneInfo": null }