Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Helentekle123
Frequent Visitor

Using API to pull data from Proofpoint

 

Hello,

I am trying get data from proofpoint using API key.

Has any one done before?

On doc from proofpoint it suggests below :

curl -X GET ^ "https://results_api_domain/api/reporting/v0.1.0/phishing?filter[_campaignstartdate_start]='%campaign...'" -g^ -H "Accept: application/json" ^ -H "x-apikey-token: %accesstoken%" ^ -H "Content-Type: application/json" >phishing.txt

However when I put that on the with API key generated I do not get anything back.

Your help is appricated 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Helentekle123 

 

It looks like a curl command using GET method. You can use Web connector to query data from the API. 

 

From Get data/New Source > Web, select Advanced in From Web window, then enter information in below input boxes. Please notice that in your example curl command, there are three variables %campaignstart%, %campaignend% and %accesstoken%, you should replace them with valid values.

21111201.jpg

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

2 REPLIES 2
Ramendra
Helper IV
Helper IV

HI @Helentekle123 
Is it resolved? 
I am also trying to do the same But did not get success till now.

v-jingzhang
Community Support
Community Support

Hi @Helentekle123 

 

It looks like a curl command using GET method. You can use Web connector to query data from the API. 

 

From Get data/New Source > Web, select Advanced in From Web window, then enter information in below input boxes. Please notice that in your example curl command, there are three variables %campaignstart%, %campaignend% and %accesstoken%, you should replace them with valid values.

21111201.jpg

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Kudoed Authors