{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":178,"path":"api-reference/api-reference.md","title":"API reference","bundle":null,"doc_type":null,"release":"australia","body":"\n# API reference\n\nUse ServiceNow APIs to change functionality and add features on the ServiceNow AI Platform.\n\n<table id=\"table_iwv_lpv_klb\" class=\"nav-card\"><tbody><tr><td>\n\n[Client \\[Omitted image \"bus-monitor.svg\"\\] Alt text: Control how the ServiceNow AI Platform functions and is displayed within the web browser.](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/api-client.md)\n\n</td><td>\n\n[Client Next Experience \\[Omitted image \"bus-laptop.svg\"\\] Alt text: Control how the ServiceNow AI Platform functions and is displayed within the web browser in the Next Experience UI Framework.](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/api-client-next.md)\n\n</td><td>\n\n[Client mobile \\[Omitted image \"bus-mobile-native.svg\"\\] Alt text: Build custom mobile experiences inside of ServiceNow AI Platform native mobile apps.](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/cllent-mobile-api-reference/api-client-mobile.md)\n\n</td><td>\n\n[Mobile SDK \\[Omitted image \"bus-mobile-phone.svg\"\\] Alt text: Leverage the ServiceNow AI Platform within standalone Android and iOS apps.](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/cllent-mobile-api-reference/api-mobile_sdk.md)\n\n</td></tr><tr><td>\n\n[Server \\[Omitted image \"bus-server.svg\"\\] Alt text: Build and update applications.](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/server-api-reference/api-server.md)\n\n</td><td>\n\n[REST \\[Omitted image \"bus-cloud.svg\"\\] Alt text: Access and update data.](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/api-rest.md)\n\n</td><td>\n\n[UI Builder \\[Omitted image \"bus-service-map.svg\"\\] Alt text: Build client scripts in UI Builder.](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/ui-builder-api-reference/api-uib.md)\n\n</td><td>\n\n[Browse APIs by product \\[Omitted image \"bus-find-an-app.svg\"\\] Alt text: Find APIs to use with your ServiceNow products.](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/api-product-type.md)\n\n</td></tr></tbody>\n</table>## Client\n\nUse client-side JavaScript APIs to control how the ServiceNow AI Platform functions and displays within the web browser. Client-side APIs provide common functionality that you can add to your instance by calling the APIs from client-side scripts such as client scripts and UI policy scripts.\n\nCommon use cases:\n\n-   Use the [GlideAjax](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/c_GlideAjaxAPI.md) API to call server-side code from a client script.\n-   Use the [GlideForm](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/c_GlideFormAPI.md) API to customize forms.\n\n## Client mobile\n\nCabrillo JS is a client-side JavaScript API for accessing capabilities inside ServiceNow AI Platform native mobile applications. Cabrillo JS provides methods to use native device capabilities, native mobile UI, and other ServiceNow AI Platform mobile functionality.\n\n## Mobile SDK\n\nUse the ServiceNow Mobile SDK to leverage the functionality and resources of the ServiceNow AI Platform within your standalone mobile Android and iOS applications.\n\nUsing the Mobile SDK, you can perform the following within your applications:\n\n-   Access data on your ServiceNow instance through its public REST APIs or custom scripted REST APIs that you develop.\n-   Embed and enable Virtual Agent within your application interface.\n-   Embed a real-time, AI-powered voice agent directly in your mobile application. NowVoice provides a full-screen voice interface with live transcripts, mute controls, and post-call transcript sharing.\n-   Gather and track custom analytics events for analysis.\n-   Attach documents \\(attachments\\) to a record within your ServiceNow instance.\n-   Load web pages hosted on your ServiceNow instance in a native web view or Cabrillo.\n-   Provide simple authentication flows using JSON Web Tokens for third-party applications to authenticate users.\n-   Send push notifications.\n\n## Server\n\nUse server-side JavaScript APIs to change the functionality of existing applications or to build new applications. Server-side APIs provide common functionality that you can add to your instance by calling the APIs from server-side scripts such as business rules and script includes. Scoped APIs are intended for use with scoped applications, and global APIs are intended for use with applications in the global scope. New applications are typically scoped. Applications in the global scope are typically legacy applications.\n\nCommon use cases:\n\n-   Use the [GlideRecord](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/server-api-reference/c_GlideRecordScopedAPI.md) or [GlideQuery](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/server-api-reference/GlideQueryGlobalAPI.md) APIs to perform create, read, update, and delete operations on record data from server-side scripts.\n-   Use the [GlideSystem](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/server-api-reference/c_GlideSystemScopedAPI.md) API to access information about the instance or the current user session and to write informational or error messages.\n-   Use [FlowAPI](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/server-api-reference/ScriptableFlowAPI.md) methods to trigger flows, subflows, and actions from server-side scripts.\n\n## REST\n\nUse REST APIs to access and update data on the ServiceNow AI Platform. You can discover these APIs from within your instance by using the REST API Explorer. If you don't find an API that meets your needs, you can create custom REST APIs using the Scripted REST API feature. ServiceNow REST APIs support Basic Authentication and OAuth 2.0 to authenticate requests.\n\nCommon use cases:\n\n-   Use the [Attachment API](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/c_AttachmentAPI.md) to upload and query file attachments.\n-   Use the [Email API](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/email-api.md) to send and receive email messages.\n-   Use the [Table API](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/c_TableAPI.md) to create, read, update, and delete records in a table.\n\n## UI Builder\n\nUse UI Builder APIs when developing client scripts in the [UI Builder](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/application-development/ui-builder-overview.md). Client scripts are executed in response to something happening on a page, such as:\n\n-   User interaction events/actions, such as a button click.\n-   Lifecycle events, such as a data broker execution started.\n\n"}}