Aphorism API Documentation

Welcome to the Aphorism API documentation. Here you will find everything you need to integrate and make the most of our API.

Getting Started

To begin using the Aphorism API, you do not need an API key. Just make requests to the endpoints listed below.

API Endpoints

1. Generate Webhook

Endpoint: /api/generate_webhook

Method: POST

Description: Generates a unique webhook URL. The response includes the generated webhook URL.

2. Webhook Receiver

Endpoint: /api/webhooks/<webhook_id>

Method: POST

Description: Receives a webhook and stores the content. Requires a valid webhook ID in the URL.

3. Delete All Webhook Logs

Endpoint: /api/webhooks/<webhook_id>/delete_all_logs

Method: POST

Description: Deletes all logs associated with a specified webhook ID.

4. Fetch Webhook Logs

Endpoint: /api/webhooks/<webhook_id>/logs

Method: GET

Description: Fetches logs associated with a specified webhook ID.

5. Verify User Follower

Endpoint: /api/followers

Method: POST

Description: Verifies if a user is following another user. Requires follower_id and followed_id in the request body.

6. Fetch Followers

Endpoint: /api/followers/<user_id>

Method: GET

Description: Fetches a list of followers for a specific user ID.

7. Fetch Roblox Followers

Endpoint: /api/roblox/fetchfollowers

Method: GET

Description: Fetches a list of followers for a specific Roblox user ID. Requires UserId as a query parameter.

8. Check if User is Following

Endpoint: /api/roblox/isFollowing

Method: GET

Description: Verifies if a user is following another user. Requires follower_id and target_id as query parameters.

9. Mutual Following

Endpoint: /api/roblox/mutual_following

Method: GET

Description: Checks for mutual followers between two users. Requires user1_id and user2_id as query parameters.

10. Fetch Roblox User Info

Endpoint: /api/roblox/info

Method: GET

Description: Fetches detailed information about a Roblox user. Requires username as a query parameter.

Response Format

All responses from the Aphorism API will be in JSON format.


{
    "status": "success",
    "data": {
        "webhook_url": "https://aphorism.cloud/api/webhooks/xyz123",
        "followers": ["user1", "user2"]
    },
    "message": "Webhook generated successfully!"
}

            

Support

If you have any questions or need assistance, feel free to contact support at support@aphorism.cloud.