Loading...
Loading...
Use our OpenAPI spec to generate type-safe clients in any language, import into API tools or build custom integrations.
Get the full API specification in YAML format
Our REST API works with any HTTP client. Here are examples in popular languages:
// Using fetch with our REST API
const response = await fetch('https://notifyn.net/v1/emails', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
to: 'user@example.com',
subject: 'Hello from Notify\'n',
html: '<p>Your email content</p>'
})
});const data = await response.json();
console.log(data);Use these tools to auto-generate fully typed API clients from our OpenAPI spec:
Generate TypeScript, Python, Java, Go and 50+ other language clients
openapi-generator-cli generate -i openapi.yaml -g typescript-fetch -o ./clientOfficial Swagger client generator for multiple languages
swagger-codegen generate -i openapi.yaml -l python -o ./clientGenerate TypeScript client with React Query, SWR or axios
orval --input openapi.yaml --output ./clientImport our OpenAPI spec into your favourite API development tool:
Explore all available endpoints, request/response schemas and authentication details.
View API Documentation