Test an Avatar Image Upload in Postman Before Integration
Configure one AvatarLookup image profile request in Postman, inspect its response, and carry a verified request shape into your application.

A practical Postman smoke test for the documented AvatarLookup image profile upload.
To test an AvatarLookup image upload in Postman, send one supported image as a multipart file field to POST /api/v1/image/profile, add service_type=image_profile, and put your API key in the X-API-Key header. Inspect the response state and returned picture fields before copying the request into application code. A successful upload tests the request contract; it does not verify the identity or demographics of the person in a picture.
Choose a test image and a question for the run
Use a picture that your team is authorized to submit. A small JPEG or PNG with a recognizable subject is a useful first test, followed by a second supported image that is clearly nonhuman. AvatarLookup accepts JPEG, PNG, WebP, and GIF files up to 2 MB for image profile analysis. This is a test of a picture you already have, not a lookup by phone number or email address. The current image profile page and API documentation describe that distinction.
Write down the file name, format, byte size, and why you selected it. Those details help explain a later mismatch between what you thought you sent and what Postman attached. Keep the image local to your testing environment unless your team's handling rules allow sharing it. Postman saves a reference to a local file path in a request; a teammate or cloud monitor will not automatically have that file. For a smoke test, run the request locally first.
Build the multipart request in Postman
Create a new POST request to https://api.avatarlookup.com/api/v1/image/profile. In Headers, add X-API-Key with a value from a private Postman environment or credential arrangement used by your team. Avoid putting the key in the URL, example response, or a shared screenshot. In Body, choose form-data. Add a text row named service_type with value image_profile. Add a second row named file, change its type from Text to File, and select the test image.
Leave Postman to set the multipart Content-Type header. Its documentation says the app attaches the correct header for form-data; a manually typed header can override that value and omit the generated boundary. Do not choose raw JSON or the single binary-body mode for this request. The documented AvatarLookup API contract expects a multipart file field. Check that the Body tab visibly shows one text field and one File field before you send.
Send just one request and save its status and response for review. This manual check lets you confirm the HTTP method, URL, header and form keys before any application retry loop exists. It does not establish that every future file or network condition will behave the same way.
Read the outcome before writing a parser
First separate transport and service outcomes. An HTTP or authentication failure means the request did not provide a usable image analysis. Check the endpoint, credential placement, multipart form, file presence and file constraints before changing application logic. Do not convert that failure into a “no portrait” category. If the service reports an unreadable image or returns no fields, record that as a failed or unavailable analysis rather than an attribute result.
For a completed response, inspect the documented code, msg and data envelope and the picture category and available attributes in data. The current product facts describe a content-derived fingerprint identifier for the image. It identifies image content for this analysis workflow; it is not an account identifier. Appearance values such as an estimated age, gender or colour can be absent or unknown. A completed nonhuman picture can still be a completed, billable result. Your parser should preserve the source response state instead of filling missing attributes with invented values.
Save a redacted sample response for each outcome your application actually needs to handle. Remove the key and unnecessary image or personal data. Compare the nonhuman test with the first test to see whether your display logic treats the category as a picture observation. A category is not a moderation verdict or proof about the person associated with a contact record.
Carry only the verified request shape into code
Before implementation, write a small contract note for your team: POST method, exact path, X-API-Key header, multipart service_type text field, one file field, supported file constraints, and the response branches observed in testing. The note should also say which fields your application stores and which remain optional. This is more useful than copying a single happy-path response into a rigid schema.
The website may let a user enter a public image URL, but the current API reference specifies multipart file upload for this endpoint. Do not turn a website input into an unverified image_url or base64 API field. If your application begins with an image URL, obtain and validate the file under your own security rules before using the documented file request, or confirm a separate current API contract before changing the payload.
Finally, test the implementation with the same authorized file and compare its request and result with the Postman run. If they differ, inspect the multipart field types and response-state handling first. Then add your application's normal logging and review controls without treating a successful photo analysis as a confirmed identity or contact fact.
FAQ
Should I set multipart Content-Type manually in Postman?
Usually no. Postman sets the correct form-data header, including the boundary, when Body is form-data. A manual override can break the upload.
Can I send an image URL or base64 string to this API endpoint?
The current API reference documents multipart file upload for POST /api/v1/image/profile. The website URL input does not establish a URL or base64 payload for this API route.
Does an unknown attribute mean the request failed?
No. A completed image analysis may return unknown or omitted appearance attributes. Check the response state and picture category instead of treating every missing estimate as a request failure.
Learn More
Choose the product information that fits the next step in your workflow.