Skip to content

API Integration #1377

Closed Answered by elrido
lcunha1998 asked this question in Q&A
Discussion options

You must be logged in to vote

Two things:

  1. You should get back a JSON with a partial URL, which you then combine with the base58-endoced key you used to encrypt the message, to get the full URL:

From: https://github.com/PrivateBin/PrivateBin/wiki/API

{"status": 0, "id": "[pasteID]", "url": "[serverAddress?pasteID]", "deletetoken": "[deleteToken]"}

More details on the URL format: https://github.com/PrivateBin/PrivateBin/wiki/Encryption-format#url-format-of-the-paste

  1. Someone had shared their PowerShell API implementation in an issue last year - Are you using theirs or is this a new implementation?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by elrido
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants