# Create an export rule
Source: https://docs.file.ai/api-reference/exports/create-an-export-rule

> Creates an active export rule: files in the given folders that match the contact and schema are exported to the integration.

post /prod/v1/export-rules

Creates an active export rule: files in the given folders that match the contact and schema are exported to the integration.

The rule shows up in the fileAI app too.

The integration must be connected (GET /v1/export-connections).
`options` takes the same settings the app saves for that integration and
must match the integration's `optionsSchema` (GET /v1/export-integrations);
they are also checked against the integration before the rule is saved.
