-
Notifications
You must be signed in to change notification settings - Fork 5
/
mailcheck-ai.yaml
119 lines (118 loc) · 3.16 KB
/
mailcheck-ai.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
openapi: 3.0.0
info:
title: Mailcheck.ai API
version: 1.0.0
description: Check if a domain has valid MX records and if it is disposable
servers:
- url: https://api.mailcheck.ai
paths:
/domain/{domain}:
get:
summary: Check a domain
description: Check a domain
operationId: checkDomain
parameters:
- name: domain
in: path
description: The domain to check, example gmail.com
required: true
schema:
type: string
responses:
"200":
description: Successful response
content:
application/json:
schema:
type: object
properties:
status:
type: integer
domain:
type: string
mx:
type: boolean
disposable:
type: boolean
did_you_mean:
type: string
nullable: true
"400":
description: Invalid request
content:
application/json:
schema:
type: object
properties:
status:
type: integer
error:
type: string
"429":
description: Rate limit exceeded
content:
application/json:
schema:
type: object
properties:
status:
type: integer
error:
type: string
/email/{email}:
get:
summary: Check an email
description: Check an email ID
operationId: checkEmail
parameters:
- name: email
in: path
description: The email to check, example [email protected]
required: true
schema:
type: string
responses:
"200":
description: Successful response
content:
application/json:
schema:
type: object
properties:
status:
type: integer
email:
type: string
domain:
type: string
mx:
type: boolean
disposable:
type: boolean
alias:
type: boolean
did_you_mean:
type: string
nullable: true
"400":
description: Invalid request
content:
application/json:
schema:
type: object
properties:
status:
type: integer
error:
type: string
"429":
description: Rate limit exceeded
content:
application/json:
schema:
type: object
properties:
status:
type: integer
error:
type: string