{
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "type": "string",
            "name": "string",
            "value": "https://gohodhod.com"
        }
    ],
    "info": {
        "name": "Hodhod Api V1 - Beta",
        "_postman_id": "a4aeddfe-b26d-479d-b168-30515146ecec",
        "description": "",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
    },
    "item": [
        {
            "name": "Newsletter",
            "description": "",
            "item": [
                {
                    "name": "Returns profile info for the newsletter.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/newsletter\/profile-info",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/newsletter\/profile-info"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"newsletter_id\":72,\"title\":\"Repellendus sit fuga error non.\",\"author\":\"Winfield Yost\",\"description\":\"Consequatur facere deserunt voluptatem iure error quia quo nihil beatae numquam enim et.\",\"image\":\"https://gohodhod.com\\\/images\\\/img-avatar-newsletter.png\",\"primary_color\":\"#13b981\",\"slug\":\"lincoln59\",\"profile_url\":\"https://gohodhod.com\\\/@lincoln59\",\"externa_links\":null}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update profile info for the newsletter.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/newsletter\/profile-info",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/newsletter\/profile-info"
                        },
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"title\":\"\u0646\u0634\u0631\u0629 \u0647\u062f\u0647\u062f \u0627\u0644\u0628\u0631\u064a\u062f\u064a\u0629\",\"author\":\"\u0639\u0645\u0627\u062f \u0627\u0644\u062f\u064a\u0646\",\"description\":\"Eaque ab repellendus perspiciatis esse aut laborum cum.\",\"primary_color\":\"#146ec2\",\"slug\":\"eum\"}"
                        },
                        "description": ""
                    },
                    "response": []
                },
                {
                    "name": "Update newsletter's profile image.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/newsletter\/profile-image",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/newsletter\/profile-image"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "multipart\/form-data"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "formdata",
                            "formdata": [
                                {
                                    "key": "image",
                                    "src": [],
                                    "type": "file"
                                }
                            ]
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "true",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Issues",
            "description": "",
            "item": [
                {
                    "name": "Fetch a listing of the newsletter's issues.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/issues",
                            "query": [
                                {
                                    "key": "status",
                                    "value": "",
                                    "description": "(optional) Filters issue based on status. Can only be: \"draft\", \"published\" or \"scheduled\"",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/issues?status="
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":57,\"subject\":\"Explicabo sint rem qui sequi rem.\",\"number\":3,\"description\":null,\"created_at\":\"2026-11-17T09:52:39.000000Z\",\"updated_at\":\"2026-11-17T09:52:39.000000Z\",\"published_at\":null,\"is_published\":false,\"is_scheduled\":false},{\"id\":58,\"subject\":\"Vel non hic nihil aut autem error iure eius.\",\"number\":1,\"description\":null,\"created_at\":\"2026-11-17T09:52:39.000000Z\",\"updated_at\":\"2026-11-17T09:52:39.000000Z\",\"published_at\":\"2026-11-19T09:52:39.000000Z\",\"is_published\":false,\"is_scheduled\":true}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":null,\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"current_page_url\":\"\\\/?page=1\",\"from\":1,\"path\":\"\\\/\",\"per_page\":\"50\",\"to\":2}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Fetch the specified issue.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/issues\/:issue_id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/issues\/:issue_id",
                            "variable": [
                                {
                                    "id": "issue_id",
                                    "key": "issue_id",
                                    "value": "1",
                                    "description": "The ID of the issue."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"id\":59,\"subject\":\"Occaecati temporibus totam voluptas.\",\"number\":1,\"description\":null,\"html_content\":null,\"created_at\":\"2026-11-17T09:52:39.000000Z\",\"updated_at\":\"2026-11-17T09:52:39.000000Z\",\"published_at\":null,\"is_published\":false,\"is_scheduled\":false}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Remove the specified issue from storage.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/issues\/:issue_id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/issues\/:issue_id",
                            "variable": [
                                {
                                    "id": "issue_id",
                                    "key": "issue_id",
                                    "value": "1",
                                    "description": "The ID of the issue."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "true",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Publish the specified issue immediatly.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/issues\/:issue_id\/publish",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/issues\/:issue_id\/publish",
                            "variable": [
                                {
                                    "id": "issue_id",
                                    "key": "issue_id",
                                    "value": "1",
                                    "description": "The ID of the issue."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "true",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Schedue the specified issue for publish.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/issues\/:issue_id\/schedule",
                            "query": [
                                {
                                    "key": "published_at",
                                    "value": "2023-01-01+00%3A00%3A00",
                                    "description": "The date and time when the issue should be published. Should be a valid datetime string and in the future (after current datetime).",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/issues\/:issue_id\/schedule?published_at=2023-01-01+00%3A00%3A00",
                            "variable": [
                                {
                                    "id": "issue_id",
                                    "key": "issue_id",
                                    "value": "1",
                                    "description": "The ID of the issue."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "true",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Cancel scheduling for the specified issue.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/issues\/:issue_id\/cancel-schedule",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/issues\/:issue_id\/cancel-schedule",
                            "variable": [
                                {
                                    "id": "issue_id",
                                    "key": "issue_id",
                                    "value": "1",
                                    "description": "The ID of the issue."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "true",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Subscribers",
            "description": "",
            "item": [
                {
                    "name": "Fetch a listing of newsletter's subscribers.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/subscribers",
                            "query": [
                                {
                                    "key": "status",
                                    "value": "",
                                    "description": "(optional) Filters subscribers based on status. Can only be: \"subscribed\", \"unsubscribed\" or \"supressed\"",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/subscribers?status="
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":297,\"email\":\"upurdy@example.net\",\"first_name\":\"Michaela\",\"last_name\":\"Sanford\",\"source\":\"embed\",\"created_at\":\"2026-11-17T09:52:39.000000Z\",\"updated_at\":\"2026-11-17T09:52:39.000000Z\",\"unsubscribed_at\":\"2026-11-17T09:52:39.000000Z\",\"suppressed_at\":\"2026-11-17T09:52:39.000000Z\"},{\"id\":298,\"email\":\"lubowitz.rory@example.net\",\"first_name\":\"Stella\",\"last_name\":\"Emard\",\"source\":\"import\",\"created_at\":\"2026-11-17T09:52:39.000000Z\",\"updated_at\":\"2026-11-17T09:52:39.000000Z\",\"unsubscribed_at\":null,\"suppressed_at\":\"2026-11-17T09:52:39.000000Z\"}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":null,\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"current_page_url\":\"\\\/?page=1\",\"from\":1,\"path\":\"\\\/\",\"per_page\":\"50\",\"to\":2}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Store a newly created subscriber in storage.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/subscribers",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/subscribers"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"email\":\"lessie.lind@example.net\",\"first_name\":\"tempore\",\"last_name\":\"veniam\",\"source\":\"debitis\",\"unsubscribed_at\":\"2026-11-17T09:52:39\",\"suppressed_at\":\"2026-11-17T09:52:39\",\"group\":\"VIP\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "true",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Fetch the specified subscriber.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/subscribers\/:subscriber_id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/subscribers\/:subscriber_id",
                            "variable": [
                                {
                                    "id": "subscriber_id",
                                    "key": "subscriber_id",
                                    "value": "1",
                                    "description": "The subscriber's ID, or their email address."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Look up a subscriber by their numeric ID or by their email address,\ne.g. `GET \/api\/v1\/subscribers\/42` or `GET \/api\/v1\/subscribers\/jane@example.com`.\nEmail matching is exact (not partial) and case-insensitive. If the email contains a `+`,\nURL-encode it as `%2B`. Returns 404 when no subscriber of this newsletter matches."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"id\":299,\"email\":\"mruecker@example.com\",\"first_name\":\"Syble\",\"last_name\":\"Weimann\",\"source\":\"profile\",\"created_at\":\"2026-11-17T09:52:39.000000Z\",\"updated_at\":\"2026-11-17T09:52:39.000000Z\",\"unsubscribed_at\":null,\"suppressed_at\":null}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update the specified subscriber in storage.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/subscribers\/:subscriber_id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/subscribers\/:subscriber_id",
                            "variable": [
                                {
                                    "id": "subscriber_id",
                                    "key": "subscriber_id",
                                    "value": "1",
                                    "description": "The subscriber's ID, or their email address."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"email\":\"zelma.schultz@example.org\",\"first_name\":\"dolores\",\"last_name\":\"laudantium\",\"source\":\"dolorum\",\"unsubscribed_at\":\"2026-11-17T09:52:39\",\"suppressed_at\":\"2026-11-17T09:52:39\"}"
                        },
                        "description": "The subscriber can be identified by numeric ID or by email address (see \"Fetch the specified subscriber\")."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "true",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Remove the specified subscriber from storage.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/subscribers\/:subscriber_id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/subscribers\/:subscriber_id",
                            "variable": [
                                {
                                    "id": "subscriber_id",
                                    "key": "subscriber_id",
                                    "value": "1",
                                    "description": "The subscriber's ID, or their email address."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "The subscriber can be identified by numeric ID or by email address (see \"Fetch the specified subscriber\")."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "true",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Unsubscribe the specified subscriber from the newsletter.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/subscribers\/:subscriber_id\/unsubscribe",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/subscribers\/:subscriber_id\/unsubscribe",
                            "variable": [
                                {
                                    "id": "subscriber_id",
                                    "key": "subscriber_id",
                                    "value": "1",
                                    "description": "The subscriber's ID, or their email address."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "The subscriber can be identified by numeric ID or by email address (see \"Fetch the specified subscriber\")."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "true",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Resubscribe the specified subscriber to the newsletter.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/subscribers\/:subscriber_id\/resubscribe",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/subscribers\/:subscriber_id\/resubscribe",
                            "variable": [
                                {
                                    "id": "subscriber_id",
                                    "key": "subscriber_id",
                                    "value": "1",
                                    "description": "The subscriber's ID, or their email address."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "The subscriber can be identified by numeric ID or by email address (see \"Fetch the specified subscriber\")."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "true",
                            "name": ""
                        }
                    ]
                }
            ]
        }
    ],
    "auth": {
        "type": "bearer",
        "bearer": [
            {
                "key": "key",
                "type": "string"
            }
        ]
    }
}