List all API credentials

How to fetch a collection of API credentials via API

To fetch a collection of API credentials, send a GET request to the /api/api_credentials endpoint.

Request

GET https://provisioning.commercelayer.io/api/api_credentials

Example

The following request fetches a collection of API credentials:

curl -g -X GET \
  'https://provisioning.commercelayer.io/api/api_credentials/' \
  -H 'Accept: application/vnd.api+json' \
  -H 'Authorization: Bearer {{your_access_token}}'

Remember that when you fetch a list of resources you get paginated result.

Sortable fields

The list of API credentials can be sorted by the following fields:

  • mode

  • id

  • created_at

  • updated_at

  • reference

  • reference_origin

Filterable fields

The list of API credentials can be filtered by the following fields:

Attributes

  • name

  • kind

  • confidential

  • redirect_uri

  • client_id

  • scopes

  • expires_in

  • mode

  • id

  • created_at

  • updated_at

  • reference

  • reference_origin

  • metadata

Relationships

  • organization

  • role

Last updated