Upload a person's photo (base64 encoded)
POST/person/:personId/photo
Upload a base64-encoded image file for a person. Supported formats: PNG, JPEG, JPG, GIF, WEBP. Maximum size: 10MB.
Request​
Responses​
- 200
- 400
- 401
- 403
- 404
- 413
Photo uploaded successfully
Invalid image data or upload failed
Unauthorized
EditRecords role required
Person not found
PHP discarded the request body because it exceeded the server upload limit
Can't find what you need? Ask in Discord, or open an issue on the ChurchCRM repository.