Authentication

Authenticate your requests to the APIs

The authentication flow for this API is based on API tokens, passed in the Authorization header, using the Bearer scheme. API tokens are the only way to call the v2 API.

All requests go to the base URL https://v2.api.piktid.com.

api_url = "https://v2.api.piktid.com"
access_token = "your_api_token"
headers = {"Authorization": "Bearer " + access_token}

API tokens can only be created and revoked from the profile dashboard. Their expiration can be modified up to 4 years from the time they are issued.

Use API tokens for integrations

Logging in with a username and password, or copying a token from the web app, does not work for integrations. Always generate a dedicated API token from the profile dashboard.

Be careful!

It is not possible to refresh an API token. When it expires, you will need to generate a new one.

If an API token leaks, revoke it immediately from the profile dashboard and generate a new one.

Quick start

You will first need to manually sign up to use our services.

If you need pilot or enterprise access to the v2 APIs, reach out to us. We will provision an account for you or your enterprise.


On this page