{
  "info": {
    "_postman_id": "5189f047-ad2c-4424-b73b-43ee6bfea1da",
    "name": "Spruce Health API \u2014 Contact Tags",
    "description": "Contact Tags operations of the Spruce Health API. Generated from the OpenAPI Spruce Health publishes for developer.sprucehealth.com.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "id": "bd2e0a2d-670a-4691-abe4-1c479985aeeb",
      "name": "Contact Tags",
      "item": [
        {
          "id": "4eee4d86-9c10-46a1-a61f-5be031502c05",
          "name": "List all contact tags available to the organization",
          "request": {
            "name": "List all contact tags available to the organization",
            "description": {
              "content": "This operation lists all contact tags available to a given organization.\n\nThe `hasMore` field can be used to determine if there are remaining results to list. The `paginationToken` field can be provided on subsequents calls to retrieve the next page of results.",
              "type": "text/plain"
            },
            "method": "GET",
            "url": {
              "raw": "{{baseUrl}}/contacts/tags",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "contacts",
                "tags"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "pageSize",
                  "value": "<integer>"
                },
                {
                  "disabled": false,
                  "key": "paginationToken",
                  "value": "<string>"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearerToken}}"
              }
            ]
          },
          "response": []
        },
        {
          "id": "9d689d0d-033c-4c2a-b32c-d7421b4191a9",
          "name": "Create a contact tag",
          "request": {
            "name": "Create a contact tag",
            "description": {
              "content": "This operation creates a contact tag for the given organization. This tag can then be applied to contacts in subsequent operations. Requesting creation of an already existing tag will result in a `201` response and the response will contain the existing tag.",
              "type": "text/plain"
            },
            "method": "POST",
            "url": {
              "raw": "{{baseUrl}}/contacts/tags",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "contacts",
                "tags"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "s-idempotency-key",
                "value": "<string>",
                "description": "A unique value generated by the client used to recognize subsequent retries of the same request. Idempotency keys can be up to 255 characters long."
              },
              {
                "key": "Authorization",
                "value": "Bearer {{bearerToken}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.sprucehealth.com/v1"
    }
  ]
}