Obtaining an API Key

Authenticate Requests

To authenticate, use these headers for every request you make:

Name Description
X-Flixcheck-UserId The user ID that you created the API key with. All your requests will be handled in the name of that user – as if the user would act themselves.
X-Flixcheck-ApiKey The API key of the user mentioned in X-Flixcheck-UserId.

Impersonation

If you want to take actions in the name of some specific user, you need to have an API key of an admin user in the same team or a super team (hierarchially above the team of the user you want to impersonate). Use these headers for impersonation:

Name Description
X-Flixcheck-AdminUserId The user ID that you created the API key with. This should be the admin user (possbily in a team that is higher than the team of the user you want to impersonate).
X-Flixcheck-ApiKey The API key of the user mentioned in X-Flixcheck-AdminUserId.
X-Flixcheck-UserId The user ID that you want to impersonate. The request will be handled in the name of that user – as if the impersonated user would act themselves.