Last updated: September 23, 2026

Create SAML App

Create SAML App.

Request

POSThttps://superadminuser.miniorange.in/services/api/apps/v1/saml

Authentication headers (required on every request)

Customer-Key
Super Admin ID for the actor account.
Timestamp
Milliseconds since epoch (e.g. Date.now()).
Authorization
SHA-512 of superAdminId + timestamp + apiKey.
X-Target-Customer-Id
Customer tenant the Super Admin is acting on.

Parameters

NameTypeRequiredDescription
appNameStringOptional
applicationNameStringOptional
nameIdAttributeStringOptional
nameIdFormatStringOptional
createDefaultPolicyStringOptional
serviceProviderDetailsStringOptional
settingsStringOptional
attributeMappingsStringOptional

Request body

{
    "appName": "My SAML App",
    "applicationName": "Custom SAML App",
    "nameIdAttribute": "EMAIL",
    "nameIdFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified",
    "createDefaultPolicy": false,
    "serviceProviderDetails": {
        "acsUrl": "https://sp.example.com/acs",
        "spEntityId": "https://sp.example.com",
        "audienceUri": "https://sp.example.com",
        "spSingleLogoutUrl": "https://sp.example.com",
        "isRequestSigned": false,
        "spCertificate": "",
        "useEntityIdAsAudience": false
    },
    "settings": {
        "isResponseSigned": true,
        "isAssertionSigned": false,
        "signatureAlgorithm": "RSA-SHA256",
        "encryptionAlgorithm": "aes256-cbc",
        "nameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
        "responseTimeValid": 300,
        "logoutResponseBinding": "POST",
        "logoutRequestBinding": "REDIRECT",
        "showOnEndUserDashboard": false,
        "assertionEncryption": false
    },
    "attributeMappings": [
        {
            "attributeName": "Email",
            "attributeType": "MINIORANGE",
            "attributeValue": "EMAIL"
        },
        {
            "attributeName": "FirstName",
            "attributeType": "MINIORANGE",
            "attributeValue": "FIRST_NAME"
        },
        {
            "attributeName": "LastName",
            "attributeType": "MINIORANGE",
            "attributeValue": "LAST_NAME"
        }
    ]
}

No sample response is documented for this endpoint yet. Use Try it on the right to see the live response from your tenant.

Copied