Skip to content
On this page

/partner/public-keys

Retrieves an array of active public keys from the current partner for request encryption. Partner keys are managed in the Nexus application.

HTTP Request

GET https://api.q2open.io/v1/partner/public-keys

Returns

A response with a keys array that contains active partner public keys in JWK Set format.

Example Request

shell
curl "https://api.q2open.io/v1/partner/public-keys" \
  -H "Authorization: Bearer dc220490-e6ee-11e5-8a94-e7385a8d929e" \
  -G

Example Response

json
{
  "keys": [
    {
      "kty": "RSA",
      "n": "yn8Ek5WFlw0YIsXpjqC7_MCN4OfUAUVp3tje...",
      "e": "AQAB",
      "use": "enc",
      "kid": "5b4cdadf8ea75a6602ff82bb",
      "x5c": "MIIFczCCBFugAwIBAgISBB/csS+OpHRTGG..."
    },
    {
      "kty": "RSA",
      "n": "yn8Ek5WFlw0YIsXpjqC7_MCN4OfUAUVp33ds...",
      "e": "AQAB",
      "use": "enc",
      "kid": "5b4cdadf8ea75a6602ff82bc",
      "x5c": "MIIFczCCBFugAwIBAgISBB/csS+OpHRTGG..."
    }
  ]
}