APIs & Integrations

JoeDupree
Miembro

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

resolver

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 Soluciones aceptada
IsaacTakushi
Solución
HubSpot Employee
HubSpot Employee

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

resolver

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

Ver la solución en mensaje original publicado

0 Me gusta
1 Respuesta 1
IsaacTakushi
Solución
HubSpot Employee
HubSpot Employee

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

resolver

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 Me gusta