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

# Create an Artist API Key

> Create a new API key for artists on the In•Process protocol.

**Overview:**

Artists can create API keys in two ways:

1. **Programmatically** - Using the API endpoint documented below
2. **Via Web Interface** - Using the [In•Process API Keys Management Site](https://inprocess.world/manage/api-keys)

The web interface provides a user-friendly way to create, view, and manage an artist API keys without writing code.

**Note:** This endpoint requires a Privy access token for authentication. Privy access tokens are obtained through the Privy authentication flow and provide secure access to artist-specific API endpoints. For more information about Privy authentication, see the [Privy documentation](https://docs.privy.io/authentication/user-authentication/access-tokens#getting-the-access-token).



## OpenAPI

````yaml POST /artists/api-keys
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:
  /artists/api-keys:
    post:
      summary: Create an Artist API Key
      description: >-
        Create a new API key for artists on the In•Process protocol.


        **Overview:**


        Artists can create API keys in two ways:


        1. **Programmatically** - Using the API endpoint documented below

        2. **Via Web Interface** - Using the [In•Process API Keys Management
        Site](https://inprocess.world/manage/api-keys)


        The web interface provides a user-friendly way to create, view, and
        manage an artist API keys without writing code.


        **Note:** This endpoint requires a Privy access token for
        authentication. Privy access tokens are obtained through the Privy
        authentication flow and provide secure access to artist-specific API
        endpoints. For more information about Privy authentication, see the
        [Privy
        documentation](https://docs.privy.io/authentication/user-authentication/access-tokens#getting-the-access-token).
      operationId: createArtistApiKey
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateApiKeyRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateApiKeyResponse'
              example:
                key: >-
                  art_sk_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized - Invalid or missing Privy access token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    CreateApiKeyRequest:
      type: object
      required:
        - key_name
      properties:
        key_name:
          type: string
          description: A descriptive name for the API key
    CreateApiKeyResponse:
      type: object
      required:
        - key
      properties:
        key:
          type: string
          description: The generated API key for the artist
    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

````