{
  "info": {
    "_postman_id": "6166bf56-115f-4ee3-b8ad-10026472a3b7",
    "name": "Tray.ai Embedded Authentication Users API",
    "description": "The Tray.ai Embedded API is a GraphQL-based API that allows partners and customers to present in-app embedded integration experiences using Tray's UI components. It provides programmatic access to manage users, solutions, solution instances, authentications, workflows, and connector operations. All API calls are made via HTTP POST to the GraphQL endpoint with Bearer token authentication. The API supports two token types: master tokens (for admin operations like managing users) and user tokens (for user-scoped operations like managing solution instances). This is a backend-only API; client-side JavaScript calls are blocked by CORS.\n\nContact Support:\n Name: Tray.ai Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:18:16.000Z",
    "updatedAt": "2026-07-28T03:18:17.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-6166bf56-115f-4ee3-b8ad-10026472a3b7"
  },
  "item": [
    {
      "name": "graphql",
      "item": [
        {
          "name": "Tray.ai Create External User",
          "id": "41003c93-b516-4c1e-ab68-a037eea61166",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"query\": \"<string>\",\n  \"variables\": {},\n  \"operationName\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/graphql",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "graphql"
              ]
            },
            "description": "Creates a new external user for your embedded application. Accepts a name, externalUserId, and optional isTestUser flag. Test users are excluded from billing. Requires a master token."
          },
          "response": [
            {
              "id": "753d0b10-fd70-4889-a4fa-872aec6bfd97",
              "name": "User created successfully",
              "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  \"query\": \"<string>\",\n  \"variables\": {},\n  \"operationName\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/graphql",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "graphql"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"data\": {\n    \"createExternalUser\": {\n      \"userId\": \"<string>\"\n    }\n  }\n}",
              "createdAt": "2026-07-28T03:18:17.000Z",
              "updatedAt": "2026-07-28T03:18:17.000Z",
              "uid": "35240-753d0b10-fd70-4889-a4fa-872aec6bfd97"
            },
            {
              "id": "3f213a4f-372d-472c-be8e-51987c2703ef",
              "name": "Authentication failed. The bearer token is missing, invalid, or does not have sufficient permissions for the requested operation.",
              "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  \"query\": \"<string>\",\n  \"variables\": {},\n  \"operationName\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/graphql",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "graphql"
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"errors\": [\n    {\n      \"message\": \"<string>\",\n      \"locations\": [\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        },\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        }\n      ],\n      \"path\": [\n        \"<string>\",\n        \"<string>\"\n      ]\n    },\n    {\n      \"message\": \"<string>\",\n      \"locations\": [\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        },\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        }\n      ],\n      \"path\": [\n        \"<string>\",\n        \"<string>\"\n      ]\n    }\n  ]\n}",
              "createdAt": "2026-07-28T03:18:17.000Z",
              "updatedAt": "2026-07-28T03:18:17.000Z",
              "uid": "35240-3f213a4f-372d-472c-be8e-51987c2703ef"
            }
          ],
          "createdAt": "2026-07-28T03:18:17.000Z",
          "updatedAt": "2026-07-28T03:18:17.000Z",
          "uid": "35240-41003c93-b516-4c1e-ab68-a037eea61166"
        }
      ],
      "id": "09726962-3ba9-4347-8369-ebc390becdbc",
      "createdAt": "2026-07-28T03:18:17.000Z",
      "updatedAt": "2026-07-28T03:18:17.000Z",
      "uid": "35240-09726962-3ba9-4347-8369-ebc390becdbc"
    },
    {
      "name": "graphql#getUsers",
      "item": [
        {
          "name": "Tray.ai Get Users",
          "id": "decb8053-cbb1-4585-bcd6-d460188264e5",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"query\": \"<string>\",\n  \"variables\": {},\n  \"operationName\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/graphql#getUsers",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "graphql"
              ],
              "hash": "getUsers"
            },
            "description": "Retrieves a list of external users with pagination support. Returns user details including name, id, externalUserId, and pagination cursor information. Requires a master token."
          },
          "response": [
            {
              "id": "6c5daf05-021c-4a58-ac56-c12c4dda0848",
              "name": "List of users returned successfully",
              "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  \"query\": \"<string>\",\n  \"variables\": {},\n  \"operationName\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/graphql#getUsers",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "graphql"
                  ],
                  "hash": "getUsers"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"data\": {\n    \"users\": {\n      \"edges\": [\n        {\n          \"node\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\",\n            \"externalUserId\": \"<string>\",\n            \"isTestUser\": \"<boolean>\"\n          },\n          \"cursor\": \"<string>\"\n        },\n        {\n          \"node\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\",\n            \"externalUserId\": \"<string>\",\n            \"isTestUser\": \"<boolean>\"\n          },\n          \"cursor\": \"<string>\"\n        }\n      ],\n      \"pageInfo\": {\n        \"hasNextPage\": \"<boolean>\",\n        \"endCursor\": \"<string>\",\n        \"hasPreviousPage\": \"<boolean>\",\n        \"startCursor\": \"<string>\"\n      }\n    }\n  }\n}",
              "createdAt": "2026-07-28T03:18:17.000Z",
              "updatedAt": "2026-07-28T03:18:17.000Z",
              "uid": "35240-6c5daf05-021c-4a58-ac56-c12c4dda0848"
            },
            {
              "id": "f5470470-29fc-4bc0-8628-21daac72e425",
              "name": "Authentication failed. The bearer token is missing, invalid, or does not have sufficient permissions for the requested operation.",
              "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  \"query\": \"<string>\",\n  \"variables\": {},\n  \"operationName\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/graphql#getUsers",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "graphql"
                  ],
                  "hash": "getUsers"
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"errors\": [\n    {\n      \"message\": \"<string>\",\n      \"locations\": [\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        },\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        }\n      ],\n      \"path\": [\n        \"<string>\",\n        \"<string>\"\n      ]\n    },\n    {\n      \"message\": \"<string>\",\n      \"locations\": [\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        },\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        }\n      ],\n      \"path\": [\n        \"<string>\",\n        \"<string>\"\n      ]\n    }\n  ]\n}",
              "createdAt": "2026-07-28T03:18:17.000Z",
              "updatedAt": "2026-07-28T03:18:17.000Z",
              "uid": "35240-f5470470-29fc-4bc0-8628-21daac72e425"
            }
          ],
          "createdAt": "2026-07-28T03:18:17.000Z",
          "updatedAt": "2026-07-28T03:18:17.000Z",
          "uid": "35240-decb8053-cbb1-4585-bcd6-d460188264e5"
        }
      ],
      "id": "7e46fa3c-6ffa-49ea-ab73-549266d6699a",
      "createdAt": "2026-07-28T03:18:17.000Z",
      "updatedAt": "2026-07-28T03:18:17.000Z",
      "uid": "35240-7e46fa3c-6ffa-49ea-ab73-549266d6699a"
    },
    {
      "name": "graphql#updateExternalUser",
      "item": [
        {
          "name": "Tray.ai Update External User",
          "id": "f3a4985d-6c2b-4fe7-80a4-aa0d52b46bd8",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"query\": \"<string>\",\n  \"variables\": {},\n  \"operationName\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/graphql#updateExternalUser",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "graphql"
              ],
              "hash": "updateExternalUser"
            },
            "description": "Updates an external user's properties, such as marking them as a test user to exclude from billing. Requires a master token."
          },
          "response": [
            {
              "id": "6cd1afdf-3f40-4742-8460-05c0e916460c",
              "name": "User updated successfully",
              "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  \"query\": \"<string>\",\n  \"variables\": {},\n  \"operationName\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/graphql#updateExternalUser",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "graphql"
                  ],
                  "hash": "updateExternalUser"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"data\": {\n    \"updateExternalUser\": {\n      \"userId\": \"<string>\"\n    }\n  }\n}",
              "createdAt": "2026-07-28T03:18:17.000Z",
              "updatedAt": "2026-07-28T03:18:17.000Z",
              "uid": "35240-6cd1afdf-3f40-4742-8460-05c0e916460c"
            },
            {
              "id": "f8966cd5-f93a-4e7a-8770-8a6b73ff439e",
              "name": "Authentication failed. The bearer token is missing, invalid, or does not have sufficient permissions for the requested operation.",
              "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  \"query\": \"<string>\",\n  \"variables\": {},\n  \"operationName\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/graphql#updateExternalUser",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "graphql"
                  ],
                  "hash": "updateExternalUser"
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"errors\": [\n    {\n      \"message\": \"<string>\",\n      \"locations\": [\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        },\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        }\n      ],\n      \"path\": [\n        \"<string>\",\n        \"<string>\"\n      ]\n    },\n    {\n      \"message\": \"<string>\",\n      \"locations\": [\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        },\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        }\n      ],\n      \"path\": [\n        \"<string>\",\n        \"<string>\"\n      ]\n    }\n  ]\n}",
              "createdAt": "2026-07-28T03:18:17.000Z",
              "updatedAt": "2026-07-28T03:18:17.000Z",
              "uid": "35240-f8966cd5-f93a-4e7a-8770-8a6b73ff439e"
            }
          ],
          "createdAt": "2026-07-28T03:18:17.000Z",
          "updatedAt": "2026-07-28T03:18:17.000Z",
          "uid": "35240-f3a4985d-6c2b-4fe7-80a4-aa0d52b46bd8"
        }
      ],
      "id": "9768a6c4-41bb-46ad-8e41-6c7c31845611",
      "createdAt": "2026-07-28T03:18:17.000Z",
      "updatedAt": "2026-07-28T03:18:17.000Z",
      "uid": "35240-9768a6c4-41bb-46ad-8e41-6c7c31845611"
    },
    {
      "name": "graphql#removeUser",
      "item": [
        {
          "name": "Tray.ai Remove User",
          "id": "e79aed5b-16b6-4177-985c-a12c640fed82",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"query\": \"<string>\",\n  \"variables\": {},\n  \"operationName\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/graphql#removeUser",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "graphql"
              ],
              "hash": "removeUser"
            },
            "description": "Removes an external user from your embedded application. This will also remove all associated solution instances and authentications. Requires a master token."
          },
          "response": [
            {
              "id": "054ba89a-9f57-4083-a775-611ec5d38a5b",
              "name": "User removed successfully",
              "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  \"query\": \"<string>\",\n  \"variables\": {},\n  \"operationName\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/graphql#removeUser",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "graphql"
                  ],
                  "hash": "removeUser"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"data\": {\n    \"removeUser\": {\n      \"clientMutationId\": \"<string>\"\n    }\n  }\n}",
              "createdAt": "2026-07-28T03:18:17.000Z",
              "updatedAt": "2026-07-28T03:18:17.000Z",
              "uid": "35240-054ba89a-9f57-4083-a775-611ec5d38a5b"
            },
            {
              "id": "6bf34bbf-465f-4c6c-b248-04e3ad427760",
              "name": "Authentication failed. The bearer token is missing, invalid, or does not have sufficient permissions for the requested operation.",
              "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  \"query\": \"<string>\",\n  \"variables\": {},\n  \"operationName\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/graphql#removeUser",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "graphql"
                  ],
                  "hash": "removeUser"
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"errors\": [\n    {\n      \"message\": \"<string>\",\n      \"locations\": [\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        },\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        }\n      ],\n      \"path\": [\n        \"<string>\",\n        \"<string>\"\n      ]\n    },\n    {\n      \"message\": \"<string>\",\n      \"locations\": [\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        },\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        }\n      ],\n      \"path\": [\n        \"<string>\",\n        \"<string>\"\n      ]\n    }\n  ]\n}",
              "createdAt": "2026-07-28T03:18:17.000Z",
              "updatedAt": "2026-07-28T03:18:17.000Z",
              "uid": "35240-6bf34bbf-465f-4c6c-b248-04e3ad427760"
            }
          ],
          "createdAt": "2026-07-28T03:18:17.000Z",
          "updatedAt": "2026-07-28T03:18:17.000Z",
          "uid": "35240-e79aed5b-16b6-4177-985c-a12c640fed82"
        }
      ],
      "id": "ab95499d-9c78-4088-8f02-ba3de02464de",
      "createdAt": "2026-07-28T03:18:17.000Z",
      "updatedAt": "2026-07-28T03:18:17.000Z",
      "uid": "35240-ab95499d-9c78-4088-8f02-ba3de02464de"
    },
    {
      "name": "users",
      "item": [
        {
          "name": "invite",
          "item": [
            {
              "name": "Tray.ai Invite User",
              "id": "40d3fcbc-ee22-4334-a76f-d5f3eb537c78",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"email\": \"<email>\",\n  \"role\": \"<string>\",\n  \"workspaceId\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/users/invite",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "users",
                    "invite"
                  ]
                },
                "description": "Invites a user to the organization by email address. The invited user will receive an email with instructions to join."
              },
              "response": [
                {
                  "id": "4d2c173a-06ff-4c33-87b4-c39637fbd290",
                  "name": "User invited successfully",
                  "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  \"email\": \"<email>\",\n  \"role\": \"<string>\",\n  \"workspaceId\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/users/invite",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "users",
                        "invite"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"email\": \"<email>\",\n  \"role\": \"<string>\",\n  \"status\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T03:18:17.000Z",
                  "updatedAt": "2026-07-28T03:18:17.000Z",
                  "uid": "35240-4d2c173a-06ff-4c33-87b4-c39637fbd290"
                },
                {
                  "id": "49c2d068-79eb-4193-ab4c-6556a94f1a83",
                  "name": "Invalid request",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"email\": \"<email>\",\n  \"role\": \"<string>\",\n  \"workspaceId\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/users/invite",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "users",
                        "invite"
                      ]
                    }
                  },
                  "status": "Bad Request",
                  "code": 400,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T03:18:17.000Z",
                  "updatedAt": "2026-07-28T03:18:17.000Z",
                  "uid": "35240-49c2d068-79eb-4193-ab4c-6556a94f1a83"
                },
                {
                  "id": "4794e069-490c-41fa-b283-952bff318f59",
                  "name": "Authentication failed. The bearer token is missing, invalid, or does not have sufficient permissions for the requested operation.",
                  "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  \"email\": \"<email>\",\n  \"role\": \"<string>\",\n  \"workspaceId\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/users/invite",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "users",
                        "invite"
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"error\": \"<string>\",\n  \"message\": \"<string>\",\n  \"statusCode\": \"<integer>\"\n}",
                  "createdAt": "2026-07-28T03:18:17.000Z",
                  "updatedAt": "2026-07-28T03:18:17.000Z",
                  "uid": "35240-4794e069-490c-41fa-b283-952bff318f59"
                }
              ],
              "createdAt": "2026-07-28T03:18:17.000Z",
              "updatedAt": "2026-07-28T03:18:17.000Z",
              "uid": "35240-40d3fcbc-ee22-4334-a76f-d5f3eb537c78"
            }
          ],
          "id": "72bb57e0-c732-430f-a79f-1aaa802eae49",
          "createdAt": "2026-07-28T03:18:17.000Z",
          "updatedAt": "2026-07-28T03:18:17.000Z",
          "uid": "35240-72bb57e0-c732-430f-a79f-1aaa802eae49"
        },
        {
          "name": "Tray.ai List Users",
          "id": "4da6e983-f0c9-49a5-b7ac-aaa2a52e6b74",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/users",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "users"
              ]
            },
            "description": "Retrieves a list of users within the organization. Returns user details including name, email, and role information."
          },
          "response": [
            {
              "id": "8a6122e9-5de1-4981-ae6a-92841a11cd5f",
              "name": "Users returned successfully",
              "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}}/users",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "users"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"elements\": [\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"email\": \"<email>\",\n      \"role\": \"<string>\",\n      \"status\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"email\": \"<email>\",\n      \"role\": \"<string>\",\n      \"status\": \"<string>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T03:18:17.000Z",
              "updatedAt": "2026-07-28T03:18:17.000Z",
              "uid": "35240-8a6122e9-5de1-4981-ae6a-92841a11cd5f"
            },
            {
              "id": "17a63104-b029-4bf9-a6c9-86713ed5e2d4",
              "name": "Authentication failed. The bearer token is missing, invalid, or does not have sufficient permissions for the requested operation.",
              "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}}/users",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "users"
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"error\": \"<string>\",\n  \"message\": \"<string>\",\n  \"statusCode\": \"<integer>\"\n}",
              "createdAt": "2026-07-28T03:18:17.000Z",
              "updatedAt": "2026-07-28T03:18:17.000Z",
              "uid": "35240-17a63104-b029-4bf9-a6c9-86713ed5e2d4"
            }
          ],
          "createdAt": "2026-07-28T03:18:17.000Z",
          "updatedAt": "2026-07-28T03:18:17.000Z",
          "uid": "35240-4da6e983-f0c9-49a5-b7ac-aaa2a52e6b74"
        }
      ],
      "id": "c77ad592-b1b7-45d3-b720-c6c8a9a320b7",
      "createdAt": "2026-07-28T03:18:17.000Z",
      "updatedAt": "2026-07-28T03:18:17.000Z",
      "uid": "35240-c77ad592-b1b7-45d3-b720-c6c8a9a320b7"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://tray.io"
    }
  ]
}