Skip to main content

Create API Key

POST 

/auth/key

Use endpoint POST /auth/key to get an appKey for your application. You can create a new key at any time. Creating a new key renders the old key unusable. This is required and only used for /auth/token.

Request

Body

    data

    object

    required

    A key for grouping different types of API data.

    typeAPIcallType (string)

    This API call type. This call must be auth.

    Default value: auth
    Example: auth

    attributes

    object

    A key for grouping data.

    appIdappId (string)

    Supplied by Digitzs on onboarding.

Responses

Created

Schema

    links

    object

    selfstring

    URL for the current resource.

    data

    object

    typestring

    Type of the response data.

    idstring

    The same x-api-key used in the Header.

    attributes

    object

    appKeyappKey (string)

    The key used to create an appToken with /auth/token.