create_credential
Creates a credential on an n8n instance. Provide name, type, and data fields; use get_credential_schema to see required fields.
Instructions
Create a credential on the instance. Use get_credential_schema first to see which fields the credential type requires. The n8n public API never returns credential secrets — only metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the credential | |
| type | Yes | Credential type name, e.g. 'slackApi', 'httpHeaderAuth' | |
| data | Yes | Credential fields as required by the type's schema |