Basic authentication
To use FastPix APIs, a valid Access Token and Secret Key are required in the headers of your API requests.
Prerequisites
A valid account with FastPix. Click here to Sign Up.
Obtain your Access Token ID and Secret Key
- Login to your FastPix dashboard
- Navigate to Org Settings > Access Tokens
- Click on Generate new token
As a next step, a pop-up will appear with required inputs to create your new Access Token.
- Add your Access Token name
- Select the Workspace where you want to generate a new Access Token.
- Give permissions as per the purpose of using the Access Token.
- Next, click the Generate access token button
This action will generate your new Access Token ID and Secret Key.
PLEASE NOTE
To keep the Access Token information (Secret Key) for future use, download an workspace file (.env) that stores these details. FastPix doesn’t store the exact Secret Key.
It's important to note that FastPix only stores a secret hash, not the Secret Key itself. If the Secret Key is lost, FastPix cannot retrieve it, necessitating the creation of a new Access Token.
The Access Token ID and Secret Key you receive act like a keypair, allowing you to access FastPix APIs that require basic authentication. You can also assign these values into basic auth if you are using the FastPix Postman Collection.
The Access Token ID serves as the username, while the Secret Key functions as the password.
- Username: Access Token ID
- Password: Secret Key
Updated 3 days ago