Sessions

The Campaign Management APIs use bearer authentication when you act on behalf of users within your application. More information about bearer authentication can be found here.

Bearer authentication (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. The name “bearer authentication” can be understood as “give access to the bearer of this token.”

The bearer token is a cryptic string generated by Koddi in response to a login request on the session endpoint. You must send this token in the Authorization header when making requests to protected resources.

📘

Tokens will last for 2 hours from last successful call (200) on any endpoint.

A logout and/or a 401 on any endpoint will expire the token instantly.

Tokens are user and environment specific.