Registering a Moneybird OAuth 2.0 application
This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.
Distilled from Moneybird’s own documentation: Authentication and Introduction, and the RFC 8414 metadata at https://moneybird.com/.well-known/oauth-authorization-server. Retrieved 2026-07-03.
- Log in to your Moneybird account and open the application registration page at
https://moneybird.com/user/applications/new. Registration is a one-time step per developer. - Choose to register an external OAuth application (not a personal API token).
- Set the redirect URI to the callback URL shown on the connect form. The
client_idandredirect_uriyou send in the authorization request must exactly match the values registered here. For manual/desktop testing Moneybird also accepts the out-of-band URIurn:ietf:wg:oauth:2.0:oob, which displays the code in the browser instead of redirecting. - Save the application and record the Client ID and Client Secret.
- Decide which scopes your integration needs from
sales_invoices,documents,estimates,bank,time_entries,settings. Scopes are passed as the space-separatedscopeparameter on the authorization request (URL-encoded as%20, e.g.scope=estimates%20bank). If you omitscopeentirely, Moneybird appliessales_invoicesby default. Note: contacts are reachable with any one ofsales_invoices,documents,estimates,bankorsettings— but not withtime_entriesalone. - Send the user to the authorization endpoint
https://moneybird.com/oauth/authorizewithresponse_type=code, yourclient_id,redirect_uriandscope. The metadata advertises PKCE withcode_challenge_methods_supported: [S256]; you may addcode_challenge/code_challenge_method=S256(PKCE is optional — the prose guide does not require it). - Exchange the returned authorization
codeat the token endpointhttps://moneybird.com/oauth/tokenviaPOSTwithgrant_type=authorization_code,client_id,client_secret,codeandredirect_uriin the form body. The metadata also permits HTTP Basic (client_secret_basic) for the client credentials. - Persist both the
access_tokenand therefresh_tokenfrom the response (which also carriestoken_type=bearer, the grantedscope, andcreated_at). Per the docs the access token does not currently expire (“As of now, this token does not expire, but we might change this in the future”), so there is noexpires_intoday; be ready to refresh (grant_type=refresh_tokenat the same token endpoint) if that changes.
Operational notes:
- Every API request goes to
https://moneybird.com/api/v2/:administration_id/:resource_path.:format, with the access token inAuthorization: Bearer <token>. FetchGET https://moneybird.com/api/v2/administrations.jsonfirst to discover theadministration_idvalues the token can reach — this connection stores the chosen one as its Administration ID. - Tokens can be revoked at
https://moneybird.com/oauth/revoke(revocation_endpointin the metadata). - Requests are throttled per IP at 150 / 5 minutes (50 / 5 minutes for
/reports/); a429response carriesRetry-After,RateLimit-Remaining,RateLimit-LimitandRateLimit-Reset. - Use a free sandbox administration to test without a subscription.
Connect it to Publicus
Section titled “Connect it to Publicus”Open Connections under Credentials, choose Moneybird, and pick Moneybird OAuth 2.0. Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.
See also: Moneybird in the catalog.
This guide is maintained by Publicus and published under CC BY 4.0.