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

# Join CPC Campaign

> Join a CPC campaign given its ID



## OpenAPI

````yaml https://app.levanta.io/api/creator/v1/openapi.json post /cpc/{campaign_id}/join
openapi: 3.1.0
info:
  version: 1.0.0
  title: Levanta Creator API
  description: >-
    Authorize all requests with an API key in the Authorization header as the
    second token. E.g. Authorization -> "Bearer {api_key}".
servers:
  - url: https://app.levanta.io/api/creator/v1
security: []
externalDocs:
  url: https://app.levanta.io/creator/api-docs
paths:
  /cpc/{campaign_id}/join:
    post:
      tags:
        - Cost-Per-Click Campaigns
      summary: Join CPC Campaign
      description: Join a CPC campaign given its ID
      operationId: JoinCpcCampaign
      parameters:
        - schema:
            type: string
            format: uuid
            description: The ID of the campaign to join
          required: true
          description: The ID of the campaign to join
          name: campaign_id
          in: path
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties: {}
        '400':
          description: Removed from Campaign, Campaign Canceled, or Budget Reached
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: number
                    enum:
                      - 400
                  message:
                    type: string
                    enum:
                      - >-
                        Removed from Campaign, Campaign Canceled, or Budget
                        Reached
                required:
                  - status
                  - message
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: number
                    enum:
                      - 401
                  message:
                    type: string
                    enum:
                      - Unauthorized
                required:
                  - status
                  - message
        '403':
          description: You do not have access to CPC APIs
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: number
                    enum:
                      - 403
                  message:
                    type: string
                    enum:
                      - You do not have access to CPC APIs
                required:
                  - status
                  - message
        '404':
          description: CPC Campaign Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: number
                    enum:
                      - 404
                  message:
                    type: string
                    enum:
                      - CPC Campaign Not Found
                required:
                  - status
                  - message
        '415':
          description: 'Invalid Content Type: Must be "application/json" for post requests'
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: number
                    enum:
                      - 415
                  message:
                    type: string
                    enum:
                      - >-
                        Invalid Content Type: Must be "application/json" for
                        post requests
                required:
                  - status
                  - message
        '422':
          description: Input Validation Failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: number
                    enum:
                      - 422
                  message:
                    type: string
                    enum:
                      - Input Validation Failed
                required:
                  - status
                  - message
      security:
        - Bearer: []
components:
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer

````