> For the complete documentation index, see [llms.txt](https://docs.pletor.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pletor.ai/automate/api-integrations.md).

# API integrations

Embed Pletor directly into your platform or access Pletor programmatically by generating an API key from your account.

Want to embed Pletor's flows directly into your product? Our API lets you integrate your flows seamlessly into your platform or workflow.

Our API enables:

* **Direct flow execution** from your platform
* **Custom workflow triggers** based on your application events
* **Embedded asset generation** within your user interface

### Availability

API keys are available on **paid plans only**. If you're on the free plan, upgrade to unlock API access.

### Generate your API key

1. Go to **Settings → API Keys** ([direct link](https://app.pletor.ai/?settings=api))
2. Click **Generate API Key**
3. Copy and store your key securely — for security reasons, you won't be able to view it again after closing the dialog

### Quickstart

Test your key with a quick request:

```bash
curl -X GET "https://api.pletor.ai/api/public/v1/flows/" \
  -H "X-Api-Key: YOUR_API_KEY"
```

### Flow skill <a href="#agent-skills" id="agent-skills"></a>

Skills are reusable building blocks for common Pletor workflows. They follow our recommended specification and can be used with compatible coding assistants. Get the skill here:

{% file src="/files/KHzjnEPBv42clW0Q0N0J" %}

### Security best practices

* Never commit your API key to version control
* Don't expose your key in client-side code
* Use environment variables in your applications
* Rotate your key if you suspect it's been compromised

### Next steps

Full API reference [available here](https://docs.pletor.ai/documentation/api-reference).
