Update Agent Selfie Photo
PUT/users/:agent_id/repairSelfie
This API use to upload a new selfie for a user.
Request
Path Parameters
agent_id stringrequired
The ID of the agent.
Header Parameters
Request-ID stringrequired
A unique identifier for the request, used for tracking and troubleshooting purposes. In case of any errors, Flip can use this value to trace and investigate the specific request.
The Request-ID will be formed of bigflip-{uuid}, where the “uuid” (Universally unique identifier) has to be generated on your end.
Example: "Request-ID: bigflip-47EB7F57-5565-4BF0-B9DD-46C6268CEE71".
- multipart/form-data
Body
required
user_type integerrequired
The type of user. Example 1
image binaryrequired
The selfie image file to be uploaded.
Responses
- 200
- 401
Selfie successfully repaired
- application/json
- Schema
- Example (from schema)
- Example
Schema
image_url string
The URL of the uploaded selfie.
{
"image_url": "string"
}
{
"image_url": "someurl.png"
}
Sample response when Your Flip api secret key value for Authorization is missing or invalid
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
code integer
message string
{
"errors": [
{
"code": 401,
"message": "Invalid Auth"
}
]
}
Loading...