# Addons & Power Features > **Source**: [SendX](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q) > >
Explore SendX add-ons like Exclude bot clicks and opens, Inbox warmup, List cleaning and threat checks, Transactional emails, Dynamic sender, etc.
## Browse Collection 1. [Enabling Custom Reply Add-On in Sendex for Newsletters](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/FIV3uLspxKkbhnruVOyFIA.md) (Video) 2. [How to Enable and Use the MX Based Segments Add-On for Email Provider Segmentation](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/J5PZ25B9BxB4EM9Cz9xDYg.md) (Video) 3. [How to Enable the 'Remove Bot Clicks and Opens' Add-On in Campaign Insights](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/qD8QGSHC9B8VF3nJacIlEA.md) (Video) 4. [Advanced Deliverability Analytics](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/UZZxZEmD4ftAaVdh8IIbwg.md) (Video) 5. [Purchase Threat Checks/ List Hygiene](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/pAuPyP4sV7CImAqL2ALLKw.md) (Video) 6. [Analyzing Email Engagement with AI Deliverability Advisor addon ](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/tvmsJZhUmJo01ViRiGL4dQ.md) (Video) 7. [Elevated Support](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/N3bCxpRN6UWVID7aMDS8Ag.md) (Video) 8. [How to Enable and Customize Shortcuts in SendX](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/a3GpTgtIIuG8hHwSJ7oV5A.md) (Video) 9. [Transactional Email Add On](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/5U8p2Ea0iNGocLh81ybm9w.md) (Video) 10. [Creating and Publishing a Blog Post with Category and SEO Settings](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/DMwXwByreyXMpEJpeaqnhA.md) (Video) 11. [Adding a Custom Domain to Your Profile Settings](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/f6KjnCSgJhyDPeMh772byw.md) (Video) 12. [Accessing API Documentation to Create a New Contact](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/np7OCXOLB3bH5ELGSqvymQ.md) (Video) 13. [Creating and Managing Email Campaigns With Dynamic Sender and Contact List](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/RMx2bNN5fell7e04LByOMA.md) (Video) 14. [How To Use Revenue API To Add Revenue For A Contact](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA.md) (Video) 15. [How to Send Custom Events Using SendX API](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/d4Vc9OToJK8mA2jq1jHPTA.md) (Video) 16. [Inbox Warmup Addon](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/VFkBHhfWEOkfFSVfLIBD2A.md) (Video) 17. [Enabling the "List Cleaning" Addon in Settings.](https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/vg72nlGoLObl1XlJm1xDTw.md) (Video) --- # VIDEO: How To Use Revenue API To Add Revenue For A Contact ## METADATA - id: Ie5pMj3HxToRTzqDrzhBDA - type: video - source: SendX - content_url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA - collection_url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q ## TRANSCRIPT - time: 00:00 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=0 text: Hi. In this tutorial, we will see how can we use Revenue API to add revenue for a contact in SendX. So for the - time: 00:06 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=6 text: purpose of this tutorial, we are going to use SendX API docs. - time: 00:09 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=9 text: You can simply access the docs by going to docs.sendx.io. The first thing that you need to do is click - time: 00:16 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=16 text: on the authentication tab in the left sidebar and paste in your team's API key here. - time: 00:22 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=22 text: Then click on update. - time: 00:23 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=23 text: Once that's done, simply scroll down in the left sidebar and under the event section, click on "Record a revenue event for - time: 00:29 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=29 text: specific contact, which is the revenue API. - time: 00:34 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=34 text: So the revenue API allows you to record a revenue event for a specific contact. - time: 00:39 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=39 text: Let's look at the schema for this API. - time: 00:41 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=41 text: So it expects an identifier, which could be the email address, or it could be the encrypted ID for the contact. - time: 00:47 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=47 text: Keep in mind, if the contact doesn't exist on SendX, then it has to be the email address. Then it expects an - time: 00:54 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=54 text: amount, which is the revenue amount that will be associated with the contact. - time: 00:58 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=58 text: Then the source. - time: 00:59 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=59 text: This is simply the source of the revenue. - time: 01:01 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=61 text: It could be website, mobile app, the partner referral, or anything else. - time: 01:06 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=66 text: Then a time, which is a Unix timestamp indicating when the revenue event actually occurred. Let's now go to the - time: 01:12 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=72 text: example. - time: 01:13 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=73 text: Here we can pass in these values and actually try out this API. - time: 01:17 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=77 text: So let's pass in the email address of a new contact. - time: 01:24 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=84 text: This email address does not yet exist as a contact in my SendX account. - time: 01:30 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=90 text: So the contact is going to be created automatically for me, and also the revenue will be attached. - time: 01:35 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=95 text: So the amount is 123.23, the source is app, and we have a timestamp. Now let's click - time: 01:41 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=101 text: on try to send the request. - time: 01:44 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=104 text: And if the API request is successful, you will receive a status code of two hundred and one and a message for created. - time: 01:50 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=110 text: Now let's go back to the SendX. - time: 01:53 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=113 text: And back on SendX, let's go to contacts by clicking on audience tab and then on contacts. - time: 01:59 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=119 text: As you can see, the contact is created, and you can see the total revenue for this contact under the lifetime revenue - time: 02:05 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=125 text: column. Further, we can click on info and go to the timeline of this contact. - time: 02:10 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=130 text: And we can see that this contact was created by the revenue API, and also the revenue has been added by the revenue - time: 02:16 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=136 text: API. - time: 02:19 url: https://video.sendx.io/Z19kSMNWNSuqi2re2o5w9Q/Ie5pMj3HxToRTzqDrzhBDA?start_time=139 text: And we can see the amount and the time at which the revenue was added. That's it. Thanks for watching. ## SUMMARY # How to Use Revenue API to Add Revenue for a Contact in SendX In this tutorial, we will explore how to use the Revenue API to add revenue for a contact in SendX. We will utilize the SendX API Docs for this purpose. You can access the documentation by visiting [docs.sendx.io](https://docs.sendx.io). ## Step-by-Step Guide 1. **Authentication:** - Navigate to the Authentication tab in the left sidebar of the SendX API Docs. - Paste your team's API key in the provided field. - Click on "Update" to save your API key. 2. **Access the Revenue API:** - Scroll down the left sidebar and find the "Events" section. - Click on "Record a Revenue Event for a Specific Contact" to access the Revenue API. 3. **Understand the API Schema:** - The API requires an identifier, which can be an email address or an encrypted ID for the contact. If the contact does not exist in SendX, use the email address. - Provide the revenue amount to be associated with the contact. - Specify the source of the revenue, such as a website, mobile app, partner referral, etc. - Include a Unix timestamp indicating when the revenue event occurred. 4. **Try the API Example:** - Enter the email address of a new contact. If the contact does not exist, it will be created automatically. - Input the revenue amount, e.g., 123.23. - Specify the source, e.g., "app". - Provide the timestamp for the revenue event. - Click on "Try" to send the request. 5. **Verify the API Response:** - If the API request is successful, you will receive a status code of 201 and a confirmation message. 6. **Check the Contact in SendX:** - Go back to SendX and click on the "Audience" tab, then select "Contacts". - Verify that the contact has been created and the total revenue is displayed under the "Lifetime Revenue" column. - Click on "Info" to view the contact's timeline and confirm that the revenue was added by the Revenue API, along with the amount and time. That's it! You have successfully used the Revenue API to add revenue for a contact in SendX. Thanks for watching.