Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time

REST API: GET logfiles (dates)

Copernica keeps logfiles about several things such as clicks, opens, errors, accepted messages, etc. See
the article on retrieving logfile names for more information on available logfiles. These logfiles can be downloaded with the API. By sending an HTTP GET request to the following URL you will get a list of all dates we have kept logfiles of.

Returned fields

This method returns a JSON array of date strings. To download a logfile please see the links under "More information".

PHP Example

The following PHP script demonstrates how to use the API method:

// dependencies
// change this into your access token
$api = new CopernicaRestAPI("your-access-token", 3);

// do the call, and print result

The example above requires the CopernicaRestApi class.

More information