Upload Initial
This endpoint sets up initials for a specific user by uploading an image file containing the user's initials. It is typically used to register or update the user's initials for signing or identification purposes within the system.
HTTP Method and URL
POST {{host}}/client/initial?user_type=ENTERPRISE_API
Authentication Requirements
Requires a valid user-token to be provided as an authentication variable (typically in the request headers or environment).
Query Parameters
user_type(string, required): Must be set toENTERPRISE_API.
Request Body
Content-Type: multipart/form-data
file(file, required): The image file containing the user's initials. Example:initial.png
Example Request
curl -X POST "{{host}}/client/initial?user_type=ENTERPRISE_API" \
-H "Authorization: Bearer <user-token>" \
-F "file=@/path/to/initial.png"
Example Successful Response
{
"message": "Initials uploaded successfully.",
"status": "success"
}
Error Responses
-
401 Unauthorized: Access token is missing or invalid. -
422 Unprocessable Entity: Incorrect file format or missing file.
Usage Notes
-
Ensure the file uploaded is a valid image format (e.g., PNG).
-
The
user-tokenvariable must be set in your environment or request headers. -
This endpoint is intended for enterprise API users only.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
