Skip to main content
Contributor I
April 26, 2023
Solved

is Public Key not being used anymore to send events? (using events API)

  • April 26, 2023
  • 1 reply
  • 90 views

In the docs, i see that private key is shown in the example payload. with the new events API, can’t we use public key anymore?

    This topic has been closed for replies.
    Best answer by retention

    @manojkannekanti1 As far as I know, the public keys can’t be used to access any secure data. It’s only used for tracking events in client-side (JavaScript) code.  Anything that access the other end points will require the standard authentication handshake.

    See here for more info:

     

    1 reply

    retention
    Partner - Platinum
    retentionAnswer
    2025 Champion
    April 26, 2023

    @manojkannekanti1 As far as I know, the public keys can’t be used to access any secure data. It’s only used for tracking events in client-side (JavaScript) code.  Anything that access the other end points will require the standard authentication handshake.

    See here for more info:

     

    Joseph Hsieh // retentioncommerce.com // X: @retention