Giraffeness/Example-Public-API

No category

No description

πŸ’‘ Info

Version
Not specified
Homepage
Not specified
Documentation
Not specified
Repository
Not specified
Privacy policy
Not specified
Terms of service
Not specified

πŸ“œ Readme

Public Test API

Send emails using the 🌠SpaceGiraffeπŸ¦’ official email API!

Endpoints

There's only one endpoint!

email/send

POST https://utils.spacegiraffe.io/email/send

Payload:

{
  subject: <string>*,           // required email subject
  to: Array<string>,            // the email addresses to send the message to
  plainTextContent: <string>*,  // plain text content - required if htmlContent is missing
  htmlContent: <string>*,       // html content - required if plainTextContent is missing
  copyAddresses: Array<string>, // optional CC email addresses
  attachments: [{               // optional array of email attachments
    name: <string>,             // the attachment name
    base64Content: <string>     // the base64-encoded attachment file content
  }]
}

Response:

{
  succeeded: <boolean>, // indicates whether the email was sent successfully
  timestamp: <number>,  // UNIX timestamp in milliseconds
  message: <string>     // response message indicating success, or with error information if something went wrong
}

πŸ’³ Plans & pricing

Free plan

0

Because omg plan handling

Usage-only plan

010($0.001 per request)

1 week trial

1
🎊 1 week FREE trial πŸŽ‰

Different duration trial

2
🎊 1 year FREE trial πŸŽ‰

Biweekly plan

5

Usage plan

510($0.01 per request)

Really long trial

6
🎊 1 year FREE trial πŸŽ‰

Example

9
🎊 2 week FREE trial πŸŽ‰

Example plan for testing.

Monthly plan

10

New trial

20
🎊 1 week FREE trial πŸŽ‰

Quarterly plan

29

Example 2

99

Another plan for testing.