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

# Get Authenticated Account

> Retrieve the authenticated artist's wallet address and profile.

**Overview:**

This endpoint verifies the Bearer token from the [Login with OTP](/api-reference/oauth/login) endpoint and returns the associated artist address along with their profile information.

1. Include the JWT token obtained from the login flow as a Bearer token in the `Authorization` header.
2. On success, the artist's wallet address and profile are returned.



## OpenAPI

````yaml GET /oauth
openapi: 3.1.0
info:
  title: In•Process API
  description: >-
    The In•Process API enables browsing and managing moments from timelines.
    Retrieve moments from a specific artist's timeline, browse the in•process
    collective timeline, or filter by collection. The API supports creating
    moments, managing collections, handling payments, and interacting with the
    In•Process protocol ecosystem.
  version: 1.0.0
servers:
  - url: https://api.inprocess.world/api
    description: Production server
security: []
paths:
  /oauth:
    get:
      summary: Get Authenticated Account
      description: >-
        Retrieve the authenticated artist's wallet address and profile.


        **Overview:**


        This endpoint verifies the Bearer token from the [Login with
        OTP](/api-reference/oauth/login) endpoint and returns the associated
        artist address along with their profile information.


        1. Include the JWT token obtained from the login flow as a Bearer token
        in the `Authorization` header.

        2. On success, the artist's wallet address and profile are returned.
      operationId: getAuthenticatedAccount
      responses:
        '200':
          description: Authenticated account retrieved successfully
          content:
            application/json:
              schema:
                type: object
                required:
                  - artistAddress
                  - profile
                properties:
                  artistAddress:
                    type: string
                    description: The wallet address of the authenticated artist
                    example: '0x1234567890abcdef1234567890abcdef12345678'
                  profile:
                    type: object
                    description: The artist's profile information
                    required:
                      - username
                      - bio
                      - farcaster_username
                      - instagram_username
                      - twitter_username
                      - telegram_username
                    properties:
                      username:
                        type: string
                        description: Artist's username. Falls back to ENS name if not set.
                        example: sweetman
                      bio:
                        type: string
                        description: Artist's biography
                        example: the dev for onchain music.
                      farcaster_username:
                        type: string
                        description: Artist's Farcaster username
                        example: sweetman.eth
                      instagram_username:
                        type: string
                        description: Artist's Instagram username
                        example: sweetman.eth
                      twitter_username:
                        type: string
                        description: Artist's Twitter/X username
                        example: sweetman_eth
                      telegram_username:
                        type: string
                        description: Artist's Telegram username
                        example: sweetman_eth
                      phone:
                        type: object
                        description: Artist's connected phone number (omitted if not set)
                        properties:
                          phone_number:
                            type: string
                            example: '+11234567890'
                          verified:
                            type: boolean
                            example: true
              example:
                artistAddress: '0x1234567890abcdef1234567890abcdef12345678'
                profile:
                  username: sweetman
                  bio: the dev for onchain music.
                  farcaster_username: sweetman.eth
                  instagram_username: sweetman.eth
                  twitter_username: sweetman_eth
                  telegram_username: sweetman_eth
                  phone:
                    phone_number: '+11234567890'
                    verified: true
        '500':
          description: Server error - Failed to retrieve user info
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                message: Failed
      security:
        - bearerAuth: []
components:
  schemas:
    Error:
      type: object
      required:
        - status
        - message
      properties:
        status:
          type: string
          enum:
            - error
          description: Error status
        message:
          type: string
          description: Error message
        errors:
          type: array
          description: >-
            Optional array of field-level validation errors. Typically included
            in 400 Bad Request responses for validation errors.
          items:
            type: object
            required:
              - field
              - message
            properties:
              field:
                type: string
                description: The field name that failed validation
              message:
                type: string
                description: The validation error message for this field
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````