Skip to main content

User API keys GET

GET 

https://sandbox.absmartly.com/v1/users/:userId/api_keys

Required Permissions: User Get or User Admin

Request

Path Parameters

    userId integerrequired

    The id of the User that you wish to get the API Keys of.

Responses

A JSON Object containing an array of all API keys that are linked to a user.

Schema
    items integer
    page integer

    Possible values: >= 1

    total integer
    user_api_keys object[]
  • Array [
  • id integer
    name string
    description string
    key uuid
    permissions string

    Possible values: Value must match regular expression create,edit,delete,read

    used_at date-timenullable
    created_at date-time
    created_by_user_id integer
    updated_at date-timenullable
    updated_by_user_id integernullable
    created_by object
    archived boolean
    avatar objectnullable
    avatar_file_upload_url string
    created_at date-time
    created_by_user_id integer

    Possible values: >= 1

    department string
    email email
  • ]

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: A User API Key for API authorization. **Must be in the format "Api-Key your_user_api_key"**scheme: ^Api-Key\s\S+
curl -L -X GET 'https://sandbox.absmartly.com/v1/users/:userId/api_keys' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
Request Collapse all
Base URL
https://sandbox.absmartly.com/v1
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!