{
  "openapi": "3.1.0",
  "x-stoplight": {
    "id": "sf1ve3m467nhh"
  },
  "info": {
    "title": "seemailer",
    "version": "1.0",
    "summary": "Novugrid's in-house Email Engager",
    "contact": {
      "name": "Lekan",
      "email": "lekan@novugrid.com"
    },
    "description": "Default Api Key `eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7InVzZXJJZCI6MywidXVpZCI6ImYxODgxNzQzLWQ1ZDUtNDQ3MC1hNjg4LTc1ZTY1MDRkMzgxYyIsImVtYWlsIjoibGVrYW5AZ21haWwuY29tIn0sImlhdCI6MTY2NTY1ODU1NH0.tt61uFLSbuZIsew6iVqhD_yG6Wr8K6uuuIO_TBr5glg`"
  },
  "servers": [
    {
      "url": "https://api.seamailer.app",
      "description": "Live Server"
    },
    {
      "description": "Local Server",
      "url": "http://localhost:8085"
    }
  ],
  "paths": {
    "/v1.0/auth/register": {
      "parameters": [],
      "post": {
        "summary": "Register a new user",
        "operationId": "post-v1.0-auth-register",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "tags": [
          "Authentication"
        ],
        "description": "Register a new user",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  },
                  "firstName": {
                    "type": "string"
                  },
                  "lastName": {
                    "type": "string"
                  },
                  "companyName": {
                    "type": "string"
                  }
                },
                "x-examples": {
                  "example-1": {
                    "email": "string",
                    "password": "string",
                    "firstName": "string",
                    "lastName": "",
                    "companyName": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1.0/auth/login": {
      "post": {
        "summary": "Login",
        "operationId": "post-v1.0-auth-login",
        "responses": {
          "200": {
            "$ref": "#/components/responses/LoginResponse"
          }
        },
        "tags": [
          "Authentication"
        ],
        "description": "",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  }
                },
                "x-examples": {
                  "example-1": {
                    "email": "string",
                    "password": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1.0/campaigns/create": {
      "post": {
        "summary": "Create Campaign Draft",
        "operationId": "post-v1.0-campaign-create",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "x-examples": {
                    "example-1": {
                      "code": 200,
                      "data": {
                        "campaign": {
                          "id": 4,
                          "userId": 3,
                          "name": null,
                          "subject": null,
                          "senderId": null,
                          "templateId": null,
                          "groupId": null,
                          "isPublished": false,
                          "status": "not-sent",
                          "trackType": "track",
                          "isArchived": false,
                          "createdAt": "2022-10-13T11:18:43.000Z",
                          "updatedAt": "2022-10-13T11:18:43.000Z",
                          "deletedAt": null
                        }
                      },
                      "message": "Success",
                      "devMessage": "",
                      "success": true
                    }
                  },
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "campaign": {
                          "$ref": "#/components/schemas/Campaign"
                        }
                      }
                    },
                    "message": {
                      "type": "string"
                    },
                    "devMessage": {
                      "type": "string"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "",
        "security": [
          {
            "Authorization": []
          }
        ],
        "tags": [
          "Campaigns"
        ]
      },
      "parameters": []
    },
    "/v1.0/campaigns/{campaignId}/update": {
      "patch": {
        "summary": "Update Campaign",
        "operationId": "patch-v1.0-campaign-id-update",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "x-examples": {
                    "example-1": {
                      "code": 200,
                      "data": {
                        "campaign": {
                          "id": 4,
                          "userId": 3,
                          "name": "null",
                          "subject": "null",
                          "senderId": null,
                          "templateId": null,
                          "groupId": null,
                          "isPublished": false,
                          "status": "not-sent",
                          "trackType": "track",
                          "isArchived": false,
                          "createdAt": "2022-10-13T11:18:43.000Z",
                          "updatedAt": "2022-10-13T11:18:43.000Z",
                          "deletedAt": null
                        }
                      },
                      "message": "Success",
                      "devMessage": "",
                      "success": true
                    }
                  },
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "campaign": {
                          "$ref": "#/components/schemas/Campaign"
                        }
                      }
                    },
                    "message": {
                      "type": "string"
                    },
                    "devMessage": {
                      "type": "string"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "subject": {
                    "type": "string"
                  },
                  "senderId": {
                    "type": "integer"
                  },
                  "templateId": {
                    "type": "integer"
                  },
                  "groupId": {
                    "type": "integer"
                  },
                  "isPublished": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "string"
                  },
                  "isArchived": {
                    "type": "boolean"
                  }
                },
                "x-examples": {
                  "example-1": {
                    "name": "string",
                    "subject": "string",
                    "senderId": 0,
                    "templateId": 0,
                    "groupId": 0,
                    "isPublished": false,
                    "status": "string",
                    "isArchived": false
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ],
        "tags": [
          "Campaigns"
        ]
      },
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "campaignId",
          "in": "path",
          "required": true
        }
      ]
    },
    "/v1.0/campaigns/{campaignId}": {
      "get": {
        "summary": "Get Campaign by Id",
        "tags": [
          "Campaigns"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "x-examples": {
                    "example-1": {
                      "code": 200,
                      "data": {
                        "campaign": {
                          "id": 4,
                          "userId": 3,
                          "name": "Look at our new features",
                          "subject": "Amazing new features",
                          "senderId": null,
                          "templateId": null,
                          "groupId": null,
                          "isPublished": true,
                          "status": "not-sent",
                          "trackType": "track",
                          "isArchived": false,
                          "createdAt": "2022-10-13T11:18:43.000Z",
                          "updatedAt": "2022-10-13T11:25:23.636Z",
                          "deletedAt": null
                        }
                      },
                      "message": "Success",
                      "devMessage": "",
                      "success": true
                    }
                  },
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "campaign": {
                          "$ref": "#/components/schemas/Campaign"
                        }
                      }
                    },
                    "message": {
                      "type": "string"
                    },
                    "devMessage": {
                      "type": "string"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "get-v1.0-campaign-id",
        "security": [
          {
            "Authorization": []
          }
        ]
      },
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "campaignId",
          "in": "path",
          "required": true
        }
      ]
    },
    "/v1.0/campaigns": {
      "get": {
        "summary": "Get All Campaigns",
        "tags": [
          "Campaigns"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "x-examples": {
                    "example-1": {
                      "code": 200,
                      "data": {
                        "campaign": {
                          "id": 4,
                          "userId": 3,
                          "name": "Look at our new features",
                          "subject": "Amazing new features",
                          "senderId": null,
                          "templateId": null,
                          "groupId": null,
                          "isPublished": true,
                          "status": "not-sent",
                          "trackType": "track",
                          "isArchived": false,
                          "createdAt": "2022-10-13T11:18:43.000Z",
                          "updatedAt": "2022-10-13T11:25:23.636Z",
                          "deletedAt": null
                        }
                      },
                      "message": "Success",
                      "devMessage": "",
                      "success": true
                    }
                  },
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "campaigns": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/Campaign"
                          }
                        }
                      }
                    },
                    "message": {
                      "type": "string"
                    },
                    "devMessage": {
                      "type": "string"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "get-v1.0-campaigns",
        "security": [
          {
            "Authorization": []
          }
        ]
      },
      "parameters": []
    },
    "/v1.0/campaigns/send": {
      "post": {
        "summary": "Send Campaign",
        "operationId": "post-v1.0-campaign-send",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "description": "",
        "tags": [
          "Campaigns"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "campaignId": {
                    "type": "integer"
                  }
                },
                "x-examples": {
                  "example-1": {
                    "campaignId": 0
                  }
                }
              }
            }
          }
        }
      },
      "parameters": []
    },
    "/v1.0/contacts": {
      "get": {
        "summary": "Get All Contacts",
        "tags": [
          "Contacts"
        ],
        "responses": {},
        "operationId": "get-v1.0-contacts"
      },
      "post": {
        "summary": "Create Contacts",
        "operationId": "post-v1.0-contacts",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "tags": [
          "Contacts"
        ],
        "description": "",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "contacts": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "userId": {
                          "type": "integer"
                        },
                        "name": {
                          "type": "string"
                        },
                        "email": {
                          "type": "string"
                        },
                        "firstName": {
                          "type": "string"
                        },
                        "lastName": {
                          "type": "string"
                        },
                        "phoneCountry": {
                          "type": "string"
                        },
                        "phoneNumber": {
                          "type": "string"
                        }
                      }
                    }
                  }
                },
                "x-examples": {
                  "example-1": {
                    "contacts": [
                      {
                        "userId": 0,
                        "name": "string",
                        "email": "string",
                        "firstName": "string",
                        "lastName": "string",
                        "phoneCountry": "string",
                        "phoneNumber": "string"
                      }
                    ]
                  }
                }
              },
              "examples": {}
            }
          }
        }
      }
    },
    "/v1.0/contacts/{contactId}": {
      "get": {
        "summary": "Get Contact by Id",
        "tags": [
          "Contacts"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "operationId": "get-v1.0-contacts-id"
      },
      "patch": {
        "summary": "Update Contact",
        "operationId": "patch-v1.0-contacts-id",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "userId": {
                    "type": "integer"
                  },
                  "name": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "firstName": {
                    "type": "string"
                  },
                  "lastName": {
                    "type": "string"
                  },
                  "phoneCountry": {
                    "type": "string"
                  },
                  "phoneNumber": {
                    "type": "string"
                  }
                },
                "x-examples": {
                  "example-1": {
                    "userId": 0,
                    "name": "string",
                    "email": "string",
                    "firstName": "string",
                    "lastName": "string",
                    "phoneCountry": "string",
                    "phoneNumber": "string"
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Contacts"
        ]
      },
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "contactId",
          "in": "path",
          "required": true
        }
      ]
    },
    "/v1.0/groups": {
      "get": {
        "summary": "Get All Groups",
        "tags": [
          "Groups"
        ],
        "responses": {},
        "operationId": "get-v1.0-groups"
      },
      "post": {
        "summary": "Create Groups",
        "operationId": "post-v1.0-groups",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "tags": [
          "Groups"
        ],
        "description": "",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "userId": {
                    "type": "integer"
                  },
                  "name": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  }
                },
                "x-examples": {
                  "example-1": {
                    "userId": 0,
                    "name": "string",
                    "description": "string"
                  }
                }
              },
              "examples": {}
            }
          }
        }
      },
      "parameters": []
    },
    "/v1.0/groups/{groupId}": {
      "get": {
        "summary": "Get Group by Id",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "operationId": "get-v1.0-groups-id",
        "tags": [
          "Groups"
        ]
      },
      "patch": {
        "summary": "Update Group",
        "operationId": "patch-v1.0-group-id",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "userId": {
                    "type": "integer"
                  },
                  "name": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "firstName": {
                    "type": "string"
                  },
                  "lastName": {
                    "type": "string"
                  },
                  "phoneCountry": {
                    "type": "string"
                  },
                  "phoneNumber": {
                    "type": "string"
                  }
                },
                "x-examples": {
                  "example-1": {
                    "userId": 0,
                    "name": "string",
                    "email": "string",
                    "firstName": "string",
                    "lastName": "string",
                    "phoneCountry": "string",
                    "phoneNumber": "string"
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Groups"
        ],
        "description": ""
      },
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "groupId",
          "in": "path",
          "required": true
        }
      ],
      "delete": {
        "summary": "Delete a Group by Id",
        "operationId": "delete-v1.0-groups-groupId",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "description": "",
        "tags": [
          "Groups"
        ]
      }
    },
    "/v1.0/groups/{groupId}/add-contact": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "groupId",
          "in": "path",
          "required": true
        }
      ],
      "post": {
        "summary": "Add Contacts to Group",
        "operationId": "post-v1.0-groups-groupId-add-contact",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "tags": [
          "Groups"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "contactIds": {
                    "type": "array",
                    "items": {
                      "type": "integer"
                    }
                  }
                },
                "x-examples": {
                  "example-1": {
                    "contactIds": [
                      0
                    ]
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1.0/groups/{groupId}/remove-contact": {
      "patch": {
        "summary": "Remove Contact from Group",
        "operationId": "patch-v1.0-group-id-remove-conatact",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "contactIds": {
                    "type": "array",
                    "items": {
                      "type": "integer"
                    }
                  }
                },
                "x-examples": {
                  "example-1": {
                    "contactIds": [
                      0
                    ]
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Groups"
        ],
        "description": ""
      },
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "groupId",
          "in": "path",
          "required": true
        }
      ]
    },
    "/v1.0/groups/{groupId}/contacts": {
      "get": {
        "summary": "Get Group contacts",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "operationId": "get-v1.0-groups-id-contacts",
        "tags": [
          "Groups"
        ]
      },
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "groupId",
          "in": "path",
          "required": true
        }
      ]
    },
    "/v1.0/senders": {
      "get": {
        "summary": "Get All Senders",
        "responses": {},
        "operationId": "get-v1.0-senders",
        "tags": [
          "Senders"
        ],
        "description": ""
      },
      "post": {
        "summary": "Create Senders",
        "operationId": "post-v1.0-senders",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "description": "",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "x-examples": {
                  "example-1": {
                    "userId": 0,
                    "fromName": "",
                    "senderEmail": "",
                    "url": "",
                    "address": ""
                  }
                },
                "properties": {
                  "userId": {
                    "type": "integer"
                  },
                  "fromName": {
                    "type": "string"
                  },
                  "senderEmail": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  },
                  "address": {
                    "type": "string"
                  }
                },
                "required": [
                  "userId",
                  "fromName",
                  "senderEmail"
                ]
              },
              "examples": {}
            }
          }
        },
        "tags": [
          "Senders"
        ]
      },
      "parameters": []
    },
    "/v1.0/users/profile": {
      "get": {
        "summary": "Get User Profile",
        "responses": {},
        "operationId": "get-v1.0-users-profile",
        "description": "",
        "tags": [
          "Users"
        ]
      },
      "parameters": []
    },
    "/v1.0/users/profile/key/generate": {
      "post": {
        "summary": "Generate Profile Public Key",
        "operationId": "post-v1.0-users",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "publicKey": {
                      "type": "string"
                    }
                  },
                  "x-examples": {
                    "example-1": {
                      "publicKey": "userApiKey.publicKey "
                    }
                  }
                }
              }
            }
          }
        },
        "description": "",
        "tags": [
          "Users"
        ]
      },
      "parameters": []
    }
  },
  "components": {
    "schemas": {
      "User": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "uuid": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "companyName": {
            "type": "null"
          },
          "isActive": {
            "type": "boolean"
          },
          "isVerified": {
            "type": "boolean"
          },
          "has2FA": {
            "type": "boolean"
          },
          "lastLogin": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          },
          "deletedAt": {
            "type": "null"
          }
        },
        "x-examples": {
          "example-1": {
            "id": 3,
            "uuid": "f1881743-d5d5-4470-a688-75e6504d381c",
            "email": "lekan@gmail.com",
            "firstName": "Noja",
            "lastName": "Mailer",
            "companyName": null,
            "isActive": true,
            "isVerified": false,
            "has2FA": false,
            "lastLogin": "2022-09-30T22:41:07.000Z",
            "createdAt": "2022-09-30T22:41:07.000Z",
            "updatedAt": "2022-09-30T22:41:07.000Z",
            "deletedAt": null
          }
        }
      },
      "Campaign": {
        "type": "object",
        "x-examples": {
          "example-1": {
            "id": 4,
            "userId": 3,
            "name": null,
            "subject": null,
            "senderId": null,
            "templateId": null,
            "groupId": null,
            "isPublished": false,
            "status": "not-sent",
            "trackType": "track",
            "isArchived": false,
            "createdAt": "2022-10-13T11:18:43.000Z",
            "updatedAt": "2022-10-13T11:18:43.000Z",
            "deletedAt": null
          }
        },
        "properties": {
          "id": {
            "type": "integer"
          },
          "userId": {
            "type": "integer"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "subject": {
            "type": [
              "null",
              "string"
            ]
          },
          "senderId": {
            "type": [
              "null",
              "number"
            ]
          },
          "templateId": {
            "type": [
              "null",
              "number"
            ]
          },
          "groupId": {
            "type": [
              "null",
              "number"
            ]
          },
          "isPublished": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "trackType": {
            "type": "string"
          },
          "isArchived": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          },
          "deletedAt": {
            "type": "null"
          }
        }
      },
      "Group": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "userId": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "contactsCount": {
            "type": "integer"
          }
        },
        "x-examples": {
          "example-1": {
            "id": 0,
            "userId": 0,
            "name": "string",
            "description": "string",
            "contactsCount": 0
          }
        }
      }
    },
    "securitySchemes": {
      "Authorization": {
        "name": "Authorization",
        "in": "header",
        "description": "",
        "type": "apiKey",
        "scheme": "bearer"
      }
    },
    "responses": {
      "LoginResponse": {
        "description": "Login response",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "x-examples": {
                "example-1": {
                  "code": 200,
                  "data": {
                    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7InVzZXJJZCI6MywidXVpZCI6ImYxODgxNzQzLWQ1ZDUtNDQ3MC1hNjg4LTc1ZTY1MDRkMzgxYyIsImVtYWlsIjoibGVrYW5AZ21haWwuY29tIn0sImlhdCI6MTY2NTY1ODU1NH0.tt61uFLSbuZIsew6iVqhD_yG6Wr8K6uuuIO_TBr5glg",
                    "user": {
                      "id": 3,
                      "uuid": "f1881743-d5d5-4470-a688-75e6504d381c",
                      "email": "lekan@gmail.com",
                      "firstName": "Noja",
                      "lastName": "Mailer",
                      "companyName": null,
                      "isActive": true,
                      "isVerified": false,
                      "has2FA": false,
                      "lastLogin": "2022-09-30T22:41:07.000Z",
                      "createdAt": "2022-09-30T22:41:07.000Z",
                      "updatedAt": "2022-09-30T22:41:07.000Z",
                      "deletedAt": null
                    }
                  },
                  "message": "Success",
                  "devMessage": "",
                  "success": true
                }
              },
              "properties": {
                "code": {
                  "type": "integer"
                },
                "data": {
                  "type": "object",
                  "properties": {
                    "token": {
                      "type": "string"
                    },
                    "user": {
                      "$ref": "#/components/schemas/User"
                    }
                  }
                },
                "message": {
                  "type": "string"
                },
                "devMessage": {
                  "type": "string"
                },
                "success": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "requestBodies": {}
  },
  "tags": [
    {
      "name": "Authentication"
    },
    {
      "name": "Campaigns"
    },
    {
      "name": "Contacts"
    },
    {
      "name": "Groups"
    },
    {
      "name": "Senders"
    },
    {
      "name": "Users"
    }
  ],
  "security": [
    {
      "Authorization": []
    }
  ]
}