No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.swagger-codegen
api
docs
.gitignore
.swagger-codegen-ignore
.travis.yml
README.md
api_email_controller.go
api_inbox_controller.go
api_manage_entities.go
api_receive_emails.go
api_send_emails.go
client.go
configuration.go
git_push.sh
model_email.go
model_email_analytics.go
model_email_preview.go
model_inbox.go
model_send_email_options.go
response.go

README.md

Go API client for MailSlurp

Documentation for MailSlurp's public REST API. ### About MailSlurp is a SAAS API for sending and receiving emails from ephemeral email inboxes. These inboxes can be created on the fly and each has a unique email address. ### Why MailSlurp was built for testing software or processes that interact with email in some way. For more information see the homepage. ### Links - Get API Key - API Documentation - Official SDK Libraries - Support / Issues - Swagger JSON ### Use You can call the MailSlurp API from any HTTP client in any language. Or you use one of the official generated SDK Libraries. - Official Typescript SDK - Official Python SDK - Official C# SDK - Official Java SDK - Official Swift SDK - Official Golang SDK - Official Javascript SDK - Official PHP SDK - Official Ruby SDK You can also compile your own library with SwaggerCodegen and the Swagger Spec. Lastly, there is an interactive GUI available at demo.mailslurp.com for testing requests. ### Auth An API Key must be passed as a header in all requests. To get an API Key sign up and log in to the MailSlurp Dashboard web app. ### Terms - Inbox - A unique email address - Unlimited in number - Can send and receive emails - Email - Belongs to an inbox - Contains summary and body - Raw content stored on S3 ### Issues If you encounter issues please contact the developers or open a ticket in GitHub.

Overview

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: 0.0.1-alpha
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.GoClientCodegen For more information, please visit https://www.mailslurp.com

Installation

Put the package under your project folder and add the following in import:

import "./MailSlurp"

Documentation for API Endpoints

All URIs are relative to https://api.mailslurp.com

Class Method HTTP request Description
EmailControllerApi DeleteMessageUsingDELETE Delete /emails/{id} Delete Email
EmailControllerApi GetMessageAnalyticsUsingGET Get /emails/{id}/analytics Get Email Analytics
EmailControllerApi GetMessageUsingGET Get /emails/{id} Get Email Content
InboxControllerApi CreateInboxUsingPOST Post /inboxes Create Inbox
InboxControllerApi DeleteInboxUsingDELETE Delete /inboxes/{id} Delete Inbox
InboxControllerApi GetInboxUsingGET Get /inboxes/{id} Get Inbox
InboxControllerApi GetInboxesUsingGET Get /inboxes List Inboxes
InboxControllerApi GetMessagesUsingGET Get /inboxes/{id}/messages List Inbox's Emails
InboxControllerApi SendMessageUsingPOST Post /inboxes/{id} Send Email
ManageEntitiesApi DeleteInboxUsingDELETE Delete /inboxes/{id} Delete Inbox
ManageEntitiesApi DeleteMessageUsingDELETE Delete /emails/{id} Delete Email
ManageEntitiesApi GetInboxUsingGET Get /inboxes/{id} Get Inbox
ManageEntitiesApi GetInboxesUsingGET Get /inboxes List Inboxes
ReceiveEmailsApi CreateInboxUsingPOST Post /inboxes Create Inbox
ReceiveEmailsApi GetMessageAnalyticsUsingGET Get /emails/{id}/analytics Get Email Analytics
ReceiveEmailsApi GetMessageUsingGET Get /emails/{id} Get Email Content
ReceiveEmailsApi GetMessagesUsingGET Get /inboxes/{id}/messages List Inbox's Emails
SendEmailsApi CreateInboxUsingPOST Post /inboxes Create Inbox
SendEmailsApi SendMessageUsingPOST Post /inboxes/{id} Send Email

Documentation For Models

Documentation For Authorization

API_KEY

  • 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)

Author

contact@mailslurp.com