POST
/
org
/
sdkClient
curl --request POST \
  --url https://svc.sandbox.anon.com/org/sdkClient \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "kind": "<string>",
  "description": "<string>",
  "oauthDisabled": true
}'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "organizationId": "<string>",
  "auth": {
    "type": "userPool",
    "userPoolId": "<string>",
    "oauthConfig": {
      "logoUrl": "<string>",
      "chromeExtensionId": "<string>",
      "redirectUrls": [
        "<string>"
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
description
string
required
kind

Whether this is a backend API Key or a frontend SDK client ID

Allowed value: "service"
oauthDisabled
boolean | null

Response

200 - application/json
SdkClient created successfully.
id
string
required
name
string
required
description
string
required
organizationId
string
required
auth
object
required

Authentication configuration for an SDK client

Was this page helpful?