---
title: SAML 2.0 scripting API
description: The SAML 2.0 scripts all have access to either legacy or next-generation common bindings depending on the script engine for the script type.
component: pingam
version: 8.1
page_id: pingam:am-scripting:saml2-scripting-api
canonical_url: https://docs.pingidentity.com/pingam/8.1/am-scripting/saml2-scripting-api.html
page_aliases: ["scripting-guide:saml2-scripting-api.adoc"]
---

# SAML 2.0 scripting API

The SAML 2.0 scripts all have access to either legacy or next-generation [common bindings](script-bindings.html) depending on the script engine for the script type.

Refer to the individual SAML 2.0 script types for specific bindings.

|   |                                                                                                                                                                              |
| - | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | To access information about SAML 2.0 flows, add a Scripted Decision node to your journey and [query the `samlApplication` binding](scripting-api-node.html#samlapp-binding). |
