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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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