# Imgur Integration via LowCodeAPI
**Last Updated**: February 10, 2026
## Overview
Image hosting
**Categories:**
- {'id': 'media-assets', 'name': 'Media & Assets', 'description': 'Stock photos, images, videos, and media asset services', 'priority': 16}
## Base Endpoint
https://api.lowcodeapi.com/imgur
**Important**: Always include the provider name in the URL path after `api.lowcodeapi.com/`
## Authentication
**Type:** TOKEN
**Official Documentation:** https://apidocs.imgur.com/
## URL Format (Important)
LowCodeAPI supports two URL formats. **Always try the New Format first**, then fall back to Old Format if needed.
### New Format (Priority)
- Path parameters stay in the URL path
- Do NOT include path parameters as query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/{id}?api_token=XXX`
### Old Format (Fallback)
- Path parameters become query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/id?id={id}&api_token=XXX`
### Decision Flow for AI Agents
1. Always use **New Format** first - keep path parameters in the URL path
2. If you get a 404 or error, try **Old Format** with sanitized path
3. Log which format worked for future requests to this provider
## API Categories
## Common Endpoints
### Given a user's refresh token this endpoint generates an access token
**Method:** POST
**LowCodeAPI Path:** /oauth2/token
**New Format URL:**
https://api.lowcodeapi.com/imgur/oauth2/token?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/imgur/oauth2/token?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| client_id | text | |
| client_secret | text | |
| grant_type | text | |
| refresh_token | text | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/imgur/oauth2/token?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://apidocs.imgur.com/#authorization-and-oauth
### Request standard user information
**Method:** GET
**LowCodeAPI Path:** /3/account/{{username}}
**New Format URL:**
https://api.lowcodeapi.com/imgur/3/account/{{username}}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/imgur/3/account/username?username={username}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| username | string | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/imgur/3/account/{{username}}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://apidocs.imgur.com/#account
### Determine if the user making the request has blocked a username
**Method:** GET
**LowCodeAPI Path:** /account/v1/{{username}}/block
**New Format URL:**
https://api.lowcodeapi.com/imgur/account/v1/{{username}}/block?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/imgur/account/v1/username/block?username={username}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| username | string | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/imgur/account/v1/{{username}}/block?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://apidocs.imgur.com/#account
### List all accounts being blocked
**Method:** GET
**LowCodeAPI Path:** /3/account/me/block
**New Format URL:**
https://api.lowcodeapi.com/imgur/3/account/me/block?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/imgur/3/account/me/block?api_token=YOUR_API_TOKEN
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/imgur/3/account/me/block?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://apidocs.imgur.com/#account
### Block a user
**Method:** POST
**LowCodeAPI Path:** /account/v1/{{username}}/block
**New Format URL:**
https://api.lowcodeapi.com/imgur/account/v1/{{username}}/block?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/imgur/account/v1/username/block?username={username}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| username | string | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/imgur/account/v1/{{username}}/block?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://apidocs.imgur.com/#account
### Unblock a user
**Method:** DELETE
**LowCodeAPI Path:** /account/v1/{{username}}/block
**New Format URL:**
https://api.lowcodeapi.com/imgur/account/v1/{{username}}/block?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/imgur/account/v1/username/block?username={username}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| username | string | |
**Example Request (New Format):**
```bash
curl -X DELETE 'https://api.lowcodeapi.com/imgur/account/v1/{{username}}/block?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://apidocs.imgur.com/#account
### To make requests for the current account you may use `me` as the `{{username}}` parameter
**Method:** GET
**LowCodeAPI Path:** /3/account/me/images
**New Format URL:**
https://api.lowcodeapi.com/imgur/3/account/me/images?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/imgur/3/account/me/images?api_token=YOUR_API_TOKEN
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/imgur/3/account/me/images?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://apidocs.imgur.com/#account
### Return the images the user has favorited in the gallery
**Method:** GET
**LowCodeAPI Path:** /3/account/{{username}}/gallery_favorites/{{page}}/{{favoritesSort}}
**New Format URL:**
https://api.lowcodeapi.com/imgur/3/account/{{username}}/gallery_favorites/{{page}}/{{favoritesSort}}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/imgur/3/account/username/gallery_favorites/page/favoritessort?favoritesSort={favoritesSort}&page={page}&username={username}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| favoritesSort | string | |
| page | number | |
| username | string | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/imgur/3/account/{{username}}/gallery_favorites/{{page}}/{{favoritesSort}}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://apidocs.imgur.com/#account
### Returns the users favorited images only accessible if you're logged in as the user
**Method:** GET
**LowCodeAPI Path:** /3/account/{{username}}/favorites/{{page}}/{{favoritesSort}}
**New Format URL:**
https://api.lowcodeapi.com/imgur/3/account/{{username}}/favorites/{{page}}/{{favoritesSort}}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/imgur/3/account/username/favorites/page/favoritessort?favoritesSort={favoritesSort}&page={page}&username={username}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| favoritesSort | string | |
| page | number | |
| username | string | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/imgur/3/account/{{username}}/favorites/{{page}}/{{favoritesSort}}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://apidocs.imgur.com/#account
### Return the images a user has submitted to the gallery
**Method:** GET
**LowCodeAPI Path:** /3/account/{{username}}/submissions/{{page}}
**New Format URL:**
https://api.lowcodeapi.com/imgur/3/account/{{username}}/submissions/{{page}}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/imgur/3/account/username/submissions/page?page={page}&username={username}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| page | number | |
| username | string | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/imgur/3/account/{{username}}/submissions/{{page}}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://apidocs.imgur.com/#account
## Usage Examples
### Example 1: Upload a File
Uploading a file to storage:
```bash
# Upload a file - no path parameters needed
curl -X POST "https://api.lowcodeapi.com/imgur/upload?api_token=YOUR_API_TOKEN" \
-F "file=@/path/to/your/file.jpg"
# Response returns file ID or URL
```
### Example 2: List Files
```bash
# Get list of all files
curl -X GET "https://api.lowcodeapi.com/imgur/files?api_token=YOUR_API_TOKEN"
```
### Example 3: Retrieve Specific File
```bash
# Get specific file by ID
curl -X GET "https://api.lowcodeapi.com/imgur/files/{FILE_ID}?api_token=YOUR_API_TOKEN"
# Delete file
curl -X DELETE "https://api.lowcodeapi.com/imgur/files/{FILE_ID}?api_token=YOUR_API_TOKEN"
```
## Error Handling
LowCodeAPI returns standard HTTP status codes. Common errors:
| Status Code | Description |
|-------------|-------------|
| 200 | Success - Request completed successfully |
| 400 | Bad Request - Invalid parameters or request body |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Endpoint or resource doesn't exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Server Error - Provider API error |
All error responses include error details:
```json
{
"data": {
"error": {
"message": "Error description",
"code": "ERROR_CODE"
}
}
}
```
## Complete Endpoint Reference
| Endpoint | Method | Category |
|----------|--------|----------|
| Given a user's refresh token this endpoint generat... | POST | Account |
| Request standard user information | GET | Account |
| Determine if the user making the request has block... | GET | Account |
| List all accounts being blocked | GET | Account |
| Block a user | POST | Account |
| Unblock a user | DELETE | Account |
| To make requests for the current account you may u... | GET | Account |
| Return the images the user has favorited in the ga... | GET | Account |
| Returns the users favorited images only accessible... | GET | Account |
| Return the images a user has submitted to the gall... | GET | Account |
| If unauthenticated get list of default avatars a u... | GET | Account |
| Get the current account's avatar URL and avatar na... | GET | Account |
| Returns the account settings only accessible if yo... | GET | Account |
| Updates the account settings for a given user the ... | PUT | Account |
| Returns the totals for the gallery profile | GET | Account |
| Checks to see if user has verified their email add... | GET | Account |
| Sends an email to the user to verify that their em... | POST | Account |
| Get all the albums associated with the account | GET | Account |
| Get additional information about an album this end... | GET | Account |
| Return an array of all of the album IDs (hashes) | GET | Account |
| Return the total number of albums associated with ... | GET | Account |
| Delete an Album with a given id | DELETE | Account |
| Return the comments the user has created | GET | Account |
| Return information about a specific comment | GET | Account |
| Return an array of all of the comment IDs | GET | Account |
| Return a count of all of the comments associated w... | GET | Account |
| Delete a comment | DELETE | Account |
| Return all of the images associated with the accou... | GET | Account |
| Return information about a specific image | GET | Account |
| Returns an array of Image IDs that are associated ... | GET | Account |
| Returns the total number of images associated with... | GET | Account |
| Deletes an Image | DELETE | Account |
| Returns all of the reply notifications for the use... | GET | Account |
| Follows the {{tagName}} specified for the currentl... | POST | Account |
| Unfollows the {{tagName}} specified for the curren... | DELETE | Account |
| Delete the account of the auth'd user with delete ... | POST | Account |
| Get additional information about an album | GET | Album |
| Return all of the images in the album | GET | Album |
| Get information about an image in an album any add... | GET | Album |
| Create a new album | POST | Album |
| Update the information of an album | PUT | Album |
| Delete an album with a given deletehash | DELETE | Album |
| Delete an album with a given ID | DELETE | Album |
| Favorite an album with a given ID | POST | Album |
| Sets the images for an album removes all other ima... | POST | Album |
| Sets the images for an album removes all other ima... | POST | Album |
| Takes parameter `deletehashes[]` as an array of de... | POST | Album |
| Adds the images to an album | POST | Album |
| Takes parameter `ids[]` as an array of ids and rem... | POST | Album |
| Takes parameter `ids[]` as an array of ids and rem... | POST | Album |
| Get information about a specific comment | GET | Comment |
| Creates a new comment returns the ID of the commen... | POST | Comment |
| Delete a comment by the given id | DELETE | Comment |
| Get the comment with all of the replies for the co... | GET | Comment |
| Create a reply for the given comment | POST | Comment |
| Vote on a comment | POST | Comment |
| Report a comment for being inappropriate | POST | Comment |
| Returns the account settings only accessible if yo... | GET | Feed |
| Key | Required | Value ... | GET | Gallery |
| View gallery images for a subreddit | GET | Gallery |
| View a single image in the subreddit | GET | Gallery |
| Returns tag metadata and posts tagged with the `ta... | GET | Gallery |
| Gets a list of default tags | GET | Gallery |
| Gets metadata about a tag | GET | Gallery |
| | Key | Required | Value | | GET | Gallery |
| Update the tags for a post in the gallery | POST | Gallery |
| Search the gallery with a given query string | GET | Gallery |
| Share an Album or Image to the Gallery | POST | Gallery |
| Share an Album or Image to the Gallery | POST | Gallery |
| Remove an image from the public gallery | DELETE | Gallery |
| Get additional information about an album in the g... | GET | Gallery |
| Get additional information about an image in the g... | GET | Gallery |
| Report an Image in the gallery | POST | Gallery |
| Get the vote information about an image | GET | Gallery |
| Vote for an image `up` or `down` vote | POST | Gallery |
| Get comments on an image or album in the gallery | GET | Gallery |
| Information about a specific comment | GET | Gallery |
| #### Response Model: [Basic](https://api | POST | Gallery |
| Get information about an image | GET | Image |
| Upload a new image or video | POST | Image |
| Deletes an image | DELETE | Image |
| Deletes an image | DELETE | Image |
| Updates the title or description of an image | POST | Image |
| Updates the title or description of an image | POST | Image |
| Favorite an image with the given ID | POST | Image |
## API Definition Endpoints
You can fetch the complete API specification for this provider:
**New Format (OpenAPI spec):**
```bash
curl 'https://backend.lowcodeapi.com/imgur/openapi'
```
**Old Format (API definition):**
```bash
curl 'https://backend.lowcodeapi.com/imgur/definition'
```
## Response Format
All responses are wrapped in a `data` key:
```json
{
"data": {
// Actual response from provider (object or array)
}
}
```