Skip to content

Create SAML provider

Request

Create a SAML access-based service provider in a specific tenant.

Required permissions: service-providers:create, apps:create, [appId]:create.

Security
ClientAccessToken
Bodyapplication/jsonrequired
namestringrequired

Name of the service provider

Example:"My service provider"
descriptionstring

Short description of the service provider

assertion_consumer_service_URLstringrequired

Assertion consumer service URL, which receives the SAML response

Example:"https://example.com/sso/saml"
entity_idstringrequired

Entity ID (Also referred to as Audience)

Example:"https://example.com"
name_qualifierstring

Name Qualifier

Example:"https://yourdomain.example.com/"
curl -i -X POST \
  https://api.sbx.transmitsecurity.io/cis/v1/serviceprovider/saml2 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "My service provider",
    "description": "string",
    "assertion_consumer_service_URL": "https://example.com/sso/saml",
    "entity_id": "https://example.com",
    "name_qualifier": "https://yourdomain.example.com/"
  }'

Responses

Bodyapplication/json
resultobjectrequired
Response
{ "result": { "service_provider_id": "string", "tenant_id": "string", "name": "string", "description": "string", "assertion_consumer_service_URL": "string", "entity_id": "string", "name_qualifier": "string", "saml_url": "string", "issuer": "string", "pub_cert": "string" } }