Documentation Index

Fetch the complete documentation index at: https://docs.eshare.com/llms.txt

Use this file to discover all available pages before exploring further.

Search for SharePoint Sites (Modern Sites)

Prev Next
Get
/api/3.1/organizations/{org_id}/search/groups

This request provides a list of Modern SharePoint sites found with the Organizations M365 Tenant. Search for specific sites by including the Group Name, Group Display Name, Site Name, Group ID, Site ID, or Site URL. Utilize the Reponse details as a body in your Site linking request.

Security
API Key: NCC_Token
Header parameter nameAuthorization

NCC token authentication. Format: NCC token=<auth_token>

Path parameters
org_id
stringRequired
Query parameters
q
string

Search group parameter value (URL including https://, Site Id, Group Id, Email, Display name)

security_groups
boolean

Whether we search for security or office365 groups

Defaultfalse
max_results
integer (int64)

Maximum number of returned matches

Default25
next_token
string

Next link token for paginated results

Responses
200

Successful operation

Expand All
object
groups
Array of object (SearchGroupsResponseEntry)
object
name
string
id
string
security_group
boolean
mail
string
mail_nickname
string
description
string
is_teams_site
boolean
next_token
string

Next link token for paginated results