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
| Field | Type | Description |
|---|---|---|
| id | integer | If 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.
| Field | Type | Required |
|---|---|---|
| id | integer | Yes |
{
"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.
| Field | Type | Required |
|---|---|---|
| station | integer | Yes |
| folder | integer |
{
"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.
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Station name |
| as2_id | string | Yes | AS2 identifier |
| string | Yes | Technical email | |
| certificate_id | integer | Certificate ID. If omitted, the router applies a default value | |
| encryption | integer | Encryption algorithm ID | |
| signature | integer | Signature/hash ID | |
| ediint_features | string | Optional 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"
}
}