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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.