---
agentTools:
  projectIndex: https://ordatic.readme.io/llms.txt
---

# Get your App

Returns the information of the App associate to the `token`.

[block:html]
{
  "html": "<style>\n.simulate-readme-title {\n  color: var(--graphite);\n  font-family: var(--font-family);\n  font-size: 12px;\n  font-weight: var(--font-weight-bold);\n  text-transform: uppercase;\n}\n</style>\n<strong class=\"simulate-readme-title\">App Scope</strong>"
}
[/block]

[block:parameters]
{
  "data": {
    "h-0": "Channel",
    "h-1": "Pos",
    "h-2": "Rider",
    "h-3": "Loyalty",
    "0-0": "✔️",
    "0-1": "✔️",
    "0-2": "✔️",
    "0-3": "✔️"
  },
  "cols": 4,
  "rows": 1
}
[/block]

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Public API",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://public-api.qa.ordatic.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://example.com/oauth2/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v2/app": {
      "get": {
        "summary": "Get your App",
        "description": "",
        "operationId": "get-your-app",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"app\": {\n    \"appId\": \"e2c0083d-89f5-4df6-a8be-2c39bd54dc75\",\n    \"name\": \"Example App\",\n    \"scopes\": [\n      \"channel\",\n      \"pos\",\n      \"rider\",\n      \"loyalty\"\n    ],\n    \"slug\": \"example-app\",\n    \"webhookUrl\": \"httsp://example.com\",\n    \"webhookAuthHeader\": \"\",\n    \"contactEmail\": \"example@ordatic.com\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "app": {
                      "type": "object",
                      "properties": {
                        "appId": {
                          "type": "string",
                          "example": "e2c0083d-89f5-4df6-a8be-2c39bd54dc75"
                        },
                        "name": {
                          "type": "string",
                          "example": "Example App"
                        },
                        "scopes": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "example": "channel"
                          }
                        },
                        "slug": {
                          "type": "string",
                          "example": "example-app"
                        },
                        "webhookUrl": {
                          "type": "string",
                          "example": "httsp://example.com"
                        },
                        "webhookAuthHeader": {
                          "type": "string",
                          "example": ""
                        },
                        "contactEmail": {
                          "type": "string",
                          "example": "example@ordatic.com"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": 400,\n\t\"body\": {\n    \"error\": true,\n    \"message\": \"A message representing the error\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "integer",
                      "example": 400,
                      "default": 0
                    },
                    "body": {
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        },
                        "message": {
                          "type": "string",
                          "example": "A message representing the error"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": 401,\n\t\"body\": {\n    \"error\": true,\n    \"message\": \"A message representing the error\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "integer",
                      "example": 401,
                      "default": 0
                    },
                    "body": {
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        },
                        "message": {
                          "type": "string",
                          "example": "A message representing the error"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": 404,\n\t\"body\": {\n    \"error\": true,\n    \"message\": \"A message representing the error\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "integer",
                      "example": 404,
                      "default": 0
                    },
                    "body": {
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        },
                        "message": {
                          "type": "string",
                          "example": "A message representing the error"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "623c58397d65e5077a346cab:623de6f591bc9d0616bdd6c4"
}
```