> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agscard.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the current customer

> The customer who authorized the app.



## OpenAPI

````yaml /openapi.json get /me
openapi: 3.1.2
info:
  title: Robograding
  version: 1.0.0
servers:
  - url: https://app.agscard.com/api/partner/v1
security:
  - http: []
tags:
  - name: Profile
  - name: Card products
  - name: Orders
paths:
  /me:
    get:
      tags:
        - Profile
      summary: Get the current customer
      description: The customer who authorized the app.
      operationId: getCurrentCustomer
      parameters:
        - name: X-Tenant
          in: header
          schema:
            type: string
            enum:
              - us
              - gb
              - br
      responses:
        '200':
          description: '`UserResource`'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/UserResource'
                required:
                  - data
        '401':
          $ref: '#/components/responses/AuthenticationException'
components:
  schemas:
    UserResource:
      type: object
      properties:
        id:
          type: integer
        first_name:
          type:
            - string
            - 'null'
        last_name:
          type:
            - string
            - 'null'
        email:
          type:
            - string
            - 'null'
      required:
        - id
        - first_name
        - last_name
        - email
      title: UserResource
  responses:
    AuthenticationException:
      description: Unauthenticated
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  code:
                    type: string
                    enum:
                      - unauthenticated
                  message:
                    type: string
                required:
                  - code
                  - message
            required:
              - error
  securitySchemes:
    http:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.