API Documentation

Everything you need to know to integrate Blurit API Calls

Authenticate to the API

post

Authenticate to the API using your client credentials. Returns a token needed for all other routes.

Body
clientIdstringRequired

Client Id available in the Developer Account section

Example: client_123456789
secretIdstringRequired

Secret ID available in the Developer Account section

Example: secret_987654321
Responses
200

Successfully authenticated

application/json
post
/login

Refresh access token

post

Refresh an expired access token using the refresh token. The Bearer token can be expired.

Authorizations
AuthorizationstringRequired

JWT token needed for all other routes. The token acquired with the login route.

Body
refreshTokenstringRequired

Refresh token received from login

Example: rt_eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Responses
200

Token successfully refreshed

application/json
post
/token

Get anonymization job status

get

Check the status of an anonymization job.

Authorizations
AuthorizationstringRequired

JWT token needed for all other routes. The token acquired with the login route.

Query parameters
anonymization_job_idstringRequired

Job ID received from POST request

Example: client_uuid-SRV_ANONYMIZATION-abc123def456
Responses
200

Job status

application/json
get
/innovation-service/anonymization

Start an anonymization job

post

This route will create a job for anonymizing faces and/or license plates in images or videos. The process is asynchronous and will return a job ID that can be used to check the status.

Note: For a basic request, only the input_media field is required. All other form fields should be disabled in the test interface.

Authorizations
AuthorizationstringRequired

JWT token needed for all other routes. The token acquired with the login route.

Body
input_mediastring · binaryRequired

Image or video file to process. Accepted formats are JPEG, JPG, PNG, WEBP, BMP, TIFF, MP4, AVI, MOV, MKV, ZIP.

activation_faces_blurbooleanOptional

Enable face detection and blurring

Example: true
activation_plates_blurbooleanOptional

Enable license plate detection and blurring

Example: true
output_detections_urlbooleanOptional

Return URLs to download detection coordinates in JSON format

Example: true
Responses
200

Job successfully created

application/json
post
/innovation-service/anonymization

Get result file

get

Download result file from BlurIt anonymization service.

Authorizations
AuthorizationstringRequired

JWT token needed for all other routes. The token acquired with the login route.

Path parameters
fileNamestringRequired

File name received in output_media

Example: b83603c4-b9c7-4e86-9fe4-a2eeba2dfa06.jpeg
Responses
200

File content

application/octet-stream
Responsestring · binary
get
/innovation-service/result/{fileName}

Last updated