{
  "info": {
    "_postman_id": "1829eb99-88d9-4058-b2b8-596d059357c1",
    "name": "PostHog actions js-snippet API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T11:07:04.000Z",
    "updatedAt": "2026-07-28T11:07:04.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-1829eb99-88d9-4058-b2b8-596d059357c1"
  },
  "item": [
    {
      "name": "api",
      "item": [
        {
          "name": "projects",
          "item": [
            {
              "name": "{project_id}",
              "item": [
                {
                  "name": "js-snippet",
                  "item": [
                    {
                      "name": "resolve",
                      "item": [
                        {
                          "name": "js snippet resolve retrieve",
                          "id": "75229161-582f-4f4c-9e65-b9cf7177eb13",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/projects/:project_id/js-snippet/resolve/",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "projects",
                                ":project_id",
                                "js-snippet",
                                "resolve",
                                ""
                              ],
                              "variable": [
                                {
                                  "id": "dbc74859-9cad-425b-bb77-5e1873f5b988",
                                  "key": "project_id",
                                  "value": "<string>",
                                  "description": "(Required) Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
                                }
                              ]
                            },
                            "description": "Preview what a given pin would resolve to, without saving it."
                          },
                          "response": [
                            {
                              "id": "72f7b458-741e-4669-aa0c-3beeeced983d",
                              "name": "New Response",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/api/projects/:project_id/js-snippet/resolve/",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "projects",
                                    ":project_id",
                                    "js-snippet",
                                    "resolve",
                                    ""
                                  ],
                                  "variable": [
                                    {
                                      "key": "project_id"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"tempor_5a3\": \"ex consequat mollit commodo\"\n}",
                              "createdAt": "2026-07-28T11:07:04.000Z",
                              "updatedAt": "2026-07-28T11:07:04.000Z",
                              "uid": "35240-72f7b458-741e-4669-aa0c-3beeeced983d"
                            }
                          ],
                          "createdAt": "2026-07-28T11:07:04.000Z",
                          "updatedAt": "2026-07-28T11:07:04.000Z",
                          "uid": "35240-75229161-582f-4f4c-9e65-b9cf7177eb13"
                        }
                      ],
                      "id": "1c256cc4-e478-425c-8edb-4ada940b53b1",
                      "createdAt": "2026-07-28T11:07:04.000Z",
                      "updatedAt": "2026-07-28T11:07:04.000Z",
                      "uid": "35240-1c256cc4-e478-425c-8edb-4ada940b53b1"
                    },
                    {
                      "name": "version",
                      "item": [
                        {
                          "name": "js snippet version retrieve",
                          "id": "b01aba35-05bd-41ef-8a0f-4d6769cab76c",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/projects/:project_id/js-snippet/version/",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "projects",
                                ":project_id",
                                "js-snippet",
                                "version",
                                ""
                              ],
                              "variable": [
                                {
                                  "id": "c61e6377-942f-48a2-838b-9e1f7c505553",
                                  "key": "project_id",
                                  "value": "<string>",
                                  "description": "(Required) Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
                                }
                              ]
                            },
                            "description": "Return the team's current version pin and resolved version."
                          },
                          "response": [
                            {
                              "id": "2213585d-dbbf-4dec-b907-75de6d21f968",
                              "name": "New Response",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/api/projects/:project_id/js-snippet/version/",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "projects",
                                    ":project_id",
                                    "js-snippet",
                                    "version",
                                    ""
                                  ],
                                  "variable": [
                                    {
                                      "key": "project_id"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"tempor_5a3\": \"ex consequat mollit commodo\"\n}",
                              "createdAt": "2026-07-28T11:07:04.000Z",
                              "updatedAt": "2026-07-28T11:07:04.000Z",
                              "uid": "35240-2213585d-dbbf-4dec-b907-75de6d21f968"
                            }
                          ],
                          "createdAt": "2026-07-28T11:07:04.000Z",
                          "updatedAt": "2026-07-28T11:07:04.000Z",
                          "uid": "35240-b01aba35-05bd-41ef-8a0f-4d6769cab76c"
                        },
                        {
                          "name": "js snippet version partial update",
                          "id": "09eda542-a816-4080-80e6-3dfece8e0f5e",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "PATCH",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"js_snippet_version\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/api/projects/:project_id/js-snippet/version/",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "projects",
                                ":project_id",
                                "js-snippet",
                                "version",
                                ""
                              ],
                              "variable": [
                                {
                                  "id": "88544857-fd83-4169-93c1-4cafe8a28023",
                                  "key": "project_id",
                                  "value": "<string>",
                                  "description": "(Required) Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
                                }
                              ]
                            },
                            "description": "Update the team's version pin."
                          },
                          "response": [
                            {
                              "id": "f5086b1b-1fe8-4e2b-8930-fb5e830fc299",
                              "name": "New Response",
                              "originalRequest": {
                                "method": "PATCH",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"js_snippet_version\": \"<string>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/api/projects/:project_id/js-snippet/version/",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "projects",
                                    ":project_id",
                                    "js-snippet",
                                    "version",
                                    ""
                                  ],
                                  "variable": [
                                    {
                                      "key": "project_id"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"tempor_5a3\": \"ex consequat mollit commodo\"\n}",
                              "createdAt": "2026-07-28T11:07:04.000Z",
                              "updatedAt": "2026-07-28T11:07:04.000Z",
                              "uid": "35240-f5086b1b-1fe8-4e2b-8930-fb5e830fc299"
                            }
                          ],
                          "createdAt": "2026-07-28T11:07:04.000Z",
                          "updatedAt": "2026-07-28T11:07:04.000Z",
                          "uid": "35240-09eda542-a816-4080-80e6-3dfece8e0f5e"
                        }
                      ],
                      "id": "0560a347-8c8b-4f07-8b08-5098ac776e5d",
                      "createdAt": "2026-07-28T11:07:04.000Z",
                      "updatedAt": "2026-07-28T11:07:04.000Z",
                      "uid": "35240-0560a347-8c8b-4f07-8b08-5098ac776e5d"
                    }
                  ],
                  "id": "42bed1b3-3ed0-4625-8944-4c901b3e9eb4",
                  "createdAt": "2026-07-28T11:07:04.000Z",
                  "updatedAt": "2026-07-28T11:07:04.000Z",
                  "uid": "35240-42bed1b3-3ed0-4625-8944-4c901b3e9eb4"
                }
              ],
              "id": "ae29afe7-a763-4022-b74b-b25a8ec53560",
              "createdAt": "2026-07-28T11:07:04.000Z",
              "updatedAt": "2026-07-28T11:07:04.000Z",
              "uid": "35240-ae29afe7-a763-4022-b74b-b25a8ec53560"
            }
          ],
          "id": "0698022b-9119-4f67-beef-6b346da4f131",
          "createdAt": "2026-07-28T11:07:04.000Z",
          "updatedAt": "2026-07-28T11:07:04.000Z",
          "uid": "35240-0698022b-9119-4f67-beef-6b346da4f131"
        }
      ],
      "id": "51bd8f1f-9aec-4e2e-9fac-51092fef957c",
      "createdAt": "2026-07-28T11:07:04.000Z",
      "updatedAt": "2026-07-28T11:07:04.000Z",
      "uid": "35240-51bd8f1f-9aec-4e2e-9fac-51092fef957c"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "/"
    }
  ]
}