Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Auth/API key for REST calls

Greg Stewart   ( User )

Commented 1 year ago

Hey all, Looking to make an integration for a webstore I am trying to create from scratch. First off, rather baffled that there isn't any real official REST API documentation. Seems like quite an oversight? Willing to be proven wrong.

Anyways, I found Mr Muller's postman collection ( https://api.postman.com/collections/24499681-5a89def6-a63a-4350-a5cd-4cdf55fe318d?access_key=PMAT-01GPG4JNDAKSFQ3DMX443HX2EV ), and found it quite helpful but it seems to lack the note of where to put an API key?

I'm using https://app.akaunting.com as my url, and the number after that in the Browser as my company id. Any request I make seems to come back with the Akaunting login page. I got what I think is my API key from the Apps" section from my browser, but unsure where to put it (header? param? what should the key value be in either case?)

Any helpful point greatly appreciated!

Denis Dulici   ( Admin )

Commented 1 year ago

Hello,

Here you can find the Postman collections and more information on how the authentication works:

https://akaunting.com/hc/docs/developers/restful-api/

Best regards

Greg Stewart   ( User )

Commented 1 year ago

Thanks for giving me the point!

Looks like the only auth method it allows is username/password... is this correct?

Please login or register to leave a response.

Showing 1 to 3 of 3 discussions