How to Add New Subscriber in Trumpia List Via API in PHP

Trumpia is a leading Messaging and Marketing company. Its a automated communications platform which provide complete texting solution. Using this you can send bulk messages to users with automated process.

Trumpia’s API provide features to integrate your system to his services. In this post we will explain you, how to getting start with it and add new subscriber in your Subscriber List via api.

To communicate with the Trumpia api, you need an API KEY. Get your api key through send a request to trumpia support. After accepting their policies and reviewing, your request will approve and issue a unique Api Key.

How to Add New Subscriber in Trumpia list via API:

You need to include “request_rest.php” file to execute the api calls. Here is the file code:

After save this file, create “add_subscriber.php” file to add new subscriber in list. You have to place your Trumpia Api Key in this file.

You May Also Like:

How to Add New Product in Bigcommerce via API V2
How to Insert New Lead Data in Zoho CRM Through API
How to Get Opportunity Data from Salesforce Through API in PHP
How to Install Magento Security Patch via Putty

Here is the code:

In this file use your created list name in request data with subscription parameters. Must change username in the request url with your own to process the api request. Using above code you can easily integrate trumpia api and add new subscriber in it. Thanks

Recommended Posts For You

About Harish

I am professional web developer and blogger. Use this blog to share own api and other web development experience with you. I do accept paid work. Write to me at - [email protected]

View all posts by Harish

Leave a Comment

Your email address will not be published. Required fields are marked *