Upload Supporting Document
POST/providers/:id/supporting-documents
Uploads a supporting document for a provider by ID. This endpoint accepts a multipart/form-data request with a file and metadata.
- The uploaded document is associated with the provider and saved in the system.
- Only valid files and supported document metadata will be processed.
- Returns a confirmation once the document is uploaded successfully.
Authorization:
- Requires an Bearer access token.
Possible Errors:
400 Bad Request: If the file or metadata is invalid.404 Not Found: If the provider with the given ID does not exist.
Request
Responses
- 201
- 400
- 401
- 403
- 404
The supporting document was successfully uploaded.
Bad request. Invalid input or file.
Unauthorized if authorization token is not provided or invalid.
Forbidden if user access is not right.
Provider not found.