Skip to content

API Token Creation

To start making API calls to X-Faces, you need to create a project-specific token.

Go to X-Faces Projects and choose your project from the list.

In the sidebar menu, click on Token Management, then click Create Token.

Open Token Management

Choose a name for it, and copy the generated token.

Add this token to the Authorization header of your API calls to X-Faces. You must include the token in the headers as follows:

Token: <your_token_uuid>

For example, in JavaScript using fetch:

fetch('https://api.x-faces.xyz/v1/endpoint', {
method: 'GET',
headers: {
'Token': 'your_token_uuid'
}
});