Introduction This API is a service provided by E-goi to send transactional messages. Transactional Messaging is a 1-to-1 communication channel, usually from an organization directed to a specific consumer. They can be triggered by: * Actions - The consumer interacts with the organization (ie.: online shopping); * Time - The consumer's actions are time-bounded by the organization (ie.: period of inactivity). Because of the nature of these messages, it is expected that the consumer is interested in the content of these messages. Therefore, they have a different treatment from marketing messages, and have a higher acceptance and opening rate. >DISCLAIMER > >Please notice that this platform is more delicate in regards to the nature and processing of its messages. > >It should NOT be used as a mean of mass marketing, scams, phishing or overall unruly behaviour. > >Failure to comply may lead to limitation of use and even termination of account. ***
This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.
- API version: V2
- Package version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen
Put the package under your project folder and add the following in import:
import "./swagger"
All URIs are relative to https://slingshot.egoiapp.com/api/
Class | Method | HTTP request | Description |
---|---|---|---|
AlertsApi | ChangeAlertTemplate | Patch /v2/alert/template/{id} | Change Single Alert Template |
AlertsApi | CreateAlertTemplate | Post /v2/alert/template | Create Alert Template |
AlertsApi | ExecuteEmailAlert | Post /v2/alert/action/execute | Execute Alert |
AlertsApi | ListMultiChannel | Get /v2/alert/template/{id} | Get Single Alert Template |
AlertsApi | ListMultiChannel1 | Get /v2/alert/template | Get All Alert Template |
AlertsApi | RemoveAlertTemplate | Delete /v2/alert/template/{id} | Remove Alert Template |
AlertsApi | StopAlert | Post /v2/alert/action/stop | Stop Alert |
DefaultApi | RedocStyleDoc | Get /v2/redoc | |
DomainsApi | AddDomain | Post /v2/domain | Create New Domain |
DomainsApi | ChangeDefaultDomain | Post /v2/domain/default | Change Default Domain |
DomainsApi | ListDefaultDomain | Get /v2/domain/default | Get Default Domain |
DomainsApi | ListDomain | Get /v2/domain/{id} | Get Single Domain |
DomainsApi | ListDomains | Get /v2/domain | Get All Domains |
DomainsApi | ValidateDomain | Get /v2/domain/{id}/validate | Validate Single Domain |
EmailApi | SendEmailMessages | Post /v2/email/messages/action/send | Send an Email Message |
GroupsApi | ListGroups | Get /v2/groups | Get All Groups |
MessageInformationApi | ListAllEmailMessages | Get /v2/email/messages | Get All Email Messages |
MessageInformationApi | ListAllSmsMessages | Get /v2/sms/messages | Get All Sms Messages |
MessageInformationApi | ListSingleEmailMessage | Get /v2/email/messages/{id} | Get Single Email Messages |
MessageInformationApi | ListSingleSmsMessage | Get /v2/sms/messages/{id} | Get Single Sms Messages |
MultiChannelApi | CreateMultiChannelFlow | Post /v2/multi-channel/flow | Create Multi-Channel Flow |
MultiChannelApi | ExecuteMultiChannel | Post /v2/multi-channel/execute | Execute Multi-Channel |
MultiChannelApi | ListMultiChannel2 | Get /v2/multi-channel/flow/{id} | Get Single Multi-Channel Flow |
MultiChannelApi | ListMultiChannels | Get /v2/multi-channel/flow | Get All Multi-Channel Flows |
MultiChannelApi | RemoveMultiChannel | Delete /v2/multi-channel/flow/{id} | Remove Single Multi-Channel |
PushApi | AddApp | Post /v2/apps | Create App |
PushApi | AddPushTemplate | Post /v2/push/templates | Create Push Template |
PushApi | DeleteApp | Delete /v2/apps/{id} | Remove App |
PushApi | DeletePushTemplate | Delete /v2/push/templates/{id} | Remove Push Template |
PushApi | ListApp | Get /v2/apps/{id} | Get an App |
PushApi | ListApps | Get /v2/apps | Get All Apps |
PushApi | ListPushTemplate | Get /v2/push/templates/{id} | Get an Push Template |
PushApi | ListPushTemplates | Get /v2/push/templates | Get All Push Templates |
PushApi | SendPushMessages | Post /v2/push/messages/action/send | Send a Push Message |
PushApi | UpdateApp | Put /v2/apps/{id} | Update App |
PushApi | UpdatePushTemplate | Patch /v2/push/templates/{id} | Update Push Template |
ReportsApi | ProduceEmailReport | Get /v2/email/reports | Get Email Report |
ReportsApi | ProduceSmsReport | Get /v2/sms/reports | Get Sms Report |
ScheduleApi | CancelScheduledMessage | Post /v2/messages/{id}/action/send | Cancel a Scheduled Message |
SendersApi | GetEmailSenders | Get /v2/email/senders | Get All Email Senders |
SendersApi | GetSmsSenders | Get /v2/sms/senders | Get All Sms Senders |
SmsApi | SendSmsMessages | Post /v2/sms/messages/action/send | Send an SMS Message |
UtilitiesApi | EmailValidator | Post /v2/emailValidator | Email Validator |
UtilitiesApi | HtmlToPdf | Post /v2/htmlToPdfConverter | HTML to PDF converter |
UtilitiesApi | PingApi | Get /v2/ping | Ping API |
UtilitiesApi | SmsLengthCalculator | Post /v2/smsLengthCalculator | SMS Length Calculator |
UtilitiesApi | ValidatePhone | Get /v2/validate-phone/{number} | Validate Phone |
VerifyApi | CancelVerify | Post /v2/verify/{id}/cancel | Cancel Verify Request |
VerifyApi | GetVerify | Get /v2/verify/{id} | Get Verify Request |
VerifyApi | RequestVerify | Post /v2/verify/request | Request Verify |
VerifyApi | ResendVerify | Post /v2/verify/{id}/resend | Resend Verify Code |
VerifyApi | ValidateVerifyCode | Post /v2/verify/{id}/validate | Validate Verify Code |
WebhooksApi | AddWebHook | Post /v2/webhooks | Create new Webhook |
WebhooksApi | ListWebHooks | Get /v2/webhooks | Get All Webhooks |
WebhooksApi | RemoveWebHook | Delete /v2/webhooks | Remove Webhook |
- AlertEmail
- AlertIdResponse
- AlertPush
- AlertSms
- AlertTemplateIdResponse
- AlertTemplateRequest
- AlertTemplateResponse
- AttachmentRequest
- Body
- Body1
- CancelAlertRequest
- CheckVerifyResponse
- CompleteEmailMessageResponse
- CompleteSmsMessageResponse
- DefaultDomainRequest
- DomainRequest
- DomainResponse
- EmailReportResponse
- EmailSenderResponse
- EmailValidatorRequest
- EmailValidatorResponse
- Error400
- Error401
- Error403
- Error404
- Error500
- ErrorGenericResponse
- ExecuteMultiChannelRequest
- GetWebhooksResponse
- GroupResponse
- HeaderOptionsRequest
- HtmlToPdfRequest
- HtmlToPdfResponse
- JsonObject
- ManualEmail
- ManualPush
- ManualSms
- MobileAppIdResponse
- MobileAppRequest
- MobileAppResponse
- MultiChannelFlowIdResponse
- MultiChannelFlowRequest
- MultiChannelFlowResponse
- MultiChannelIdResponse
- MultiChannelMessageObject
- OneOfbody
- OneOfbody1
- PartialEmailMessageResponse
- PartialSmsMessageResponse
- PingResponse
- PushTemplateRequest
- SendMessageIdResponse
- SenderMultiChannelObject
- SinglePushTemplateResponse
- SmsLengthCalculatorRequest
- SmsLengthCalculatorResponse
- SmsReportResponse
- SmsSenderResponse
- TemplateEmail
- TemplateIdResponse
- TemplatePush
- TemplateSms
- ToEmailAlertObject
- ToMultiChannelObject
- ToPushAlertObject
- ToPushAlertObjectMergeTags
- ToSmsAlertObject
- ValidateCodeVerifyRequest
- ValidateDomainResponse
- ValidatePhoneResponse
- VerifyIdResponse
- VerifyRequest
- WebhookEmail
- WebhookIdResponse
- WebhookPush
- WebhookSms
- Type: API key
Example
auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
Key: "APIKEY",
Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)