cURL
curl --request POST \ --url https://apiweb.mile.app/api/v3/app-integration \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'azureAuthUrl=<string>' \ --form azureCert='@example-file' \ --form 'integrationType=<string>'
{ "status": true, "code": 201, "message": "Integration has been added successfully.", "data": { "integrationType": "azure", "azureAuthUrl": "https://login.microsoftonline.com/XXX-5f2b-XXX-90a0-XXX/saml2", "azureCert": "https://apistorage.mile.app/v3-public-dev/dev/66791b2bfabcde/2024/12/28/app.cer", "organizationId": "66791b2bf001a712b77b3622", "updatedTime": "2024-12-29T13:01:01.924000Z", "createdTime": "2024-12-29T13:01:01.924000Z", "_id": "6771480dc13375875909b693" } }
Use a valid Bearer token to authenticate.
this parameter for auth url provided by azure
azure
this parameter for certificate file provided by azure
this parameter for integration type, Currently available for azure
Success
Status of response.
Detail object of created App Integration.