How-To: Manage and use api keys

Instructions:

  1. On the top-right of any page in Pliant, click on your username (in this case “admin) and select “API Keys”

  2. On the API Keys page, click on “+ Create”. You will be prompted to give the API key a name. Click “Save” when you’re done.

  3. Copy the value of your key.

  4. Test it with Swagger or curl.

curl -X POST "http://pliant.demo.io/api/v1/trigger/admin?folder=%2FUser%2F&name=test-flow&api_key=a8ee7b45-389f-4934-aa76-48866a9bdb28&sync=true"

Everything that is under /api/v1/trigger/  can be invoked with an API key.

The key itself can be added as query parameter api_key=a8ee7b45-389f-4934-aa76-48866a9bdb28