---
updatedAt: 2025-05-29T22:21:51.000Z
agentTools:
  projectIndex: https://docs.routefusion.com/llms.txt
---

# myUser

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "routefusion-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://sandbox.external.routefusion.com"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/graphql (80 disregard)": {
      "post": {
        "summary": "myUser",
        "description": "",
        "operationId": "my-user",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "query": {
                    "type": "string",
                    "default": "{}"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"data\": {\n    \"myUser\": {\n      \"id\": \"user-id\",\n      \"identifier\": \"user@example.com\",\n      \"email\": \"user@example.com\",\n      \"first_name\": \"FirstName\",\n      \"last_name\": \"LastName\",\n      \"admin\": true,\n      \"organization\": {\n        \"id\": \"organization-id\",\n        \"identifier\": \"Organization Name\",\n        \"admin\": false,\n        \"restricted\": null,\n        \"enabled\": true\n      }\n    }\n  }\n}\n"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "myUser": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "user-id"
                            },
                            "identifier": {
                              "type": "string",
                              "example": "user@example.com"
                            },
                            "email": {
                              "type": "string",
                              "example": "user@example.com"
                            },
                            "first_name": {
                              "type": "string",
                              "example": "FirstName"
                            },
                            "last_name": {
                              "type": "string",
                              "example": "LastName"
                            },
                            "admin": {
                              "type": "boolean",
                              "example": true,
                              "default": true
                            },
                            "organization": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "example": "organization-id"
                                },
                                "identifier": {
                                  "type": "string",
                                  "example": "Organization Name"
                                },
                                "admin": {
                                  "type": "boolean",
                                  "example": false,
                                  "default": true
                                },
                                "restricted": {},
                                "enabled": {
                                  "type": "boolean",
                                  "example": true,
                                  "default": true
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "node",
              "code": "const axios = require('axios');\nlet token = 'YOUR TOKEN'\nlet data = JSON.stringify({\n  query: `query myUser {\n    myUser {\n        id\n        identifier\n        email\n        first_name\n        last_name\n        admin\n        organization {\n            id\n            identifier\n            admin\n            restricted\n            enabled\n        }\n    }\n}`,\n  variables: {}\n});\n\nlet config = {\n  method: 'post',\n  maxBodyLength: Infinity,\n  url: 'https://sandbox.external.routefusion.com/graphql',\n  headers: {\n    'Authorization': `Bearer ${token}`, \n    'Content-Type': 'application/json'\n  },\n  data : data\n};\n\naxios.request(config)\n.then((response) => {\n  console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n  console.log(error);\n});"
            },
            {
              "language": "curl",
              "code": "curl -X POST 'https://sandbox.external.routefusion.com/graphql' \\\n-H 'Authorization: Bearer YOUR TOKEN' \\\n-H 'Content-Type: application/json' \\\n--data-raw '{\n  \"query\": \"query myUser { myUser { id identifier email first_name last_name admin organization { id identifier admin restricted enabled } } }\",\n  \"variables\": {}\n}'\n"
            }
          ],
          "samples-languages": [
            "node",
            "curl"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Authorization",
        "value": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NTQ0NTEyMTIsImlkIjoiZTVhMjdkNTEtMmEyZS00OGExLThkMDEtNzdiNjJkZTk4YjRjIiwib3JnYW5pemF0aW9uSWQiOiJjNDJhYzgyZC02MzQ2LTQzNDMtYTA5NC1jMWY3MjYxNGE0ZjYiLCJhZG1pbiI6dHJ1ZSwib3JnYW5pemF0aW9uQWRtaW4iOmZhbHNlLCJpYXQiOjE3MjI5MTUyMTJ9.PV1MHmwYjbr3vN0Z9uXRm771QLo1zWXkAHQHB4C2NKs7NknHv2RGfPLTQ_xdTAGojId_lJxAF1L4zQ24kbJSdHLdCbLBJ697BFWFe7t7pXSQt4k14gIkkwXUqalCy3neJZJjYJSscAv04YwWBaZ3ci05uZ8fGUhXwPSBZevD7u1j9Nh9NYoq1fEZGUJMyDnEEyFpoNm_9ZSvzxIKUx3riv_6VMQ6AgIkR6L6fxOI1yJ2N2nkiBfFoX6u05NiEtLYG9-OXJrq3vRZt1yjnOSl-G4ci5lsL_MawXgxlP_bBg2xHwhOKWVopDuXILPzEWrqWNWqVoXUKReEb5m2iXY9oQga576rrk0Dgnq9ZhXUlALjzS1UaRqlamDjkd8otEuqOazRMGk3wdVlml9fNW20o2Wczi5ldWZrxpBdLw2XrtP205pQlC4FMDv-mgj2SlXGXhMM335z_KSLdvrC8GPGCz_EmVKSl2__6s73aVesT0sCRPlRWk8UCzMHcDZqzq49XJsquxkdjz1qb9Q9I3LcJCu8ycNAj8Z9TXsaX4_2Q0WHlazX2akntxNWcOAkPCHPAyS6Ep805O55BOA9IONs5iYXj6qr6SVWl2gSAmgWy8QXTzUS7VyTdycIsa_vqgyycPjiS0ylftWjMuKFtO6CuhqjeEntl2bujRWZtQcX_sM"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```