---
title: "SsoAccessTokenList"
method: POST
path: "/sso/access-token"
tags: ["SsoAccessTokenList"]
---

# SsoAccessTokenList

`POST /sso/access-token`

## Query parameters

- `fields` string[]

## Headers

- `Api-Version` 2, required
- `Api-Application` string, required
- `Api-Branding` string

## Request body

- object
  - `expiresIn` integer, required
  - `trustedDeviceName` string, nullable
  - `scope` union
    - object
      - `type` 'unrestricted', required
    - object
      - `type` 'allow', required
      - `rels` object[], required
        - `rel` string
        - `get` boolean, nullable
        - `post` boolean, nullable
        - `patch` boolean, nullable
        - `delete` boolean, nullable
        - `put` boolean, nullable
    - object
      - `type` 'deny', required
      - `rels` object[], required
        - `rel` string
        - `get` boolean, nullable
        - `post` boolean, nullable
        - `patch` boolean, nullable
        - `delete` boolean, nullable
        - `put` boolean, nullable
  - `ssoAuthentication` object, required
    - `code` string
    - `state` string

## Response `201`

Success response

- object
  - `status` string, required
  - `type` string, required
  - `data` object, required
    - `publicId` string
    - `expiresOn` string, date-time
    - `secretId` string
    - `user` object
      - `publicId` string
      - `type` 'person' | 'service_account'
      - `name` string
      - `emailAddress` string, nullable
      - `support` boolean
      - `custom` object
      - `hasPassword` boolean
      - `externallyManaged` boolean
      - `language` string
      - `localisation` string, nullable
      - `timeZone` string, nullable
      - `registeredOn` string, date-time
      - `lastSeenOn` string, date-time
      - `registeredBy` object, nullable
        - `publicId` string
        - `name` string
      - `emailAddressChanges` object[]
        - `publicId` string
        - `oldEmailAddress` string
        - `newEmailAddress` string
        - `expiresOn` string, date-time
      - `invites` object[]
        - `publicId` string
        - `emailAddress` string
        - `expiresOn` string, date-time
        - `memberships` object[]
          - `publicId` string
          - `user` object, nullable
            - `publicId` string
          - `invite` object, nullable
            - `publicId` string
          - `group` object
            - `publicId` string
          - `role` object, nullable
            - `publicId` string
          - `expiresOn` string, date-time, nullable
      - `unreadMessagesCount` integer
      - `otpAuth` object
        - `required` boolean
        - `deviceName` string, nullable
        - `registeredOn` string, date-time, nullable
        - `tokenExpiresOn` string, date-time, nullable
        - `type` 'app' | 'sms', nullable
      - `apiApplications` object[]
        - `publicId` string
        - `name` string
        - `custom` object
      - `phoneNumber` string, nullable
      - `acceptedTermsOfUsePolicies` object[]
        - `publicId` string
        - `policy` object
          - `publicId` string
          - `company` object, nullable
            - `publicId` string
          - `latest` boolean, nullable
          - `version` string, nullable
          - `publishedOn` string, date-time, nullable
          - `downloadUrl` string, nullable
          - `type` 'termsofuse' | 'privacystatement'
          - `languages` object[]
            - `publicId` string
            - `languageCode` string
            - `body` string
            - `updateSummary` string, nullable
            - `policy` object
              - …
        - `company` object
          - `publicId` string
        - `acceptedOn` string, date-time
    - `ssoIdentityProvider` object, nullable
      - `publicId` string
      - `companies` object[]
        - `publicId` string
      - `name` string
      - `logo` string, nullable

## Other responses

- `4XX` — 4XX error response

---

[API](https://skmtc.net/ixon/apis/ixon-api.md) · [All operations](https://skmtc.net/ixon/apis/ixon-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ixon/ixon-api/revisions/7875dc33d41f/schema)
