Attributes

Create a New Custom Attribute Key

Changed on

You may create a Custom Attribute Key using this action. It takes a JSON object containing the name and kind of the attribute key.

post/v1/attribute_keys

Request

  • Base URL
    https://api.accredible.com
  • URL
    https://api.accredible.com/v1/attribute_keys
  • Auth
    API key in header Authorization

Request body

namestring required

A name for the custom attribute key.

kindstring required

The kind of custom attribute key. Must be one of the following - [text, date, email, image]

department_idnumber required

Department the custom attribute key should belong to.

Response

OK

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security ApiKeyAuth was added to the API