Bitwarden Send API?

Hi,

We love to use Bitwarden Send to share API keys with external developers wanting to integrate our product.
Currently this means copy/pasting a bunch of values and sending out a link over mail.

Is there a public API we could use that would allow to populate and configure a BW Send?

I tried looking around, possibly I looked in the wrong places.

Could you script it with the Bitwarden CLI?

https://bitwarden.com/help/article/send-cli/

3 Likes

Thanks! That could probably serve for our purpose.
Ideally though, Iā€™d rather not have to run command line scripts from inside a PHP or Python application.

When looking around, I bumped on this:

I couldnā€™t help noticing these kind of calls when looking at a BW Send transmission:
https://vault.bitwarden.com/api/sends/access/{{SomeKey}}

ā€¦ does this mean that there is a Send API, but that itā€™s just not publicly available (or documented)?

ā€¦ does this mean that it might come available? It would be worth knowing if our developers evaluate integrating BW Send in our application for API key generation/maintenance.

It does mean that thereā€™s a Send API, but that is internal to Bitwarden and under no guarantees to remain static. We can and do change those API without notice.

With that out of the way, practically speaking, we change those APIs infrequently. If youā€™re creating texts Sends, you could have used that API from inception without it changing.

Again, no promises for the future. In fact, Iā€™m planning on doing some BEEEP work on this API this Friday.

1 Like

Would the RESTful API be helpful in this context?

Thanks for weighing in. It looks like the API got extended with send instructions. So yes, this is very promising :slight_smile:

1 Like