Skip to main content
Solved

Limitations of Client API

  • April 10, 2023
  • 1 reply
  • 138 views

Forum|alt.badge.img+1
  • Contributor I

When compared to their server-side api counterparts, do the client api endpoints have limitations or restrictions in what you can do? If I wanted to create an event or update a profile, could I do everything I wanted to equally with the client and the server APIs? 

Best answer by Brian Turcotte

Hi @Qix!

 

The short answer is that they both perform the same functions. The only difference is that the former can be generated on the frontend without a private API key, while the latter requires a private API key and can only be created on the backend.

 

If you compare the docs for client and server on create event, you can see that they require the same input:

I hope this helps to clarify, and thanks for using the Community!

- Brian

View original
Did this topic or the replies in the thread help you find an answer to your question?

1 reply

Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • April 11, 2023

Hi @Qix!

 

The short answer is that they both perform the same functions. The only difference is that the former can be generated on the frontend without a private API key, while the latter requires a private API key and can only be created on the backend.

 

If you compare the docs for client and server on create event, you can see that they require the same input:

I hope this helps to clarify, and thanks for using the Community!

- Brian