Token-based authentication#

Create and use API tokens to use token-based authentication when using EclecticIQ integrations and making requests to the REST API.

Use an API token in cURL request#

  1. Create an API token

  2. Make a cURL request:

    # Example: request a complete list of content packages for the specified feed
    export TOKEN=<enter_api_token>
    
    curl -X GET \
        -v \
        -i \
        -H "Content-Type: application/json" \
        -H "Authorization:Bearer ${TOKEN}" \
        --url https://${platform_host}/feeds/downloads/200