# Imgur Integration via LowCodeAPI

## Overview

Imgur API provides access to image hosting and sharing platform. Upload, manage, and share images with one of the largest image communities.

## Base Endpoint

```
https://api.lowcodeapi.com/imgur/
```

## Authentication

LowCodeAPI handles authentication automatically using OAuth2.0 credentials.

**Auth Type**: OAuth2.0

## Common Endpoints

### Category: Images

#### Upload Image

**Method**: `POST` | **LowCodeAPI Path**: `/v3/image`

**Full URL**:
```
https://api.lowcodeapi.com/imgur/v3/image?api_token={api_token}
```

**Description**: Upload a new image

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `api_token` | string | Yes | Your LowCodeAPI authentication token |

**Body Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `image` | file | Yes | Image file to upload |
| `title` | string | No | Image title |
| `description` | string | No | Image description |

**Example Request**:
```bash
curl -X POST "https://api.lowcodeapi.com/imgur/v3/image?api_token=YOUR_API_TOKEN" \
  -H "Content-Type: multipart/form-data" \
  -F "[email protected]" \
  -F "title=My Photo"
```

---

#### Get Image

**Method**: `GET` | **LowCodeAPI Path**: `/v3/image/imageHash`

**Full URL**:
```
https://api.lowcodeapi.com/imgur/v3/image/imageHash?imageHash={imageHash}&api_token={api_token}
```

**Description**: Get image information

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `imageHash` | string | Yes | The image hash/ID |
| `api_token` | string | Yes | Your LowCodeAPI authentication token |

**Example Request**:
```bash
curl -X GET "https://api.lowcodeapi.com/imgur/v3/image/imageHash?imageHash=abc123&api_token=YOUR_API_TOKEN"
```

---

## Usage Examples

### Example 1: Image Management

```bash
# Step 1: Upload an image
# No ID required - uploads and returns image hash
curl -X POST "https://api.lowcodeapi.com/imgur/v3/image?api_token=YOUR_API_TOKEN" \
  -H "Content-Type: multipart/form-data" \
  -F "[email protected]"

# Step 2: Get image details
# Replace IMAGE_HASH with hash from Step 1
curl -X GET "https://api.lowcodeapi.com/imgur/v3/image/imageHash?imageHash=IMAGE_HASH&api_token=YOUR_API_TOKEN"
```

## Complete Endpoint Reference

- **Official Documentation**: [https://api.imgur.com](https://api.imgur.com)