The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Export Contacts Activity API

New Member

Export Contacts Activity API


I have Querry about Change api then i need change code.

Previouslly I use "{customer}/activities"

but now "<FileName>{customer}/activities/{activity-id}/{filename}</FileName>" this url.

I need how to get "activity-id and file name"








Export Activity

Hi Peter. I would need a little clarification exactly what you are looking for in order to provide some more details. An individual activity entry may be retrieved by issuing an HTTP GET to the entry's URI. The URI for an individual activity may be obtained from the Location header after creating a new entry using the activity collection, or from the link element with rel="edit"  attribute in an existing entry. For some more details on this, I would recommend taking a look at Activities Collection.

Once you have drilled down into the individual activity for exporting your contacts, (ie:{user-name}/activities/{activity-id}), you will be presented with the <id> for that particular activity, as well a a <FileName> node, which will contain a URL for the file that you requested to be exported.


If you are using the Activities Collection to create your export, the server will return an HTTP status of 201 Created. The HTTP Location header in the response will contain the URI of the newly created activity, and the entity body returned will be the minimal entry for the activity, including server-generated values like ids and links.

After the system has finished processing the Export activity, retrieving the activity entry will return a complete entry that includes the status of the job. If the job completed successfully, it will also contain a link to the exported file.

David J

Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More