HydraCore
API by router

Email internal

List Messages Internal

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

Path Parameters

instance_id*Instance Id
Formatuuid

Query Parameters

direction?string|null
limit?Limit
Range1 <= value <= 200
Default50
offset?Offset
Range0 <= value
Default0

Response Body

Successful Response

application/json
  1. response
Example Request
curl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/email/messages'
Example Response
{}

Send Email Internal

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

Path Parameters

instance_id*Instance Id
Formatuuid

Request Body

application/json
  1. body
cc?array<string>
html_body?string|null
in_reply_to?string|null
subject*Subject
Lengthlength <= 998
text_body?string|null
to*array<string>
Items1 <= items

Response Body

Successful Response

application/json
  1. response
Example Request
curl -X POST 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/email/send' \  -H 'Content-Type: application/json' \  -d '{  "subject": "string",  "to": [    "string"  ]}'
Example Response
{}