Integrations
Manage Integrations.
Retrieve details of global Microsoft 365 settings.
OK
Error
GET /api/admin/ms365 HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "national_cloud": "GLOBAL",
  "directory_id": "text",
  "application_id": "text",
  "redirect_uri": "text",
  "sbc_redirect_uri": "text"
}Update global Microsoft 365 settings.
The Microsoft cloud services are available in several separate national clouds.
These national cloud versions are physical and logical network-isolated instances of Microsoft enterprise cloud services
that are confined within the geographic borders of specific countries and operated by local personnel.
Can be either:
GLOBAL: Azure global service.CHINA: Azure China service.
GLOBALPossible values: The Directory ID (Tenant ID) of Microsoft identity platform.
The Application (client) ID of Azure AD.
OK
No content
Error
POST /api/admin/ms365 HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 73
{
  "national_cloud": "GLOBAL",
  "directory_id": "text",
  "application_id": "text"
}No content
Download global Microsoft 365 certificate.
OK
Error
GET /api/admin/ms365/certificate HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binaryGenerate new global Microsoft 365 certificate.
OK
Error
POST /api/admin/ms365/certificate HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binaryRetrieve details of global Google integrations settings.
OK
Error
GET /api/admin/google HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "client_id": "text",
  "client_secret": "text",
  "redirect_uri": "text",
  "sbc_redirect_uri": "text",
  "auth_consent_uri": "text"
}Update global Google integration settings.
The client ID of Google Cloud project.
The client secret of Google Cloud project.
OK
No content
Error
POST /api/admin/google HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 43
{
  "client_id": "text",
  "client_secret": "text"
}No content
Retrieve details of tenant Microsoft 365 settings.
OK
Error
GET /api/ms365 HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "national_cloud": "GLOBAL",
  "directory_id": "text",
  "application_id": "text",
  "redirect_uri": "text",
  "sbc_redirect_uri": "text",
  "sync_time": "text",
  "users": {
    "enabled": false,
    "sync_guest_users": false,
    "sync_photo": false,
    "starting_extension_number": "text",
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  },
  "sign_in_as_administrator": {
    "enabled": false,
    "selected_users": [
      "text"
    ]
  },
  "sign_in_as_standard_user": {
    "enabled": false,
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  },
  "personal_contacts": {
    "enabled": false,
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  },
  "shared_mailbox": {
    "enabled": false,
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  },
  "events": {
    "enabled": false,
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  }
}Update tenant Microsoft 365 settings.
The Microsoft cloud services are available in several separate national clouds.
These national cloud versions are physical and logical network-isolated instances of Microsoft enterprise cloud services
that are confined within the geographic borders of specific countries and operated by local personnel.
Can be either:
GLOBAL: Azure global service.CHINA: Azure China service.
GLOBALPossible values: The Directory ID (Tenant ID) of Microsoft identity platform.
The Application (client) ID of Azure AD.
The crontab expression https://en.wikipedia.org/wiki/Cron
OK
No content
Error
POST /api/ms365 HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 633
{
  "national_cloud": "GLOBAL",
  "directory_id": "text",
  "application_id": "text",
  "sync_time": "text",
  "users": {
    "enabled": false,
    "sync_guest_users": false,
    "sync_photo": false,
    "starting_extension_number": "text",
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  },
  "sign_in_as_administrator": {
    "enabled": false,
    "selected_users": [
      "text"
    ]
  },
  "sign_in_as_standard_user": {
    "enabled": false,
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  },
  "personal_contacts": {
    "enabled": false,
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  },
  "shared_mailbox": {
    "enabled": false,
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  },
  "events": {
    "enabled": false,
    "selected_users": [
      "text"
    ],
    "sync_type": "ALL"
  }
}No content
Generate new Microsoft 365 certificate.
OK
Error
POST /api/ms365/certificate HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binaryRetrieve a collection of Microsoft 365 users.
OK
Error
GET /api/ms365/users HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "count": 100,
  "items": [
    {
      "id": "text",
      "name": "text",
      "email": null
    }
  ]
}Retrieve details of tenant Google integrations settings.
OK
Error
GET /api/google HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "client_id": "text",
  "client_secret": "text",
  "redirect_uri": "text",
  "sbc_redirect_uri": "text",
  "auth_consent_uri": "text"
}Update tenant Google integration settings.
The client ID of Google Cloud project.
The client secret of Google Cloud project.
OK
No content
Error
POST /api/google HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 43
{
  "client_id": "text",
  "client_secret": "text"
}No content
Last updated