# Target collaboration templates for this shop (/zh/growseller/docs/api-reference/target-collaboration/get-invitations-templates)

Searched, filtered, sorted and paged in the database, like the stored invitations.

GET /invitations/templates

```json
{
  "tags": [
    "Target Collaboration"
  ],
  "summary": "Target collaboration templates for this shop",
  "description": "Searched, filtered, sorted and paged in the database, like the stored invitations.",
  "operationId": "get-invitations-templates",
  "parameters": [
    {
      "name": "shop_id",
      "in": "query",
      "required": true,
      "schema": {
        "type": "string",
        "title": "Shop Id"
      }
    },
    {
      "name": "search",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "default": "",
        "title": "Search"
      }
    },
    {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
        "type": "integer",
        "minimum": 1,
        "default": 1,
        "title": "Page"
      }
    },
    {
      "name": "search_by",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "description": "name, id, product_name, product_id, creator_handle or creator_id",
        "default": "name",
        "title": "Search By"
      },
      "description": "name, id, product_name, product_id, creator_handle or creator_id"
    },
    {
      "name": "sort",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "description": "name, commission, terms, progress or datetime",
        "default": "",
        "title": "Sort"
      },
      "description": "name, commission, terms, progress or datetime"
    },
    {
      "name": "order",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "pattern": "^(asc|desc)$",
        "default": "desc",
        "title": "Order"
      }
    },
    {
      "name": "content",
      "in": "query",
      "required": false,
      "schema": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Content"
      }
    },
    {
      "name": "sample",
      "in": "query",
      "required": false,
      "schema": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "description": "'' (no free sample), MANUAL or AUTO",
        "title": "Sample"
      },
      "description": "'' (no free sample), MANUAL or AUTO"
    },
    {
      "name": "failed",
      "in": "query",
      "required": false,
      "schema": {
        "type": "boolean",
        "description": "only templates with creators TikTok refused",
        "default": false,
        "title": "Failed"
      },
      "description": "only templates with creators TikTok refused"
    },
    {
      "name": "job",
      "in": "query",
      "required": false,
      "schema": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "description": "broadcast job status, or NONE for never broadcast",
        "title": "Job"
      },
      "description": "broadcast job status, or NONE for never broadcast"
    },
    {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
        "type": "integer",
        "maximum": 100,
        "minimum": 1,
        "default": 50,
        "title": "Limit"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "success": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "rows": {
                    "type": "array",
                    "items": {}
                  },
                  "total": {
                    "type": "integer"
                  },
                  "has_more": {
                    "type": "boolean"
                  }
                }
              },
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "timestamp": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "A rate limit is reached; wait Retry-After seconds",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "success": {
                "type": "boolean"
              },
              "error": {
                "type": "string"
              },
              "error_code": {
                "type": "string"
              },
              "details": {
                "type": [
                  "object",
                  "null"
                ]
              },
              "timestamp": {
                "type": "string"
              }
            },
            "example": {
              "success": false,
              "error": "The API shows at most 5 pages of 100 rows for one search. Narrow it with filters or search.",
              "error_code": "PAGE_LIMIT",
              "details": {
                "rows": 100,
                "pages": 5
              },
              "timestamp": "2026-11-21T09:00:00Z"
            }
          }
        }
      }
    },
    "4XX": {
      "description": "An error (see error_code)",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "success": {
                "type": "boolean"
              },
              "error": {
                "type": "string"
              },
              "error_code": {
                "type": "string"
              },
              "details": {
                "type": [
                  "object",
                  "null"
                ]
              },
              "timestamp": {
                "type": "string"
              }
            },
            "example": {
              "success": false,
              "error": "The API shows at most 5 pages of 100 rows for one search. Narrow it with filters or search.",
              "error_code": "PAGE_LIMIT",
              "details": {
                "rows": 100,
                "pages": 5
              },
              "timestamp": "2026-11-21T09:00:00Z"
            }
          }
        }
      }
    }
  },
  "x-mcp-tool": "target_collaboration_read",
  "x-mcp-action": "list_templates"
}
```