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