Soluciones

Referencia de 5 endpoints generados desde mosend-wb-backend/src/modules/solutions/solutions.controller.ts.

Base path: /·5 endpoints·Source: mosend-wb-backend/src/modules/solutions/solutions.controller.ts
GET/solutions
bearer

Catálogo de soluciones verticales disponibles (públicas para usuarios logueados).

Respuestas

  • 200
curl -X GET 'https://api.mosend.dev/solutions' \
  -H 'X-Api-Key: mk_live_<prefix>.<secret>'
Response · 200
{
  "data": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "createdAt": "2026-05-01T03:42:18.123Z"
    }
  ],
  "timestamp": "2026-05-01T03:42:18.123Z"
}
GET/solutions/:slug
bearer

Detalle completo de un pack (incluye contenido del flow + plantillas).

Path params

  • slugstringrequerido

Respuestas

  • 200
curl -X GET 'https://api.mosend.dev/solutions/<slug>' \
  -H 'X-Api-Key: mk_live_<prefix>.<secret>'
Response · 200
{
  "data": {
    "id": "00000000-0000-0000-0000-000000000000",
    "createdAt": "2026-05-01T03:42:18.123Z"
  },
  "timestamp": "2026-05-01T03:42:18.123Z"
}
GET/organizations/:orgId/solutions
bearer

Soluciones instaladas en la organización.

Path params

  • orgIdstringrequerido

Respuestas

  • 200
curl -X GET 'https://api.mosend.dev/organizations/a1b2c3d4-1234-5678-9abc-def012345678/solutions' \
  -H 'X-Api-Key: mk_live_<prefix>.<secret>'
Response · 200
{
  "data": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "createdAt": "2026-05-01T03:42:18.123Z"
    }
  ],
  "timestamp": "2026-05-01T03:42:18.123Z"
}
POST/organizations/:orgId/solutions/:slug/install
bearer

Instala el pack en la organización (tags, autoreplies, quick replies, plantillas y flow).

Path params

  • orgIdstringrequerido
  • slugstringrequerido

Body

InstallSolutionDtoparámetro: dto

Respuestas

  • 200
curl -X POST 'https://api.mosend.dev/organizations/a1b2c3d4-1234-5678-9abc-def012345678/solutions/<slug>/install' \
  -H 'X-Api-Key: mk_live_<prefix>.<secret>' \
  -H 'Content-Type: application/json' \
  -d '{"name": "string","description": "string"}'
Response · 200
{
  "data": {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "string",
    "description": "string"
  },
  "timestamp": "2026-05-01T03:42:18.123Z"
}
DELETE/organizations/:orgId/solutions/:slug
bearer

Desinstala el pack en la organización. Borra piezas no usadas; conserva las que tienen referencias activas.

Path params

  • orgIdstringrequerido
  • slugstringrequerido

Respuestas

  • 200
curl -X DELETE 'https://api.mosend.dev/organizations/a1b2c3d4-1234-5678-9abc-def012345678/solutions/<slug>' \
  -H 'X-Api-Key: mk_live_<prefix>.<secret>'
Response · 200
{
  "data": {
    "id": "00000000-0000-0000-0000-000000000000",
    "createdAt": "2026-05-01T03:42:18.123Z"
  },
  "timestamp": "2026-05-01T03:42:18.123Z"
}