Skip to main content
POST
/
v1
/
api-keys
ListApiAccessKeys
curl --request POST \
  --url https://app.textql.com/v1/api-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Connect-Protocol-Version: <connect-protocol-version>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "apiAccessKeys": [
    {
      "id": "<string>",
      "orgId": "<string>",
      "memberId": "<string>",
      "hosts": [
        "<string>"
      ],
      "headers": {},
      "queryParams": {},
      "description": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "expiresAt": "2023-11-07T05:31:56Z",
      "provider": "<string>",
      "authType": "<string>",
      "memberOauthAuthenticated": true,
      "memberOauthDisplayName": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Connect-Protocol-Version
enum<number>
required

Define the version of the Connect protocol

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json

The body is of type ListApiAccessKeysRequest · object.

Response

Success

apiAccessKeys
ApiAccessKey · object[]