{"info":{"name":"Email API v1.0","description":"Use Email APIs to deliver secure transactional, notification, and lifecycle messages.","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},"item":[{"name":"Health","item":[{"name":"Ping the server","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/ping","host":["{{baseUrl}}"],"path":["ping"]},"description":"Ping the server"},"response":[]}]},{"name":"User","item":[{"name":"Login as user","request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"noauth"},"url":{"raw":"{{baseUrl}}/api/user/login","host":["{{baseUrl}}"],"path":["api","user","login"]},"description":"Login as user","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Request password reset","request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"noauth"},"url":{"raw":"{{baseUrl}}/api/user/forgot-password","host":["{{baseUrl}}"],"path":["api","user","forgot-password"]},"description":"Sends a password reset link to the user's email address if the user exists and is not blocked.","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Refresh user access token","request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"noauth"},"url":{"raw":"{{baseUrl}}/api/user/refresh","host":["{{baseUrl}}"],"path":["api","user","refresh"]},"description":"Refresh user access token","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Reset user password","request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"noauth"},"url":{"raw":"{{baseUrl}}/api/user/reset-password","host":["{{baseUrl}}"],"path":["api","user","reset-password"]},"description":"Resets the user's password using a valid reset token received via email.","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get authenticated user's own details","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/self","host":["{{baseUrl}}"],"path":["api","user","self"]},"description":"Returns the details of the currently authenticated user."},"response":[]},{"name":"List sending identities for the authenticated user","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/sending-identities","host":["{{baseUrl}}"],"path":["api","user","sending-identities"],"query":[{"key":"page","value":"","disabled":true},{"key":"limit","value":"","disabled":true},{"key":"search","value":"","disabled":true},{"key":"sortBy","value":"","disabled":true},{"key":"sortOrder","value":"","disabled":true}]},"description":"List sending identities for the authenticated user"},"response":[]},{"name":"Create a new sending identity for the authenticated user","request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/sending-identities","host":["{{baseUrl}}"],"path":["api","user","sending-identities"]},"description":"Create a new sending identity for the authenticated user","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Delete a sending identity for the authenticated user","request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/sending-identities/:id","host":["{{baseUrl}}"],"path":["api","user","sending-identities",":id"],"variable":[{"key":"id","value":"<id>"}]},"description":"Delete a sending identity for the authenticated user"},"response":[]},{"name":"Get the current API key for the authenticated user","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/api-key","host":["{{baseUrl}}"],"path":["api","user","api-key"]},"description":"Get the current API key for the authenticated user"},"response":[]},{"name":"Generate or rotate the API key for the authenticated user","request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/api-key/rotate","host":["{{baseUrl}}"],"path":["api","user","api-key","rotate"]},"description":"Generate or rotate the API key for the authenticated user","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get SMTP settings for the authenticated user","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/smtp-settings","host":["{{baseUrl}}"],"path":["api","user","smtp-settings"]},"description":"Get SMTP settings for the authenticated user"},"response":[]},{"name":"Create or update SMTP settings for the authenticated user","request":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/smtp-settings","host":["{{baseUrl}}"],"path":["api","user","smtp-settings"]},"description":"Create or update SMTP settings for the authenticated user","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"List groups for the authenticated user","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/groups","host":["{{baseUrl}}"],"path":["api","user","groups"],"query":[{"key":"page","value":"","disabled":true},{"key":"limit","value":"","disabled":true},{"key":"search","value":"","disabled":true},{"key":"sortBy","value":"","disabled":true},{"key":"sortOrder","value":"","disabled":true}]},"description":"List groups for the authenticated user"},"response":[]},{"name":"Create a new group for the authenticated user","request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/groups","host":["{{baseUrl}}"],"path":["api","user","groups"]},"description":"Create a new group for the authenticated user","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Add a contact to a group for the authenticated user","request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/groups/:groupId/contacts","host":["{{baseUrl}}"],"path":["api","user","groups",":groupId","contacts"],"variable":[{"key":"groupId","value":"<groupId>"}]},"description":"Add a contact to a group for the authenticated user","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Update contact details (name/status) for a contact within a group for the authenticated user","request":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/groups/:groupId/contacts/:contactId","host":["{{baseUrl}}"],"path":["api","user","groups",":groupId","contacts",":contactId"],"variable":[{"key":"groupId","value":"<groupId>"},{"key":"contactId","value":"<contactId>"}]},"description":"Update contact details (name/status) for a contact within a group for the authenticated user","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Remove a contact from a group for the authenticated user","request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/groups/:groupId/contacts/:contactId","host":["{{baseUrl}}"],"path":["api","user","groups",":groupId","contacts",":contactId"],"variable":[{"key":"groupId","value":"<groupId>"},{"key":"contactId","value":"<contactId>"}]},"description":"Remove a contact from a group for the authenticated user"},"response":[]},{"name":"List email templates for the authenticated user","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/templates","host":["{{baseUrl}}"],"path":["api","user","templates"],"query":[{"key":"page","value":"","disabled":true},{"key":"limit","value":"","disabled":true},{"key":"search","value":"","disabled":true},{"key":"sortBy","value":"","disabled":true},{"key":"sortOrder","value":"","disabled":true}]},"description":"List email templates for the authenticated user"},"response":[]},{"name":"Create a new email template for the authenticated user","request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/templates","host":["{{baseUrl}}"],"path":["api","user","templates"]},"description":"Create a new email template for the authenticated user","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get a single email template for the authenticated user","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/templates/:id","host":["{{baseUrl}}"],"path":["api","user","templates",":id"],"variable":[{"key":"id","value":"<id>"}]},"description":"Get a single email template for the authenticated user"},"response":[]},{"name":"Update an existing email template for the authenticated user","request":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/templates/:id","host":["{{baseUrl}}"],"path":["api","user","templates",":id"],"variable":[{"key":"id","value":"<id>"}]},"description":"Update an existing email template for the authenticated user","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Archive (soft delete) an email template for the authenticated user","request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/templates/:id","host":["{{baseUrl}}"],"path":["api","user","templates",":id"],"variable":[{"key":"id","value":"<id>"}]},"description":"Archive (soft delete) an email template for the authenticated user"},"response":[]},{"name":"Get pre-signed URL for template file upload","request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/templates/:id/get-pre-signed-url","host":["{{baseUrl}}"],"path":["api","user","templates",":id","get-pre-signed-url"],"variable":[{"key":"id","value":"<id>"}]},"description":"Generates a pre-signed URL for uploading a file attachment to a specific template. The template must belong to the authenticated user. A unique file key will be generated automatically and stored as a template attachment.","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Trigger template attachment upload completion","request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/templates/:id/trigger","host":["{{baseUrl}}"],"path":["api","user","templates",":id","trigger"],"variable":[{"key":"id","value":"<id>"}]},"description":"Marks template attachments as uploaded after files have been successfully uploaded to S3 using the pre-signed URLs. The template must belong to the authenticated user.","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"List all template attachments","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/templates/:id/attachments","host":["{{baseUrl}}"],"path":["api","user","templates",":id","attachments"],"variable":[{"key":"id","value":"<id>"}]},"description":"Retrieves all attachments for a specific template. The template must belong to the authenticated user. Returns attachments ordered by creation date (newest first), each with a pre-signed read URL."},"response":[]},{"name":"Delete a template attachment","request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/templates/:id/attachments/:attachmentId","host":["{{baseUrl}}"],"path":["api","user","templates",":id","attachments",":attachmentId"],"variable":[{"key":"id","value":"<id>"},{"key":"attachmentId","value":"<attachmentId>"}]},"description":"Deletes a template attachment by ID. The attachment must belong to the specified template, and the template must belong to the authenticated user. This will also delete the file from S3."},"response":[]},{"name":"Get details of a group for the authenticated user","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/groups/:id","host":["{{baseUrl}}"],"path":["api","user","groups",":id"],"variable":[{"key":"id","value":"<id>"}]},"description":"Get details of a group for the authenticated user"},"response":[]},{"name":"Update an existing group for the authenticated user","request":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/groups/:id","host":["{{baseUrl}}"],"path":["api","user","groups",":id"],"variable":[{"key":"id","value":"<id>"}]},"description":"Update an existing group for the authenticated user","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Delete a group for the authenticated user","request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/groups/:id","host":["{{baseUrl}}"],"path":["api","user","groups",":id"],"variable":[{"key":"id","value":"<id>"}]},"description":"Delete a group for the authenticated user"},"response":[]},{"name":"Create a new import job for the authenticated user","request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/imports/:groupId","host":["{{baseUrl}}"],"path":["api","user","imports",":groupId"],"variable":[{"key":"groupId","value":"<groupId>"}]},"description":"Creates an import job for a specific group and returns a presigned URL for uploading a CSV file. The file must be a CSV file.","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Trigger an import job for processing","request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/imports/:groupId/:id/trigger","host":["{{baseUrl}}"],"path":["api","user","imports",":groupId",":id","trigger"],"variable":[{"key":"groupId","value":"<groupId>"},{"key":"id","value":"<id>"}]},"description":"Triggers a pending import job to start processing. The import job must be in PENDING status. Once triggered, the job status will change to QUEUED and will be processed by the worker.","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"List all import jobs for a specific group","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/imports/:groupId/all","host":["{{baseUrl}}"],"path":["api","user","imports",":groupId","all"],"query":[{"key":"page","value":"","disabled":true},{"key":"limit","value":"","disabled":true},{"key":"search","value":"","disabled":true},{"key":"sortBy","value":"","disabled":true},{"key":"sortOrder","value":"","disabled":true}],"variable":[{"key":"groupId","value":"<groupId>"}]},"description":"Retrieves a paginated list of all import jobs for a specific group created by the authenticated user. Supports search, sorting, and pagination. Search is performed on the original_name field (case-insensitive)."},"response":[]},{"name":"List email campaigns for the authenticated user","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/campaigns","host":["{{baseUrl}}"],"path":["api","user","campaigns"],"query":[{"key":"page","value":"","disabled":true},{"key":"limit","value":"","disabled":true},{"key":"search","value":"","disabled":true},{"key":"sortBy","value":"","disabled":true},{"key":"sortOrder","value":"","disabled":true}]},"description":"Retrieves a paginated list of campaigns for the authenticated user. Supports search and sorting."},"response":[]},{"name":"Create a new email campaign for the authenticated user","request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/campaigns","host":["{{baseUrl}}"],"path":["api","user","campaigns"]},"description":"Creates a new email campaign in DRAFT status. The from_email domain must match a verified (ACTIVE) sending identity for the user. Target groups must belong to the user.","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get a single email campaign for the authenticated user","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/campaigns/:id","host":["{{baseUrl}}"],"path":["api","user","campaigns",":id"],"variable":[{"key":"id","value":"<id>"}]},"description":"Retrieves detailed information about a specific campaign by ID. The campaign must belong to the authenticated user and not be deleted."},"response":[]},{"name":"Update an existing email campaign for the authenticated user","request":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/campaigns/:id","host":["{{baseUrl}}"],"path":["api","user","campaigns",":id"],"variable":[{"key":"id","value":"<id>"}]},"description":"Updates an existing campaign. All fields are optional - only provided fields will be updated. The campaign must be in DRAFT or SCHEDULED status to be edited. The from_email domain must match a verified (ACTIVE) sending identity for the user. Target groups must belong to the user.","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Delete (soft delete) an email campaign for the authenticated user","request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/campaigns/:id","host":["{{baseUrl}}"],"path":["api","user","campaigns",":id"],"variable":[{"key":"id","value":"<id>"}]},"description":"Soft deletes a campaign by setting is_deleted to true. The campaign will no longer appear in list queries but data is preserved."},"response":[]},{"name":"Get campaign analytics for the authenticated user","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/campaigns/:id/analytics","host":["{{baseUrl}}"],"path":["api","user","campaigns",":id","analytics"],"variable":[{"key":"id","value":"<id>"}]},"description":"Returns delivery status counts and calculated rates for a specific campaign. Queued emails are excluded."},"response":[]},{"name":"Get campaign link analytics for the authenticated user","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/campaigns/:id/link-analytics","host":["{{baseUrl}}"],"path":["api","user","campaigns",":id","link-analytics"],"query":[{"key":"page","value":"","disabled":true},{"key":"limit","value":"","disabled":true},{"key":"search","value":"","disabled":true}],"variable":[{"key":"id","value":"<id>"}]},"description":"Returns a paginated list of tracked links for a campaign with click counts. Supports search by URL or token."},"response":[]},{"name":"Get pre-signed URL for user file upload","request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/files/get-pre-signed-url","host":["{{baseUrl}}"],"path":["api","user","files","get-pre-signed-url"]},"description":"Generates a pre-signed URL for uploading a file to S3. The file name and type are required. A unique file key will be generated automatically.","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get MIS report for the authenticated user","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/mis-report","host":["{{baseUrl}}"],"path":["api","user","mis-report"],"query":[{"key":"page","value":"","disabled":true},{"key":"limit","value":"","disabled":true},{"key":"endDate","value":"","disabled":true},{"key":"startDate","value":"","disabled":true},{"key":"campaignId","value":"","disabled":true},{"key":"emailSource","value":"","disabled":true}]},"description":"Retrieves a paginated MIS report with email metrics aggregated by date. Automatically filters by the authenticated user's ID. Users can only see their own data."},"response":[]},{"name":"Get delivery log report for the authenticated user","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/delivery-log-report","host":["{{baseUrl}}"],"path":["api","user","delivery-log-report"],"query":[{"key":"page","value":"","disabled":true},{"key":"limit","value":"","disabled":true},{"key":"emailSource","value":"","disabled":true}]},"description":"Retrieves a paginated delivery log report for the authenticated user. Includes email, status, delivery time, and submission time."},"response":[]},{"name":"Get user recharge logs (paginated)","request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/user/recharge-logs","host":["{{baseUrl}}"],"path":["api","user","recharge-logs"],"query":[{"key":"page","value":"","disabled":true},{"key":"limit","value":"","disabled":true},{"key":"search","value":"","disabled":true},{"key":"sortBy","value":"","disabled":true},{"key":"sortOrder","value":"","disabled":true}]},"description":"Retrieves a paginated list of recharge logs for the authenticated user. Supports search and sort by created_at or credit_amount."},"response":[]}]},{"name":"Transactional Email","item":[{"name":"Send a single transactional email","request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{accessToken}}","type":"string"}]},"url":{"raw":"{{baseUrl}}/api/transactional-email/send","host":["{{baseUrl}}"],"path":["api","transactional-email","send"]},"description":"Send a transactional email to a single recipient using an API key.","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]}]}],"variable":[{"key":"baseUrl","value":"https://email.1spoc.com","type":"string"},{"key":"accessToken","value":"","type":"string"}]}