Source accounts
Generate one-time password
Changed onThe Generate OTP endpoint generates a one-time password (OTP) for a bank feed connection. The OTP is returned along with an expiry time, after which it will no longer be valid.
For Sage only
Only call this endpoint for connections to Sage. Calling it for other integrations will return an error.
post/companies/{companyId}/connections/{connectionId}/bankFeeds/otp
Request
- Base URLhttps://api.codat.io
- AuthAPI key in header Authorization
Response
Success
Example response
{
"otp": "GT40U4",
"expiry": "2026-04-08T10:30:00Z"
}Changes
- info
endpoint added
- info