Skip to main content

Overview

The Yapily API uses HTTP Basic Authentication. You authenticate using:
  • Username: Application ID
  • Password: Application Secret
For comprehensive setup instructions, see the API Authentication Guide.
Never commit credentials to version control. Store them securely using environment variables.

Getting Credentials

  1. Log in to Yapily Console
  2. Navigate to Applications
  3. Create or select an application
  4. Download your Application ID and Secret
The Application Secret can only be retrieved once. Store it securely.

Making Authenticated Requests

curl -X GET 'https://api.yapily.com/institutions' \
  -u 'YOUR_APPLICATION_ID:YOUR_APPLICATION_SECRET'
After obtaining user consent, pass the consent token in the consent header:
curl -X GET 'https://api.yapily.com/accounts' \
  -u 'YOUR_APPLICATION_ID:YOUR_APPLICATION_SECRET' \
  -H 'consent: USER_CONSENT_TOKEN'

Security Best Practices

  • Store credentials in environment variables or secrets managers
  • Use HTTPS only (enforced by API)
  • Rotate credentials regularly
  • Revoke compromised credentials immediately

Next Steps