Headers
Your API key for authentication
Request Body
The name of the service this credential is for (e.g., “Gmail”, “Slack”)
The username or email associated with this credential
The password for this credential. Will be encrypted with Fernet encryption.
TOTP secret for two-factor authentication. Automatically creates a TOTP key when provided.
UUID of the Gmail OAuth account to link to this credential
UUID of the phone number to use for SMS-based 2FA
Response Fields
The unique identifier of the created credential
The name of the service this credential is for
The username or email associated with this credential
Whether this credential has a password set
Whether this credential has TOTP 2FA configured
Whether this credential has Gmail OAuth linked
Whether this credential has a phone number for SMS 2FA
ISO 8601 timestamp of when the credential was created
ISO 8601 timestamp of when the credential was last updated
Features
- Encryption: Passwords are encrypted using Fernet encryption for security
- TOTP Support: Automatically creates TOTP keys when totp_secret is provided
- Multiple Auth Methods: Supports username/password, OAuth, TOTP, and phone number authentication
- Workspace Scoped: Credentials are scoped to your workspace and membership is validated
Usage Notes
- API Key: Get your API key from the Dari dashboard in workspace settings
- Security: Passwords are encrypted and never stored in plain text
- Flexibility: You can provide any combination of authentication methods based on your needs
- Validation: The system validates that you’re a member of the workspace before creating credentials