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

# Get Resource

> Retrieve a single resource by id

Retrieves the resource with the given id. Use this endpoint to look up a specific piece of equipment or asset when you already have its id — for example, from the `resources` array returned by an expanded event.

```bash theme={null}
curl "https://app.flashquotes.com/api/resources/res_5M2wQ8" \
  -H "x-api-key: $FLASHQUOTES_API_KEY"
```

The response includes the resource's own scalar fields plus its `locationId`, `createdAt`, and `updatedAt`. Cross-tenant or unknown ids return `404`.

## Expand

Resources have no expandable relations. Any `expand[]` value returns `400` with the offending path echoed as `param`.


## OpenAPI

````yaml GET /resources/{id}
openapi: 3.0.1
info:
  title: Flashquotes API
  description: API for accessing event, form, and invoice data from Flashquotes
  version: 1.0.0
  contact:
    name: Flashquotes Support
    email: support@flashquotes.com
servers:
  - url: https://app.flashquotes.com/api
    description: Production server
security:
  - apiKey: []
paths:
  /resources/{id}:
    get:
      summary: Get Resource
      description: >-
        Retrieve a single resource by id. Resources have no expandable relations
        — any expand[] value returns 400.
      parameters:
        - name: id
          in: path
          required: true
          description: The resource id.
          example: res_5M2wQ8
          schema:
            type: string
      responses:
        '200':
          description: Resource retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Resource'
              example:
                object: resource
                id: res_5M2wQ8
                name: Espresso Cart
                description: Mobile espresso bar with barista station
                imageUrl: https://cdn.flashquotes.com/resources/espresso-cart.jpg
                category: Beverage
                status: Active
                locationId: loc_7H2pQ9
                createdAt: '2026-04-12T10:15:00.000Z'
                updatedAt: '2026-05-02T08:44:31.000Z'
        '400':
          description: Invalid expand path
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  type: invalid_request_error
                  code: invalid_parameter
                  message: 'Unknown expand path: ''location'''
                  param: expand
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  type: authentication_error
                  code: missing_or_invalid_api_key
                  message: Unauthorized, invalid or missing API key
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  type: invalid_request_error
                  code: not_found
                  message: Resource not found
                  param: id
components:
  schemas:
    Resource:
      type: object
      description: >-
        Default response includes all fields below. Resources have no expandable
        relations.
      properties:
        object:
          type: string
          enum:
            - resource
        id:
          type: string
        name:
          type: string
        description:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        category:
          type: string
          nullable: true
        status:
          type: string
        locationId:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - object
        - id
        - locationId
    ErrorResponse:
      type: object
      example:
        error:
          type: invalid_request_error
          code: invalid_parameter
          message: limit must be an integer between 1 and 100
          param: limit
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - api_error
                - invalid_request_error
                - authentication_error
                - permission_error
                - rate_limit_error
                - idempotency_error
            code:
              type: string
              description: >-
                Machine-readable error code (e.g. `not_found`,
                `invalid_parameter`, `missing_or_invalid_api_key`).
            message:
              type: string
            param:
              type: string
              description: Name of the offending parameter, when applicable.
              nullable: true
          required:
            - type
            - code
            - message
      required:
        - error
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication

````