Server to server injection

Once the authentication is done, by retrieving an authentication token, the server to server injection can start. Each queries should pass the authentication token as describe in the authentication chapter.

All queries start with the same URL :

In this document all queries are relative to this URL. For example the query /abcd/efgh is in real https://app.geoconcept.com/gtm/abcd/efgh

Two queries are mandatory :

  • /gwc/gwc-api/secto/external/batchInjectPointSectoStart/v2 : this query will initialize an injection. It must be the first query of the protocol. The return will be the injection context to pass to all queries of your injection.
  • /gwc/gwc-api/secto/external/batchInjectPointSectoEnd : this query will close the injection and will give informations for IFrame injection. It must be the last query of the protocol.

The other one are used to inject data into your GTM session. The order is not fixed. Some queries can manage multipart data injection by calling the same query several times with different data. For the others, calling the same query will scratch older data.

All queries are POST ones.