What are the API keys? and what are they used for?

Ben Griffiths

New Member
What is the API keys page in the customer side?
What are they used for?
Would it be possible for me to send mail from another website of my using a PHP script but the emails are sent via MailWizz?
 

twisted1919

Administrator
Staff member
@Ben Griffiths - Mailwizz has a very powerful API system, those keys are used to access that system. You need a client to do so, to access the system, and we have a PHP client here: https://github.com/twisted1919/mailwizz-php-sdk (see examples folder).
Basically with the php client/sdk you use the api keys to connect to the api system and do actions like: subscribe to lists / unsubscribe from lists, create lists. create campaigns and so on.
And yes, you can use the api to connect from any other sources to your mailwizz app, that's the whole purpose.
 

Ben Griffiths

New Member
@Ben Griffiths - Mailwizz has a very powerful API system, those keys are used to access that system. You need a client to do so, to access the system, and we have a PHP client here: https://github.com/twisted1919/mailwizz-php-sdk (see examples folder).
Basically with the php client/sdk you use the api keys to connect to the api system and do actions like: subscribe to lists / unsubscribe from lists, create lists. create campaigns and so on.
And yes, you can use the api to connect from any other sources to your mailwizz app, that's the whole purpose.
Thank you for your reply, is there any documentation on how to use the PHP client? Or would I need to try wing it by looking at the examples?
:)
 

twisted1919

Administrator
Staff member
@Donna baumgartner - Okay, here's how you do it:
You login into mailgun and add your sending domain first: https://mailgun.com/app/domains/new
This is the domain that is going to be used in the FROM header of your emails, i.e: FROM: contact@domain.com
After the domain is added and verified, go to https://mailgun.com/app/domains/yourdomain.com and see your API key.
Knowing that api key, go to mailwizz and create a new server of type Mailgun Web Api where you will use that api key, your verified domain name and as a from address, an address belonging to that domain.
And that's it.
 
@Donna baumgartner - Okay, here's how you do it:
You login into mailgun and add your sending domain first: https://mailgun.com/app/domains/new
This is the domain that is going to be used in the FROM header of your emails, i.e: FROM: contact@domain.com
After the domain is added and verified, go to https://mailgun.com/app/domains/yourdomain.com and see your API key.
Knowing that api key, go to mailwizz and create a new server of type Mailgun Web Api where you will use that api key, your verified domain name and as a from address, an address belonging to that domain.
And that's it.
ok,i will try this,thank you!
 
@Donna baumgartner - Okay, here's how you do it:
You login into mailgun and add your sending domain first: https://mailgun.com/app/domains/new
This is the domain that is going to be used in the FROM header of your emails, i.e: FROM: contact@domain.com
After the domain is added and verified, go to https://mailgun.com/app/domains/yourdomain.com and see your API key.
Knowing that api key, go to mailwizz and create a new server of type Mailgun Web Api where you will use that api key, your verified domain name and as a from address, an address belonging to that domain.
And that's it.
How to setup my servers
 
Top