Skip to main content

Rotate Public Key

POST 

/api/v1/key

Use this endpoint to change your public key that is stored by Splitit (you should never share a private key with Splitit). In this scenario, Splitit uses your public key to encrypt data sent to you, to verify that communication that came from you is actually from you.

  • Used to PGP-encrypt outgoing traffic from Splitit, such as reports and credentials
  • Used by Splitit to authenticate your signatures (RSA key-pair authentication)

Request

Body

required

    OwnerCodestringrequired

    Given to you by Splitit support, same as Owner in other calls

    Usagestring[]required

    Possible values: [Unknown, Reports, Authentication, MessageLevelEncryption, CredentialsDownload, ResponseSignature]

    Typestringrequired

    Possible values: [RSA, PGP]

    PublicKeystringrequired

    E.g., "sU9tOVHOcM6jPOjjWZpXZs4V0cmc01BZfChF5afrj71Dz2COn2"

    ExpirationUtcdate-timerequired

    E.g., 2024-07-06T15:46:26.409Z

    RelatedClientIdstring

Responses

Response Headers

    Schema

      UniqueIdstring