TradeSocial API Documentation

Interactive API Documentation

Explore and test the API using interactive documentation:

Swagger UI ReDoc UI Developer Guide

API Endpoints Overview

Authentication

POST /get-google-maps-key/ get-google-maps-key
GET /get-captcha/ get-captcha
POST /signup/ user_signup
POST /login/ user_login
POST /send-otp/ send_otp
POST /verify-otp/ verify_otp
POST /resend-otp/ resend_otp
POST /business/create/ create_business
POST /forget-password/ forget_password
POST /reset-password/ reset_password
POST /verify-password/ verify_password
POST /resend-otp-password/ resend-otp
POST /admin-login/ admin_login

Marketplace & Locations

GET /index/ index
GET /marketplace/ marketplace_api
GET /marketplace/search/ marketplace-search
GET /category/ categories_api
GET /categories/ category-list
GET /countries/ country-list
GET /states/ state-list
GET /districts/ district-list
GET /districts/<int:id>/ district-detail
GET /district-suggestions/ district_suggestions
GET /reverse-geocode/?lat=<lat>&lng=<lng> reverse-geocode
GET /search-suggestions/ search_suggestions
GET /post-search-suggestions/ post_search_suggestions
GET /locations/ location-list

Blogs & Comments

GET/POST /blogs/ blog_list_create
GET /viewoldpost/ view_old_posts
GET/PUT/DELETE /blogs/<int:blog_id>/ blog_detail
GET /blogs/search/ blog-search
POST /blogs/<int:blog_id>/comments/ add_comment
POST /blogs/<int:blog_id>/comments/<int:comment_id>/reply/ reply_to_comment
GET /blogs/<int:blog_id>/comments/view/ view_comments
GET /view_comments/ view_comments_provider

Profiles

GET /provider-profile/<int:provider_id>/ provider_profile
GET/PUT /manage-customer-profile/ customer_profile
GET/PUT /manage-provider-profile/ manage_provider_profile

Reports & Moderation

POST /reports/ report_create
GET /reports/list/ report_list
GET/POST/DELETE /blocks/ block_list_create

Contact & Messaging

POST /contact-tradesocial-admin/ contact_api
GET /contacts/ contact-list
POST /contacts/create/ contact-create
GET/POST /chats/ chat-list-create
GET/POST /chats/<int:chat_id>/messages/ message-list-create