{
  "info": {
    "_postman_id": "f4614f6a-e33f-49ca-bbde-4d30cb55f4f6",
    "name": "PostHog actions role_external_references API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T11:08:57.000Z",
    "updatedAt": "2026-07-28T11:08:58.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-f4614f6a-e33f-49ca-bbde-4d30cb55f4f6"
  },
  "item": [
    {
      "name": "api",
      "item": [
        {
          "name": "organizations",
          "item": [
            {
              "name": "{organization_id}",
              "item": [
                {
                  "name": "role_external_references",
                  "item": [
                    {
                      "name": "{id}",
                      "item": [
                        {
                          "name": "role external references destroy",
                          "id": "ac68e168-b629-4b24-91d8-c68601fc5e56",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "auth": {
                              "type": "bearer",
                              "bearer": [
                                {
                                  "key": "token",
                                  "value": "{{bearerToken}}",
                                  "type": "string"
                                }
                              ]
                            },
                            "method": "DELETE",
                            "header": [],
                            "url": {
                              "raw": "{{baseUrl}}/api/organizations/:organization_id/role_external_references/:id/",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "organizations",
                                ":organization_id",
                                "role_external_references",
                                ":id",
                                ""
                              ],
                              "variable": [
                                {
                                  "id": "2dfbabfe-ab09-4859-bcaa-7e0c4c0b9c36",
                                  "key": "organization_id",
                                  "value": "<string>",
                                  "description": "(Required) ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/."
                                },
                                {
                                  "id": "cf55d008-dc50-4043-a272-a0ba09ae83c4",
                                  "key": "id",
                                  "value": "<uuid>",
                                  "description": "(Required) A UUID string identifying this role external reference."
                                }
                              ]
                            }
                          },
                          "response": [
                            {
                              "id": "c0b0ad4c-e2ab-4aa3-9c28-dd25c5073b19",
                              "name": "No response body",
                              "originalRequest": {
                                "method": "DELETE",
                                "header": [
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/api/organizations/:organization_id/role_external_references/:id/",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "organizations",
                                    ":organization_id",
                                    "role_external_references",
                                    ":id",
                                    ""
                                  ],
                                  "variable": [
                                    {
                                      "key": "organization_id"
                                    },
                                    {
                                      "key": "id"
                                    }
                                  ]
                                }
                              },
                              "status": "No Content",
                              "code": 204,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-07-28T11:08:58.000Z",
                              "updatedAt": "2026-07-28T11:08:58.000Z",
                              "uid": "35240-c0b0ad4c-e2ab-4aa3-9c28-dd25c5073b19"
                            }
                          ],
                          "createdAt": "2026-07-28T11:08:58.000Z",
                          "updatedAt": "2026-07-28T11:08:58.000Z",
                          "uid": "35240-ac68e168-b629-4b24-91d8-c68601fc5e56"
                        }
                      ],
                      "id": "c260088f-cdf0-426b-97de-554c8a31487d",
                      "createdAt": "2026-07-28T11:08:58.000Z",
                      "updatedAt": "2026-07-28T11:08:58.000Z",
                      "uid": "35240-c260088f-cdf0-426b-97de-554c8a31487d"
                    },
                    {
                      "name": "lookup",
                      "item": [
                        {
                          "name": "role external references lookup retrieve",
                          "id": "9a805ebb-d384-4edc-96d8-c701897290e1",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/organizations/:organization_id/role_external_references/lookup/?provider=<string>&provider_organization_id=<string>&provider_role_id=<string>&provider_role_slug=<string>",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "organizations",
                                ":organization_id",
                                "role_external_references",
                                "lookup",
                                ""
                              ],
                              "query": [
                                {
                                  "description": "(Required) Integration kind (e.g., github, linear, jira, slack).",
                                  "key": "provider",
                                  "value": "<string>"
                                },
                                {
                                  "description": "(Required) Provider organization/workspace/site identifier.",
                                  "key": "provider_organization_id",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Stable provider role identifier.",
                                  "key": "provider_role_id",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Human-friendly provider role identifier.",
                                  "key": "provider_role_slug",
                                  "value": "<string>"
                                }
                              ],
                              "variable": [
                                {
                                  "id": "7a9e7b3d-9104-4123-a3d7-ea62eb235ce3",
                                  "key": "organization_id",
                                  "value": "<string>",
                                  "description": "(Required) ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/."
                                }
                              ]
                            }
                          },
                          "response": [
                            {
                              "id": "2da8a6db-bf7d-4a16-a1a5-add1ae78f896",
                              "name": "New Response",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/api/organizations/:organization_id/role_external_references/lookup/?provider=<string>&provider_organization_id=<string>&provider_role_id=<string>&provider_role_slug=<string>",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "organizations",
                                    ":organization_id",
                                    "role_external_references",
                                    "lookup",
                                    ""
                                  ],
                                  "query": [
                                    {
                                      "description": "(Required) Integration kind (e.g., github, linear, jira, slack).",
                                      "key": "provider",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "(Required) Provider organization/workspace/site identifier.",
                                      "key": "provider_organization_id",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "Stable provider role identifier.",
                                      "key": "provider_role_id",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "Human-friendly provider role identifier.",
                                      "key": "provider_role_slug",
                                      "value": "<string>"
                                    }
                                  ],
                                  "variable": [
                                    {
                                      "key": "organization_id"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"reference\": {\n    \"created_at\": \"<dateTime>\",\n    \"created_by\": {\n      \"email\": \"<email>\",\n      \"hedgehog_config\": {\n        \"Excepteurd\": \"ex non\"\n      },\n      \"id\": \"<integer>\",\n      \"uuid\": \"<uuid>\",\n      \"distinct_id\": \"<string>\",\n      \"first_name\": \"<string>\",\n      \"last_name\": \"<string>\",\n      \"is_email_verified\": \"<boolean>\",\n      \"role_at_organization\": \"product\"\n    },\n    \"id\": \"<uuid>\",\n    \"provider\": \"<string>\",\n    \"provider_organization_id\": \"<string>\",\n    \"provider_role_id\": \"<string>\",\n    \"provider_role_name\": \"<string>\",\n    \"role\": \"<uuid>\",\n    \"provider_role_slug\": \"<string>\"\n  }\n}",
                              "createdAt": "2026-07-28T11:08:58.000Z",
                              "updatedAt": "2026-07-28T11:08:58.000Z",
                              "uid": "35240-2da8a6db-bf7d-4a16-a1a5-add1ae78f896"
                            }
                          ],
                          "createdAt": "2026-07-28T11:08:58.000Z",
                          "updatedAt": "2026-07-28T11:08:58.000Z",
                          "uid": "35240-9a805ebb-d384-4edc-96d8-c701897290e1"
                        }
                      ],
                      "id": "d2b44338-8389-44b8-a22f-9afde0f7dd9f",
                      "createdAt": "2026-07-28T11:08:58.000Z",
                      "updatedAt": "2026-07-28T11:08:58.000Z",
                      "uid": "35240-d2b44338-8389-44b8-a22f-9afde0f7dd9f"
                    },
                    {
                      "name": "role external references list",
                      "id": "560cc22f-7972-4223-930a-3b9b59e4189c",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "bearer",
                          "bearer": [
                            {
                              "key": "token",
                              "value": "{{bearerToken}}",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/organizations/:organization_id/role_external_references/?limit=<integer>&offset=<integer>",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "organizations",
                            ":organization_id",
                            "role_external_references",
                            ""
                          ],
                          "query": [
                            {
                              "description": "Number of results to return per page.",
                              "key": "limit",
                              "value": "<integer>"
                            },
                            {
                              "description": "The initial index from which to return the results.",
                              "key": "offset",
                              "value": "<integer>"
                            }
                          ],
                          "variable": [
                            {
                              "id": "58f87d99-05f0-450d-a7df-52edb9fdae92",
                              "key": "organization_id",
                              "value": "<string>",
                              "description": "(Required) ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/."
                            }
                          ]
                        }
                      },
                      "response": [
                        {
                          "id": "89624b1f-8e4e-47e5-9dd2-7841254aa5b7",
                          "name": "New Response",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/organizations/:organization_id/role_external_references/?limit=<integer>&offset=<integer>",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "organizations",
                                ":organization_id",
                                "role_external_references",
                                ""
                              ],
                              "query": [
                                {
                                  "description": "Number of results to return per page.",
                                  "key": "limit",
                                  "value": "<integer>"
                                },
                                {
                                  "description": "The initial index from which to return the results.",
                                  "key": "offset",
                                  "value": "<integer>"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "organization_id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"count\": \"<integer>\",\n  \"results\": [\n    {\n      \"created_at\": \"<dateTime>\",\n      \"created_by\": {\n        \"email\": \"<email>\",\n        \"hedgehog_config\": {\n          \"exaa6\": true,\n          \"veniam_5\": \"proident in\",\n          \"sunt0f2\": -16552382.91563341\n        },\n        \"id\": \"<integer>\",\n        \"uuid\": \"<uuid>\",\n        \"distinct_id\": \"<string>\",\n        \"first_name\": \"<string>\",\n        \"last_name\": \"<string>\",\n        \"is_email_verified\": \"<boolean>\",\n        \"role_at_organization\": \"other\"\n      },\n      \"id\": \"<uuid>\",\n      \"provider\": \"<string>\",\n      \"provider_organization_id\": \"<string>\",\n      \"provider_role_id\": \"<string>\",\n      \"provider_role_name\": \"<string>\",\n      \"role\": \"<uuid>\",\n      \"provider_role_slug\": \"<string>\"\n    },\n    {\n      \"created_at\": \"<dateTime>\",\n      \"created_by\": {\n        \"email\": \"<email>\",\n        \"hedgehog_config\": {\n          \"culpa_ca\": \"ad ullamco do\",\n          \"in_4d\": -7018988\n        },\n        \"id\": \"<integer>\",\n        \"uuid\": \"<uuid>\",\n        \"distinct_id\": \"<string>\",\n        \"first_name\": \"<string>\",\n        \"last_name\": \"<string>\",\n        \"is_email_verified\": \"<boolean>\",\n        \"role_at_organization\": \"leadership\"\n      },\n      \"id\": \"<uuid>\",\n      \"provider\": \"<string>\",\n      \"provider_organization_id\": \"<string>\",\n      \"provider_role_id\": \"<string>\",\n      \"provider_role_name\": \"<string>\",\n      \"role\": \"<uuid>\",\n      \"provider_role_slug\": \"<string>\"\n    }\n  ],\n  \"next\": \"<uri>\",\n  \"previous\": \"<uri>\"\n}",
                          "createdAt": "2026-07-28T11:08:58.000Z",
                          "updatedAt": "2026-07-28T11:08:58.000Z",
                          "uid": "35240-89624b1f-8e4e-47e5-9dd2-7841254aa5b7"
                        }
                      ],
                      "createdAt": "2026-07-28T11:08:58.000Z",
                      "updatedAt": "2026-07-28T11:08:58.000Z",
                      "uid": "35240-560cc22f-7972-4223-930a-3b9b59e4189c"
                    },
                    {
                      "name": "role external references create",
                      "id": "f11fb177-2404-422a-bda9-0e6dab89c6db",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "bearer",
                          "bearer": [
                            {
                              "key": "token",
                              "value": "{{bearerToken}}",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"created_at\": \"<dateTime>\",\n  \"created_by\": {\n    \"email\": \"<email>\",\n    \"hedgehog_config\": {\n      \"dolorb3\": -54422606.46083494\n    },\n    \"id\": \"<integer>\",\n    \"uuid\": \"<uuid>\",\n    \"distinct_id\": \"<string>\",\n    \"first_name\": \"<string>\",\n    \"last_name\": \"<string>\",\n    \"is_email_verified\": \"<boolean>\",\n    \"role_at_organization\": \"sales\"\n  },\n  \"id\": \"<uuid>\",\n  \"provider\": \"<string>\",\n  \"provider_organization_id\": \"<string>\",\n  \"provider_role_id\": \"<string>\",\n  \"provider_role_name\": \"<string>\",\n  \"role\": \"<uuid>\",\n  \"provider_role_slug\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/api/organizations/:organization_id/role_external_references/",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "organizations",
                            ":organization_id",
                            "role_external_references",
                            ""
                          ],
                          "variable": [
                            {
                              "id": "e07ea625-783b-42d3-b305-699497c96052",
                              "key": "organization_id",
                              "value": "<string>",
                              "description": "(Required) ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/."
                            }
                          ]
                        }
                      },
                      "response": [
                        {
                          "id": "0d6aba9c-d78d-429c-8992-3faa2bc4435c",
                          "name": "New Response",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"created_at\": \"<dateTime>\",\n  \"created_by\": {\n    \"email\": \"<email>\",\n    \"hedgehog_config\": {\n      \"dolorb3\": -54422606.46083494\n    },\n    \"id\": \"<integer>\",\n    \"uuid\": \"<uuid>\",\n    \"distinct_id\": \"<string>\",\n    \"first_name\": \"<string>\",\n    \"last_name\": \"<string>\",\n    \"is_email_verified\": \"<boolean>\",\n    \"role_at_organization\": \"sales\"\n  },\n  \"id\": \"<uuid>\",\n  \"provider\": \"<string>\",\n  \"provider_organization_id\": \"<string>\",\n  \"provider_role_id\": \"<string>\",\n  \"provider_role_name\": \"<string>\",\n  \"role\": \"<uuid>\",\n  \"provider_role_slug\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/api/organizations/:organization_id/role_external_references/",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "organizations",
                                ":organization_id",
                                "role_external_references",
                                ""
                              ],
                              "variable": [
                                {
                                  "key": "organization_id"
                                }
                              ]
                            }
                          },
                          "status": "Created",
                          "code": 201,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"created_at\": \"<dateTime>\",\n  \"created_by\": {\n    \"email\": \"<email>\",\n    \"hedgehog_config\": {\n      \"dolorb3\": -54422606.46083494\n    },\n    \"id\": \"<integer>\",\n    \"uuid\": \"<uuid>\",\n    \"distinct_id\": \"<string>\",\n    \"first_name\": \"<string>\",\n    \"last_name\": \"<string>\",\n    \"is_email_verified\": \"<boolean>\",\n    \"role_at_organization\": \"sales\"\n  },\n  \"id\": \"<uuid>\",\n  \"provider\": \"<string>\",\n  \"provider_organization_id\": \"<string>\",\n  \"provider_role_id\": \"<string>\",\n  \"provider_role_name\": \"<string>\",\n  \"role\": \"<uuid>\",\n  \"provider_role_slug\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T11:08:58.000Z",
                          "updatedAt": "2026-07-28T11:08:58.000Z",
                          "uid": "35240-0d6aba9c-d78d-429c-8992-3faa2bc4435c"
                        }
                      ],
                      "createdAt": "2026-07-28T11:08:58.000Z",
                      "updatedAt": "2026-07-28T11:08:58.000Z",
                      "uid": "35240-f11fb177-2404-422a-bda9-0e6dab89c6db"
                    }
                  ],
                  "id": "3d5aad5d-d7d1-47e1-82df-90aba6c6dd4b",
                  "createdAt": "2026-07-28T11:08:58.000Z",
                  "updatedAt": "2026-07-28T11:08:58.000Z",
                  "uid": "35240-3d5aad5d-d7d1-47e1-82df-90aba6c6dd4b"
                }
              ],
              "id": "8b5d7d30-53ef-4073-abdc-3e587c17a38c",
              "createdAt": "2026-07-28T11:08:58.000Z",
              "updatedAt": "2026-07-28T11:08:58.000Z",
              "uid": "35240-8b5d7d30-53ef-4073-abdc-3e587c17a38c"
            }
          ],
          "id": "5a987202-f154-4da8-9281-e02680b3cc03",
          "createdAt": "2026-07-28T11:08:58.000Z",
          "updatedAt": "2026-07-28T11:08:58.000Z",
          "uid": "35240-5a987202-f154-4da8-9281-e02680b3cc03"
        }
      ],
      "id": "e7570fd8-cea6-41d8-9551-baf914991a55",
      "createdAt": "2026-07-28T11:08:58.000Z",
      "updatedAt": "2026-07-28T11:08:58.000Z",
      "uid": "35240-e7570fd8-cea6-41d8-9551-baf914991a55"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "/"
    }
  ]
}