curl --request POST \
--url https://api.skyvern.com/v1/credentials \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"credential_type": "password",
"credential": {
"password": "securepassword123",
"username": "user@example.com"
},
"vault_type": "custom"
}
'{
"credential_id": "<string>",
"credential": {
"username": "<string>",
"totp_type": "none",
"totp_identifier": "user@example.com"
},
"credential_type": "password",
"name": "<string>",
"vault_type": "bitwarden",
"browser_profile_id": "<string>",
"tested_url": "<string>",
"user_context": "<string>",
"save_browser_session_intent": true
}Creates a new credential for the current organization
curl --request POST \
--url https://api.skyvern.com/v1/credentials \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"credential_type": "password",
"credential": {
"password": "securepassword123",
"username": "user@example.com"
},
"vault_type": "custom"
}
'{
"credential_id": "<string>",
"credential": {
"username": "<string>",
"totp_type": "none",
"totp_identifier": "user@example.com"
},
"credential_type": "password",
"name": "<string>",
"vault_type": "bitwarden",
"browser_profile_id": "<string>",
"tested_url": "<string>",
"user_context": "<string>",
"save_browser_session_intent": true
}Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
The credential data to create
Name of the credential
"Amazon Login"
Type of credential to create
password, credit_card, secret Password credential model that requires non-empty values.
Show child attributes
{
"password": "securepassword123",
"username": "user@example.com"
}Which vault to store this credential in. If omitted, uses the instance default. Use this to mix Skyvern-hosted and custom credentials within the same organization.
bitwarden, azure_vault, custom "custom"
Successful Response
Response model for credential operations.
Unique identifier for the credential
"cred_1234567890"
Response model for password credentials — non-sensitive fields only.
SECURITY: Must NEVER include password or TOTP secret.
Show child attributes
Type of the credential
password, credit_card, secret Name of the credential
"Amazon Login"
Which vault stores this credential (e.g., 'bitwarden', 'azure_vault', 'custom')
bitwarden, azure_vault, custom Browser profile ID linked to this credential
Login page URL used during the credential test
User-provided context describing the login sequence (e.g., 'click SSO button first')
Whether the user intends to save a browser session, regardless of test outcome