Skip to content

Support Mailtrap Contact Fields CRUD Functionality #19

@yanchuk

Description

@yanchuk

Overview

Add support to the SDK for managing Contact Fields in Mailtrap, following the official API documentation and OpenAPI specification (see below).

References

Requirements

  • Implement client methods for the following endpoints:
    • Get all contact fields
    • Create a new contact field
    • Get a contact field by ID
    • Update a contact field by ID (name and merge_tag only)
    • Delete a contact field by ID
  • Ensure full request/response models are covered per OpenAPI spec.
  • Add input validation and error handling for all API responses (401, 403, 404, 422, 429, 500).
  • Provide usage examples and documentation for Contact Fields functionality.

Please reach out in this issue if clarification is needed on API behavior or edge cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions