Credentials
Create a credential
Create a new credential for storing login information.
post/credentials
Request body
Example request
{
"name": "my-netflix-login",
"domain": "netflix.com",
"values": {
"username": "user@example.com",
"password": "mysecretpassword"
},
"totp_secret": "JBSWY3DPEHPK3PXP",
"sso_provider": "google"
}Response
Credential created successfully
Example response
{
"id": "cred_abc123xyz",
"name": "my-netflix-login",
"domain": "netflix.com",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z",
"has_values": true,
"value_keys": [
"username",
"password"
],
"sso_provider": "google",
"totp_code": "847291",
"totp_code_expires_at": "2025-01-15T10:30:30Z"
}