This guide explains the changes you will have to keep in mind when upgrading from v3 to v4 version of Spectre API. Follow these steps:
App-secretheaders in all your requests with
Secretheaders corresponding to the key created in step 1;
public_keyto verify the authenticity of the received callbacks.
Request/response API changes are as follows:
categorizeflag was replaced by
categorization. Possible values are
personalby default. See example;
personalcategories added to
categoriesobjects. See example;
fetch_typewas replaced by
fetch_scopes. See example;
numberis now a possible value of the
naturefield in provider fields.