This documentation is for the version 2 of the PUBLITRAC API . Please note that PUBLITRAC V2 is in BETA stage and it evolves rapidly.All issues and concerns should be addressed quickly with Michel Frigon (mfrigon@publipage.com).
Sommaire
Authentication
The authentication is used to obtain a valid token that your application will use to connect to any routes of the API. The token has a self-refreshing TTL (time to live) of 15 minutes. This means that the token remains active until 15 minutes after your last call and past this point, you will need to authenticate it again.
...
URL: /v2/auth/getToken ~ GET | |
---|---|
Header | |
Authorization | Api key received within the application of Publitrac (See settings) |
Accept | application/json |
Content | |
No content for this one |
...
URL: /v2/lead/delayedSync ~ POST | |||
---|---|---|---|
Header | |||
Token | Token of authorization | ||
Accept | application/json | ||
Content | |||
| leadInfo represents the standard PUBLITRAC information that is required. The email is mandatory as we are using this as an identifier. LeadCustomFields is an associative array (fieldName => value) of the customField you want to edit/update/add in your lead. |
...