This documentation is for the version 2 of the API of Publitrac. Please note that Publitrac V2 is in BETA and will rapidely evolve.
...
URL: /auth/getToken |
---|
Header |
Authorization | Api key received within the application of Publitrac (See settings) |
Accept | application/json |
Content |
No content for this one |
...
The goal of this API endpoint is to add information to a lead or create a new lead within the system of Publitrac. This version of the sync is a delayed one for performance purposes. The responses is always accepted, as the lead itself is processed within our system a little later. This allows the ends use a higher volumes of call towards our API's when heavier loads happens.
Request
URL: /lead/delayedSync |
---|
Header |
Token | Token of authorization |
Accept | application/json |
Content |
{ "token" : "djs4fdn4dJTer489!" "ttl" : "900" } |
| Token to be used for further calls | Time to live of the token in seconds. (By default will be 900, i.e. 15 minutes) |
|
Response
Header |
No non-standard header |
Content |
{ 'status' : 'success', 'code' : 200 } |
| Message of status (See next table) | Code of response (See next table) |
|
|