Get Organization Public Key
Returns the organization's RSA public key used for encrypting organization secrets.
🔑 Usage Guidelines
The publicKey property is delivered as a standard PEM-formatted block. Because it is wrapped inside a JSON response payload, the structural line breaks are represented as escaped \n sequences.
A. Direct Programmatic Encryption (Recommended)
If you are passing the string directly into cryptographic libraries (e.g., Node.js crypto, Web Crypto API SubtleCrypto, or Python cryptography), do not manually strip or modify the text.
When your programming language parses the incoming JSON payload (JSON.parse()), it automatically converts the text \n into real, structural memory line breaks. The library will read the standard PEM headers and body flawlessly.
B. Manual Copy-and-Paste (For Text Files)
If developers are manually copying the string from your API response (e.g., via Postman or a console log) to paste into an environment variable file, they need to ensure the \n characters after -----BEGIN PUBLIC KEY----- and before -----END PUBLIC KEY----- are treated as actual line breaks.
Headers
PLANBOK-X-API-KEYAPI key for authentication
Get Organization Public Key › Responses
Organization rsa public key retrieved
successstatus