Beauty Fort API v5
This documentation is intended for developers.
The Beauty Fort API documentation describes the calls available in the API.
The Beauty Fort API is a JSON API and can be consumed by any programming language that can send and receive JSON requests.
Endpoints
The endpoint for this API is https://api.beautyfort.com/
Authentication
All requests must contain the following headers:
X-Username Your given API username
X-Token A randomly generated alphanumeric string of less than 45 characters, this token cannot be reused within a 5 miunte period
X-Created Current ISO 8601 timestamp (e.g. 2025-01-01T13:00:00+00:00 )
X-Password A Base64 encoded SHA256 hash of a string comprised of the X-Token value, X-Created value and your API secret key
Authentication Example:
In this example the secret key is: 12ab3c4D5e6F7Gh8ijKL9mn0oPqrsTUvWXyZ
| X-Username | beautyfort |
|---|---|
| X-Token | A9d74hf63nCgt936b92yDnG94ys2R6Vd |
| X-Created | 2025-01-01T13:00:00+00:00 |
| X-Password | OWNmY2ZjODg2NTEzMDM1MGFiMzUxOTFiMzQ4NzlmZTQ3MDVmZWY3ZGIzOGFlYTFlMDUyYTUyODMyZjljODAxZQ== |
Failure
If authentication fails you should be returned a 401 code with the following response:
{
"message": "",
"error": "Authentication not authorised"
}
