API → Orgs → Create a SAML identity provider
Parameters
Name
Type
Req.
bodyapplication/json
objectoptionalObject Properties
idp_metadata_source
oneOfoptionalsigning_keypair
objectoptionalObject Properties
Returns
- 201 Created
successful creation
Name
Type
Req.
body
objectoptionalObject Properties
post
/org/saml/idp$ curl -X POST "https://api.zoo.dev/org/saml/idp" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data '{
"idp_entity_id": "GwTiqTw9RJTnnlPrANr",
"idp_metadata_source": {
"type": "url",
"url": "https://aHF.mO.com/d/I4w"
},
"signing_keypair": {
"private_key": "BASE64_ENCODED_BYTE_STRING",
"public_cert": "BASE64_ENCODED_BYTE_STRING"
},
"technical_contact_email": "gV@YiOqpw.com"
}'
201 Created
Response{
"acs_url": "https://sesoZKDieBp.q3lnoRzT.com/o4vW99d/3w",
"created_at": "2025-04-21T20:01:37.621Z",
"id": "e3439ce4-b0f9-4905-b45a-ade202d91b7f",
"idp_entity_id": "E",
"idp_metadata_document_string": "Xmezr",
"org_id": "2ed352ff-b5a0-4f46-b09a-4f382bec258f",
"private_key": "BASE64_ENCODED_BYTE_STRING",
"public_cert": "BASE64_ENCODED_BYTE_STRING",
"slo_url": "https://D.xVqjNGn.com/Oibpr4tzUe/",
"technical_contact_email": "WmtthxC@oR9Nkvxu.com",
"updated_at": "2025-04-21T20:01:37.621Z"
}