Avatar

Use this api route to get random and unique avatar for api.

Endpoint

GET - /avatar

By default it will return random avatar from database.

Params

id optional

pass userid or any id if you want to have same avatar everytime

id - `string id for persistent avatar response`

Default - `Null`

Response

Response will be binary png image

alt textalt textalt text

Example

GET $BASE_ROUTE/avatar?id=rahul;
Contributors: rahul kumar singh