Skip to main content

autessa.connectors.outlook

7 methods in the connectors.outlook namespace.

autessa.connectors.outlook.allREAD

autessa.connectors.outlook.all({ pageSize, pageToken })

List every Outlook connector you can access in your current company.

List every Outlook connector you can access in your current company. Takes no arguments and returns each connector you have at least READ access to. Use a connector's connectorId with the other Outlook connector methods. Stored credentials are never included.

Request fields

  • Name
    pageSize
    Type
    number
    Description
  • Name
    pageToken
    Type
    string
    Description

Response fields

  • Name
    connectors
    Type
    OutlookConnectorDto[]
    Description
  • Name
    nextPageToken
    Type
    string
    Description

autessa.connectors.outlook.deleteMUTATE

autessa.connectors.outlook.delete({ connectorId })

Delete an Outlook connector from Autessa.

Delete an Outlook connector from Autessa. Removes the connector for connectorId, revoking every tool and script that relied on it. This deletes the Autessa record and its stored tokens only — it does not revoke the grant on the Microsoft side; revoke that in the Microsoft account's connected-apps settings. Reconnecting requires the full OAuth flow again. Restricted to the connector's owner. High-risk and irreversible.

Request fields

  • Name
    connectorId
    Type
    string
    Description

Response fields

  • Name
    message
    Type
    string
    Description

autessa.connectors.outlook.getREAD

autessa.connectors.outlook.get({ connectorId })

Fetch one Outlook connector by id.

Fetch one Outlook connector by id. Returns the full connector for connectorId — including the linked mailbox account and its sharing and active state — but never the stored credential. Fails if you lack READ access to the connector.

Request fields

  • Name
    connectorId
    Type
    string
    Description

Response fields

  • Name
    connector
    Type
    OutlookConnectorDto
    Description

autessa.connectors.outlook.getSharingDetailsREAD

autessa.connectors.outlook.getSharingDetails({ connectorId })

Read the current sharing configuration of an Outlook connector.

Read the current sharing configuration of an Outlook connector. Returns how the connector is shared — the overall sharingLevel, the companyPermissionLevel granted for COMPANY sharing, the explicit sharedWith members, and your own userAccessLevel. Use it before share to see the current state. Requires at least READ access.

Request fields

  • Name
    connectorId
    Type
    string
    Description

Response fields

  • Name
    sharingLevel
    Type
    "PRIVATE" | "SPECIFIC_MEMBER" | "COMPANY"
    Description
  • Name
    companyPermissionLevel
    Type
    "READ" | "WRITE" | "PUBLISH" | "ADMIN"
    Description
  • Name
    sharedWith
    Type
    UserShareWrapper[]
    Description
  • Name
    userAccessLevel
    Type
    "READ" | "WRITE" | "PUBLISH" | "ADMIN"
    Description

autessa.connectors.outlook.listFoldersREAD

autessa.connectors.outlook.listFolders({ connectorId, pageSize, pageToken })

List the mail folders of an Outlook connector's mailbox.

Returns the mail folders of the connector's Outlook mailbox, read live from Microsoft Graph, each with its folder id and display name. Returns up to 100 folders and does not paginate. Needs a valid OAuth token (the SDK refreshes it automatically). Use the returned folderId to scope Outlook mail tools to a folder. Requires READ access to the connector.

Request fields

  • Name
    connectorId
    Type
    string
    Description
  • Name
    pageSize
    Type
    number
    Description
  • Name
    pageToken
    Type
    string
    Description

Response fields

  • Name
    folders
    Type
    ResponseFolderDto[]
    Description
  • Name
    nextPageToken
    Type
    string
    Description

autessa.connectors.outlook.shareMUTATE

autessa.connectors.outlook.share({ connectorId, level, accessLevel, usersToAdd, usersToRemove })

Change who in your company can use an Outlook connector.

Change who in your company can use an Outlook connector. level=PRIVATE keeps it to the owner; level=COMPANY grants everyone in the company the given accessLevel; level=SPECIFIC_MEMBER shares with named users — add them in usersToAdd and revoke via usersToRemove (each a UserShareWrapper). accessLevel applies to COMPANY sharing. Sharing lets other members' tools and scripts use the connector; the credential itself is never exposed. Requires ADMIN access. Returns the sharing state now in effect.

Request fields

  • Name
    connectorId
    Type
    string
    Description
  • Name
    level
    Type
    "PRIVATE" | "SPECIFIC_MEMBER" | "COMPANY"
    Description
  • Name
    accessLevel
    Type
    "READ" | "WRITE" | "PUBLISH" | "ADMIN"
    Description
  • Name
    usersToAdd
    Type
    UserShareWrapper[]
    Description
  • Name
    usersToRemove
    Type
    UserShareWrapper[]
    Description

Response fields

  • Name
    level
    Type
    "PRIVATE" | "SPECIFIC_MEMBER" | "COMPANY"
    Description
  • Name
    accessLevel
    Type
    "READ" | "WRITE" | "PUBLISH" | "ADMIN"
    Description
  • Name
    usersWithAccess
    Type
    UserShareWrapper[]
    Description

autessa.connectors.outlook.updateMUTATE

autessa.connectors.outlook.update({ connectorId, connectorName, isActive })

Rename an Outlook connector or toggle whether it is active.

Rename an Outlook connector or toggle whether it is active. Applies a sparse patch to the connector for connectorId — send connectorName to rename it, send isActive to enable or disable it. Omit a field to leave it unchanged. Does not touch the stored credential or sharing. Requires WRITE access.

Request fields

  • Name
    connectorId
    Type
    string
    Description
  • Name
    connectorName
    Type
    string
    Description
  • Name
    isActive
    Type
    boolean
    Description

Response fields

  • Name
    message
    Type
    string
    Description
  • Name
    connector
    Type
    OutlookConnectorDto
    Description