Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: SigParser Stateless Email Parsing Mime API
description: 'How to use? You can either invoke the APIs directly from your preferred language. Or you can use one of the connectors like Zapier or Integromat which makes integration much easier.
Authentication: Add a header for ''x-api-key'' to each request for parsing emails with the value of your SigParser key. You can create a free key for a few uses each day at https://sigparser.com.
You can test your API key and calls with this page. Click the ''Authorize'' button on the right to set your key for requests. Then click on one of the requests you want to make and set the JSON if required.
If you have any questions email support@sigparser.com.'
version: v1
security:
- api_key: []
tags:
- name: Mime
paths:
/api/Mime/ParseString:
post:
tags:
- Mime
summary: Post the MIME encoded email text in the body to this API.
responses:
'200':
description: Success
content:
text/plain:
schema:
$ref: '#/components/schemas/SigParser.EmailParsing.Models.CleanedBodyOutput'
application/json:
schema:
$ref: '#/components/schemas/SigParser.EmailParsing.Models.CleanedBodyOutput'
text/json:
schema:
$ref: '#/components/schemas/SigParser.EmailParsing.Models.CleanedBodyOutput'
operationId: postApiMimeParseString
x-operation-id-source: derived
components:
schemas:
SigParser.EmailParsing.Models.EmailRecipient:
type: object
properties:
Name:
type:
- string
- 'null'
EmailAddress:
type:
- string
- 'null'
additionalProperties: false
SigParser.EmailParsing.Models.Email:
type: object
properties:
CleanedBodyPlain:
type:
- string
- 'null'
CleanedBodyHtml:
type:
- string
- 'null'
Subject:
type:
- string
- 'null'
Date:
type:
- string
- 'null'
description: Date is only available if it was parsed out from the email or if it was passed in for the root email.
format: date-time
FromEmailAddress:
type:
- string
- 'null'
FromName:
type:
- string
- 'null'
To:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/SigParser.EmailParsing.Models.EmailRecipient'
Cc:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/SigParser.EmailParsing.Models.EmailRecipient'
additionalProperties: false
SigParser.EmailParsing.Models.CleanedBodyOutput:
type: object
properties:
CleanedBodyPlain:
type:
- string
- 'null'
description: The email with the signature and reply chains removed. If the email was originally HTML then this is the HTML converted to text.
CleanedBodyHtml:
type:
- string
- 'null'
description: The body of the email.
IsSpammyLookingEmailMessage:
type: boolean
description: Is this email a spammy looking message or a non-human type sender. You likely don't want to use the CleeanedBody fields when rendering this message but you could if you wanted to.
IsSpammyLookingSender:
type: boolean
description: Does the sender of this message look like they're a spammer.
EmailTypes:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/SigParser.EmailParsing.EmailType'
description: The known type of email that this is. Useful for determining how you want to display this in a user interface.
Emails:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/SigParser.EmailParsing.Models.Email'
description: Collection of all the emails extracted from the body. The first email is the most recent and the last one is the oldest. The parse quality drops off the deeper you go though since there is a bigger chance for corrupted headers.
Subject:
type:
- string
- 'null'
description: Subject of the email as it was passed into the function or extracted from the header of the email.
Date:
type:
- string
- 'null'
format: date-time
Headers:
type:
- object
- 'null'
additionalProperties:
type: string
FullPlainTextBody:
type:
- string
- 'null'
FullHtmlBody:
type:
- string
- 'null'
MsgType:
type:
- string
- 'null'
description: Type of the .msg file.
additionalProperties: false
SigParser.EmailParsing.EmailType:
enum:
- NormalEmail
- MeetingNotification
- BouncedNotification
- ZenDeskSupportChain
- SecureMessage
type: string
securitySchemes:
api_key:
type: apiKey
description: Get this key by creating an account at <a href="https://www.sigparser.com/dashboard" target="_blank">www.sigparser.com/dashboard</a>.
name: x-api-key
in: header