AS2 Stations

Manage your AS2 stations. Each station represents an operational identity inside the current site.

POST /api/v1/stations

Lista las estaciones visibles para el dominio desde el que estás consumiendo la API.

Request body
FieldTypeDescription
idintegerIf provided, only that station is returned
{
  "status": "success",
  "total": 2,
  "data": [
    {
      "id": 8,
      "nombre": "Station 3",
      "as2id": "ESTACION3"
    }
  ]
}
POST /api/v1/stations/detail

Return extended metadata for a specific station.

FieldTypeRequired
idintegerYes
{
  "status": "success",
  "data": {
    "id": 8,
      "nombre": "Station 3",
    "as2id": "ESTACION3",
    "email": "as2@example.com",
    "certificado_cn": "CN demo",
    "encriptacion": "AES256",
    "firma": "sha256"
  }
}
POST /api/v1/stations/stats

Returns operational totals for a station and optional folder context. This route is published in both English and legacy Spanish.

FieldTypeRequired
stationintegerYes
folderinteger
{
  "status": "success",
  "data": {
    "station_id": 54,
    "context_total": 15,
    "context_ok": 15,
    "context_success_rate": 100.0,
    "top_partners": [
      {
        "nombre": "AS2EXPERT ECHO STATION",
        "name": "AS2EXPERT ECHO STATION",
        "partner_name": "AS2EXPERT ECHO STATION",
        "count": 15
      }
    ]
  }
}
POST /api/v1/stations/create

Create a station using AS2Expert's internal station setup logic.

FieldTypeRequiredDescription
namestringYesStation name
as2_idstringYesAS2 identifier
emailstringYesTechnical email
certificate_idintegerCertificate ID. If omitted, the router applies a default value
encryptionintegerEncryption algorithm ID
signatureintegerSignature/hash ID
ediint_featuresstringOptional capabilities string. Recommended value: multiple-attachments, CEM.
Response
{
  "status": "success",
  "msg": "Station created",
  "data": {
    "id": 62,
    "station_id": 62,
    "name": "T38 API Station 20260501T045624",
    "as2_id": "T38_API_ST_20260501T045624",
    "email": "t38-20260501t045624@mribti.com"
  }
}