Finding my API Key

How/where do I find my API key?

1 Like

What API key?

If you are using a web service, you should be in touch with the provider for your API key.

Ok so one of two situations exist.

Either I piggyback off of the API Key provided by WIX in their example for using the SendGrid Mail web service…or I subscribe to SendGrid and use my own API key, which I have done. I created an API Key from their website to communicate with SendGrid. (SendGrid.com)

I was confused when WIX said to substitute my API key for theirs. Did that mean, do that if i chose to use a different mail Web Service other than SendGrid or did it mean, subscribe and acquire my own API key and substitute it?

The SendGrid API used in the example is a Wix test key and is used solely for demonstration purposes. If you want to implement this functionality for your own web app, you need to open an account with SendGrid, create an API key in your own account, and use that key in place of Wix’s key.

Yup that’s what I thought and what I did. Not sure everyone knows that’s what you have to do in order to use Triggered Emails. I had to dig. And that you get 40,000 emails the 1st month and 100 emails a day on the FREE plan. That sending more will cost $. Unless there is a way to use Triggered Emails another way I think I am on the right track now. Yeah it makes sense now since an API Key is meant as an additional private authentication and would not make sense to make it public to the world.

Hi Lat,

I suggest contacting the Wix support team regarding Triggered Emails and Sendgrid. They’ll be able to better assess your questions and concerns and provide better assistance.

Yisrael

Well after hours or code trudging and then finally remembering i can only send a triggered email to the logged in user, i got it triggered emails to work. I was getting success messages in preview mode for the longest but i think it traps non-logged in users before it allows it to be sent out when published.

Do I need an API key when trying to access my Wix database from an external mobile app? If I do, where is my API key and how do I get it and use it?