Skip to main content
POST
/
destination
/
create
Python
from unstructured import UnstructuredClient

client = UnstructuredClient(
    username="My Username",
    password="My Password",
)
connector_response = client.destination.create(
    connector_body={
        "client_id": "client_id",
        "client_secret": "client_secret",
        "documents_library_folder_name": "documents_library_folder_name",
        "name": "name",
        "sharepoint_site_name": "sharepoint_site_name",
        "tenant_id": "tenant_id",
    },
    connector_name="connector_name",
)
print(connector_response.profile_id)
{
  "profile_id": "<string>"
}

Body

application/json
connector_name
string
required
connector_body
SharepointDestinationConfig · object
required

Response

Successful Response

profile_id
string
required