1. Proxy APIs
ELink Open API
  • Mail APIs
    • Get Mail List
      POST
    • Get Mail Detail
      POST
    • Sync Mail Config To Local
      POST
    • Create Mail Config
      POST
    • Update Mail Config
      POST
    • Delete Mail Config
      POST
  • Proxy APIs
    • Get Proxy List
      POST
    • Get Proxy Detail
      POST
    • Create Proxy
      POST
    • Update Proxy
      POST
    • Delete Proxy
      POST
  • Message APIs
    • Get Message Folder List
      POST
    • Get Message List
      POST
    • Get Message Detail
      POST
    • Send Message
      POST
    • Mark Read Or Unread
      POST
    • Move Message To Target Folder
      POST
    • Mark Starred Or Unstarred
      POST
  1. Proxy APIs

Create Proxy

POST
http://localhost:18321/v1/proxy/create
Proxy the remote open-api proxy/create endpoint.

Request

Body Params multipart/form-dataRequired

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:18321/v1/proxy/create' \
--form 'token="{{token}}"' \
--form 'host="127.0.0.1"' \
--form 'port="7890"' \
--form 'proxy_type="http"' \
--form 'username=""' \
--form 'password="******"' \
--form 'remark="Office Proxy"'

Responses

🟢200
application/json
Success
Body

Example
{
    "code": 200,
    "msg": "ok",
    "data": {
        "proxy_id": "proxy_demo_001",
        "user_id": "user_demo_001",
        "remark": "Office Proxy",
        "host": "127.0.0.1",
        "port": "7890",
        "username": "",
        "password": "******",
        "proxy_type": "http",
        "created_at": 1775785594,
        "updated_at": 0
    }
}
Modified at 2026-04-10 06:29:30
Previous
Get Proxy Detail
Next
Update Proxy
Built with