{
  "opencollection": "1.0.0",
  "info": {
    "name": "Textmagic REST Bulk Contacts API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-TM-Username",
      "value": "{{X-TM-Username}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Contacts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all contacts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://rest.textmagic.com/api/v2/contacts",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of items per page."
              }
            ]
          },
          "docs": "Get all contacts"
        },
        {
          "info": {
            "name": "Add a new contact",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://rest.textmagic.com/api/v2/contacts/normalized",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add a new contact"
        },
        {
          "info": {
            "name": "Get the details of a specific contact",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://rest.textmagic.com/api/v2/contacts/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The resource identifier."
              }
            ]
          },
          "docs": "Get the details of a specific contact"
        },
        {
          "info": {
            "name": "Delete a contact",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://rest.textmagic.com/api/v2/contacts/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The resource identifier."
              }
            ]
          },
          "docs": "Delete a contact"
        },
        {
          "info": {
            "name": "Edit a contact",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://rest.textmagic.com/api/v2/contacts/:id/normalized",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The resource identifier."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Edit a contact"
        },
        {
          "info": {
            "name": "Find contacts by given criteria",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://rest.textmagic.com/api/v2/contacts/search",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of items per page."
              },
              {
                "name": "query",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Find contacts by given criteria"
        }
      ]
    }
  ],
  "bundled": true
}