Questions about the API

There’s a method for creating a ticket via the API?
What’s the API method for sending emails? What are email collections, how email templates are used? The API documentation doesn’t seem to be clear about this issues.

Thanks!

Mail:
http://docs.splynx.apiary.io/#reference/config/mail-collection/create-and-add-mail-to-queue-for-sending

SMS:
http://docs.splynx.apiary.io/#reference/config/sms/create-and-add-mail-to-queue-for-sending

Tickets are not available yet,

templates:
http://docs.splynx.apiary.io/#reference/config/template-collection/list-all-templates

  • you need to render templates on your side (use Twig)

ps: all work on Splynx 1.3

Thanks for the answer!
what the does the message_id in mail API stands for?

This is ID from “Support / Messages / History” (not required)

I found the issue was about the permissions but it was easier to determine knowing I was calling the right method. Thank you so much!