--- title: openframe API description: The openframe API provides endpoints that provide Contact Center as a Service \(CCaaS\) the ability to create and update interaction records without using the Operation Handler.Updates the specified interaction record in the Interaction \[interaction\] table. Contact Center as a Service \(CCaaS\) providers can then use these records to track phone calls.Creates an interaction record in the Interaction \[interaction\] table when an agent accepts a call. Contact Center as a Service \(CCaaS\) providers can then use these records to track phone calls. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/rest-apis/openframe-api.html release: australia product: REST APIs classification: rest-apis topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 9 breadcrumb: [REST API reference, API reference, API implementation and reference] --- # openframe API The openframe API provides endpoints that provide Contact Center as a Service \(CCaaS\) the ability to create and update interaction records without using the Operation Handler. Use this API to create interaction records to track agent phone calls. Once an interaction record is created, the interaction can automatically display in the CRM Workspace when an agent receives a phone call. To access this API, the com.sn\_openframe\_store plugin must be installed on the instance and the calling user must have either the sn\_openframe\_api\_user or sn\_openframe\_user role. The openframe API runs in the `sn_openframe` namespace. For additional information on CSM voice interaction records, see [CSM voice interaction record page](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/customer-service-management/csm-native-voice-record-page.md). **Parent Topic:**[REST API reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/api-rest.md) ## openframe - PATCH /openframe/voice-interaction/\{interactionSysId\} Updates the specified interaction record in the Interaction \[interaction\] table. Contact Center as a Service \(CCaaS\) providers can then use these records to track phone calls. ### URL format Versioned URL: `/api/now/openframe/{api_version}/voice-interaction/{interactionSysId}` Default URL: `/api/now/openframe/voice-interaction/{interactionSysId}` **Note:** Available versions are specified in the [REST API Explorer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-api-explorer/use-REST-API-Explorer.md). For scripted REST APIs there is additional version information on the [Scripted REST Service form](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-api-explorer/c_CustomWebServices.md). ### Supported request parameters
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| interactionSysId | Sys\_id of the interaction record to update. This value is returned by the [Create Voice Interaction/POST](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/openframe-api.md) endpoint.Data type: String Table: Interaction \[interaction\] |
| Name | Description |
|---|---|
| interaction | Required. Details of the voice interaction. At least one parameter must be passed.Data type: Object ``` "interaction": { "additionalParams": {Object}, "callbackPhoneNumber": "String", "clientSessionId": "String", "inboundId": "String", "userPhoneNumber": "String" } ``` |
| interaction.additionalParams | Name-value pairs of the associated interaction record fields and their respective values.For example: ``` "additionalParams": { "direction": "inbound", "short_description": "New outbound call", "assigned_to": "a8f98bb0eb32010045e1a5115206fe3a" } ``` Data type: Object Default: None |
| interaction.callbackPhoneNumber | Caller's callback phone number. This is the number the agent uses to reach the caller in case the call drops.This value maps to the caller\_phone\_number field in the Interaction \[interaction\] table. See also the **callerPhoneNumber** property description for [Create Voice Interaction/POST](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/openframe-api.md). Data type: String Format: E.164 Default: None |
| interaction.clientSessionId | Unique identifier of the record in an external system used to track this phone call. This information links the records between the two systems.Data type: String Default: None |
| interaction.inboundId | Unique identifier of the application provider for the voice service.Table: Inbound ID field in the Provider Channel Application \[sys\_cs\_provider\_application\] table. Default: None |
| interaction.userPhoneNumber | Phone number of the user that made the call associated with the voice interaction.Data type: String Format: E.164 |
| interactionContext | Interaction context variables to set. Name-value pairs of the interaction context variables to save in the interaction record. These values are determined by CCaaS.For example: ``` "interactionContext":{ "devicetype": "genesys", "requester_session_language": "en-US" } ``` Data type: Object Default: None |
| phoneLogs | Name-value pairs of the phone logs to create and associate with a call. You can specify any field in the Phone Log \[sn\_open\_frame\_phone\_log\] table.For example: ``` "phoneLogs":[ { "agent": "String", "call_id": "String", "start_time": "String" } ] ``` Data type: Array of Objects Default: None |
| relatedRecords | Records related to the call.Data type: Array of Objects ``` "relatedRecords":[ { "documentId": "String", "documentTable": "String" } ] ``` Default: None |
| relatedRecords.documentId | Sys\_id of the related record. Data type: String Table: Specified in the **relatedRecords.documentTable** parameter. |
| relatedRecords.documentTable | Name of the table that contains the related record.Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Content-Type | Data format of the request body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Name | Description |
|---|---|
| status | Status of the record update.Possible values: - SUCCESS: The interaction record was successfully updated. - FAILURE: The interaction record was not updated. |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| interaction | Required. Details of the voice interaction. At least one parameter must be passed.Data type: Object ``` "interaction": { "additionalParams": {Object}, "callbackPhoneNumber": "String", "clientSessionId": "String", "inboundId": "String", "userPhoneNumber": "String" } ``` |
| interaction.additionalParams | Name-value pairs of the associated interaction record fields and their respective values.For example: ``` "additionalParams": { "direction": "inbound", "short_description": "New outbound call", "assigned_to": "a8f98bb0eb32010045e1a5115206fe3a" } ``` Data type: Object Default: None |
| interaction.callbackPhoneNumber | Caller's callback phone number. This is the number the agent uses to reach the caller in case the call drops.This value maps to the caller\_phone\_number field in the Interaction \[interaction\] table. See also the **callerPhoneNumber** property description for [Create Voice Interaction/POST](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/openframe-api.md). Data type: String Format: E.164 Default: None |
| interaction.clientSessionId | Unique identifier of the record in an external system used to track this phone call. This information links the records between the two systems.Data type: String Default: None |
| interaction.inboundId | Unique identifier of the application provider for the voice service.Table: Inbound ID field in the Provider Channel Application \[sys\_cs\_provider\_application\] table. Default: None |
| interaction.userPhoneNumber | Required. Phone number of the user that made the call associated with the voice interaction.Data type: String Format: E.164 |
| interactionContext | Interaction context variables to set. Name-value pairs of the interaction context variables to save in the interaction record. These values are determined by CCaaS.For example: ``` "interactionContext":{ "devicetype": "genesys", "requester_session_language": "en-US" } ``` Data type: Object Default: None |
| phoneLogs | Name-value pairs of the phone logs to create and associate with a call. You can specify any field in the Phone Log \[sn\_open\_frame\_phone\_log\] table.For example: ``` "phoneLogs":[ { "agent": "String", "call_id": "String", "start_time": "String" } ] ``` Data type: Array of Objects Default: None |
| relatedRecords | Records related to the call.Data type: Array of Objects ``` "relatedRecords":[ { "documentId": "String", "documentTable": "String" } ] ``` Default: None |
| relatedRecords.documentId | Sys\_id of the related record. Data type: String Table: Specified in the **relatedRecords.documentTable** parameter. |
| relatedRecords.documentTable | Name of the table that contains the related record.Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Content-Type | Data format of the request body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Name | Description |
|---|---|
| number | Only returned on success. Interaction number of the newly created voice interaction. Data type: String |
| status | Status of the record creation.Possible values: - SUCCESS: The interaction record was successfully created. - FAILURE: The interaction record was not created. |
| sysId | Only returned on success. Sys\_id of the newly created voice interaction record. Table: Interaction \[interaction\] |