HydraCore
API by router

Email internal

List Messages Internal

GET
/internal/v1/instances/{instance_id}/email/messages

Path Parameters

instance_idInstance Id
Formatuuid

Query Parameters

direction?Direction
limit?Limit
Default50
Range1 <= value <= 200
offset?Offset
Default0
Range0 <= value

Response Body

curl -X GET "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/email/messages?direction=string&limit=50&offset=0"
{}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Send Email Internal

Send email from an agent's inbox. Proxy-key auth.

POST
/internal/v1/instances/{instance_id}/email/send

Path Parameters

instance_idInstance Id
Formatuuid
cc?Cc
html_body?Html Body
in_reply_to?In Reply To
subjectSubject
Lengthlength <= 998
text_body?Text Body
toTo
Items1 <= items

Response Body

curl -X POST "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/email/send" \  -H "Content-Type: application/json" \  -d '{    "subject": "string",    "to": [      "string"    ]  }'
{}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}