AGG is currently in alpha. APIs, components, and docs may change.
curl --request POST \
--url https://api.agg.market/users/me/avatar \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-app-id: <api-key>' \
--data '
{
"contentType": "image/jpeg"
}
'{
"uploadUrl": "<string>",
"assetKey": "<string>",
"cdnUrl": "<string>"
}Returns a presigned S3 URL for the user to upload their avatar. Allowed types: JPEG, PNG, GIF, WebP. Max size: 5 MB. After upload, the image is automatically processed to WebP and served via CDN.
curl --request POST \
--url https://api.agg.market/users/me/avatar \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-app-id: <api-key>' \
--data '
{
"contentType": "image/jpeg"
}
'{
"uploadUrl": "<string>",
"assetKey": "<string>",
"cdnUrl": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.agg.market/llms.txt
Use this file to discover all available pages before exploring further.
Your application ID. Required for all app-tier and user-tier routes.
JWT access token returned by POST /auth/verify. Required for user-tier routes.
image/jpeg, image/png, image/gif, image/webp