APIs & Integrations

JoeDupree
Mitglied

API to get all bounces, spam reports, and unsubscribes (including deleted contacts)

lösung

Is there an API call that can obtain the list of deleted (and still existing) contacts who have unsubscribed?  This would be similar in capability to the manual ability within the Marketing Email menu option to "Export Unsubscribes and Bounces" -- including being able to include Deleted contacts.

1 Akzeptierte Lösung
IsaacTakushi
Lösung
HubSpot Employee
HubSpot Employee

API to get all bounces, spam reports, and unsubscribes (including deleted contacts)

lösung

Welcome, @JoeDupree.

 

At this time, there is no single public endpoint which will return the same data as that export: 

  • The Get all contacts endpoint can be used to retrieve all existing contacts.
  • You can check each contact's bounce, spam report, and unsubscribe status with this endpoint.
  • There are no public APIs that return deleted contacts. Attempting to query an endpoint for a deleted contact will return a 404.

Isaac Takushi

Associate Certification Manager

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
1 Antwort
IsaacTakushi
Lösung
HubSpot Employee
HubSpot Employee

API to get all bounces, spam reports, and unsubscribes (including deleted contacts)

lösung

Welcome, @JoeDupree.

 

At this time, there is no single public endpoint which will return the same data as that export: 

  • The Get all contacts endpoint can be used to retrieve all existing contacts.
  • You can check each contact's bounce, spam report, and unsubscribe status with this endpoint.
  • There are no public APIs that return deleted contacts. Attempting to query an endpoint for a deleted contact will return a 404.

Isaac Takushi

Associate Certification Manager
0 Upvotes