> ## 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.

# Set the default collection

> Set the default collection for the authenticated artist. Send `null` to reset it to the artist's own **Process** collection.

**Note:** Only Collection admins can set a Collection as the default.



## OpenAPI

````yaml PUT /collections/default
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:
  /collections/default:
    put:
      summary: Set Default Collection
      description: >-
        Set the default collection for the authenticated artist. Send `null` to
        reset it to the artist's own **Process** collection.


        **Note:** Only Collection admins can set a Collection as the default.
      operationId: setDefaultCollection
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetDefaultCollectionRequest'
            examples:
              set:
                summary: Set a collection as default
                value:
                  collectionAddress: '0x06a701Ae65582B92Af48cDff45a8B20DcA3714cA'
              reset:
                summary: Reset to the Process collection
                value:
                  collectionAddress: null
      responses:
        '200':
          description: The new default collection
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RpcCollection'
              example:
                id: 22222222-2222-2222-2222-222222222222
                address: '0x06a701Ae65582B92Af48cDff45a8B20DcA3714cA'
                name: My Collection
                chain_id: 8453
                created_at: '2025-06-07T20:41:35+00:00'
                uri: ar://FrDLosTVZP54g8xvLkGG0aWDGrKV46dDAz5umTJkiyA
                protocol: in_process
                creator: '0x4b4324bcC6dB9380ABBbbD20B24A16C11FB5B38A'
                admins: []
        '400':
          description: Bad request — missing body or invalid `collectionAddress`
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized — missing or invalid authentication
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden — the artist is not an admin of the Collection
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Collection not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - apiKeyAuth: []
        - bearerAuth: []
components:
  schemas:
    SetDefaultCollectionRequest:
      type: object
      required:
        - collectionAddress
      properties:
        collectionAddress:
          type:
            - string
            - 'null'
          description: Collection address, or `null` to reset to the Process collection
          example: '0x06a701Ae65582B92Af48cDff45a8B20DcA3714cA'
    RpcCollection:
      type: object
      description: A collection row as returned by GET /collections
      required:
        - id
        - address
        - name
        - chain_id
        - created_at
        - uri
        - protocol
        - creator
        - admins
      properties:
        id:
          type: string
          description: Collection ID
        address:
          type: string
          description: Contract address of the collection
        name:
          type: string
          description: Collection name
        chain_id:
          type: integer
          description: Chain ID where the collection exists
        created_at:
          type: string
          format: date-time
          description: ISO timestamp when the collection was created
        uri:
          type: string
          description: Metadata URI
        protocol:
          type: string
          description: Protocol the collection belongs to
        creator:
          type: string
          description: Creator wallet address
        creator_username:
          type: string
          nullable: true
          description: Creator username when available
        admins:
          type: array
          description: Collection admins
          items:
            type: object
            properties:
              artist_address:
                type: string
              token_id:
                type: number
                description: >-
                  0 means admin of the whole collection; otherwise admin of that
                  moment only
    Error:
      type: object
      required:
        - 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:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Artist API key for authentication. Get your API key from
        https://inprocess.world/manage/api-keys
    bearerAuth:
      type: http
      scheme: bearer

````

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