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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.