curl --request POST \
--url https://api.skyvern.com/v1/credentials \
--header 'Content-Type: application/json' \
--data '
{
"name": "My Credential",
"credential_type": "PASSWORD",
"credential": {
"username": "user@example.com",
"password": "securepassword123",
"totp": "JBSWY3DPEHPK3PXP"
}
}
'{
"credential_id": "cred_1234567890",
"credential": {
"username": "user@example.com",
"totp_type": "authenticator",
"totp_identifier": "user@example.com"
},
"credential_type": "password",
"name": "Amazon Login"
}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": "My Credential",
"credential_type": "PASSWORD",
"credential": {
"username": "user@example.com",
"password": "securepassword123",
"totp": "JBSWY3DPEHPK3PXP"
}
}
'{
"credential_id": "cred_1234567890",
"credential": {
"username": "user@example.com",
"totp_type": "authenticator",
"totp_identifier": "user@example.com"
},
"credential_type": "password",
"name": "Amazon Login"
}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"
}Successful Response
Response model for credential operations.
Unique identifier for the credential
"cred_1234567890"
Response model for password credentials, containing only the username.
Show child attributes
Type of the credential
password, credit_card, secret Name of the credential
"Amazon Login"