---
updatedAt: 2026-06-18T12:14:42.000Z
agentTools:
  projectIndex: https://developer.liveswitch.com/llms.txt
---

# Gets a project by id

**Required scope:** `projects`

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "LiveSwitch Public API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://public-api.production.liveswitch.com/",
      "description": "Public API"
    }
  ],
  "paths": {
    "/v1/projects/{id}": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Gets a project by id",
        "description": "**Required scope:** `projects`",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectDto"
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "projects"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ContactDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "This is the contact's system wide unique identifier",
            "format": "uuid",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "description": "The OrganizationId to which the Contact belongs",
            "format": "uuid",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "description": "This is the contact's first name, an optional field",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "This is the contact's last name, an optional field",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "This is the contact's email, an optional field",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "description": "This is the contact's phone, an optional field",
            "nullable": true
          },
          "attributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EntityAttributeResponseDto"
            },
            "description": "Attributes assigned to this contact",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EntityAttributeResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The ID of this entity attribute instance.",
            "format": "uuid",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "description": "The organization ID.",
            "format": "uuid",
            "nullable": true
          },
          "attributeId": {
            "type": "string",
            "description": "The attribute definition ID.",
            "format": "uuid",
            "nullable": true
          },
          "attributeName": {
            "type": "string",
            "description": "The attribute definition name.",
            "nullable": true
          },
          "entityId": {
            "type": "string",
            "description": "The entity ID this attribute is attached to.",
            "format": "uuid",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "Optional title/display text (for link attributes, this is the link text).",
            "nullable": true
          },
          "value": {
            "maxLength": 255,
            "type": "string",
            "description": "The attribute value.",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "Timestamp when created.",
            "format": "date-time",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "description": "Timestamp when updated.",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "The value of the attribute added for an entity (response without group details)"
      },
      "ProjectDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique identifier for the Project",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "The name of the project",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "description": "External identifier for the project used for integration purposes",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "description": "The OrganizationID that owns this Project",
            "format": "uuid",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "The date and time the project was created",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "description": "The date and time the project was last updated",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/ProjectStatus"
          },
          "projectUrl": {
            "type": "string",
            "description": "The URL that an authenticated user can use to access the project",
            "nullable": true
          },
          "projectEmbeddedUrl": {
            "type": "string",
            "description": "The URL that an authenticated user can use to access the project without header/nav bar",
            "nullable": true
          },
          "projectShareUrl": {
            "type": "string",
            "description": "The URL that allows public access to the project",
            "nullable": true
          },
          "projectEmbeddedShareUrl": {
            "type": "string",
            "description": "The URL that allows public access to the project without header/nav bar",
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TagDto"
            },
            "description": "Tags assigned to this project",
            "nullable": true
          },
          "address": {
            "type": "string",
            "description": "Address associated with this project",
            "nullable": true
          },
          "contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactDto"
            },
            "description": "Contacts associated with this project",
            "nullable": true
          },
          "attributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EntityAttributeResponseDto"
            },
            "description": "Attributes assigned to this project",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProjectStatus": {
        "enum": [
          "NotStarted",
          "InProgress",
          "Completed"
        ],
        "type": "string"
      },
      "TagDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique identifier for the Tag.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "The string value for display.",
            "nullable": true
          },
          "hexColor": {
            "type": "string",
            "description": "The hex-based color value for display. Useful if you want to match the color in your application to LiveSwitch.",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "description": "OAuth2 authentication using Auth0 Implicit flow",
        "flows": {
          "implicit": {
            "authorizationUrl": "https://id.staging.liveswitch.com/authorize",
            "scopes": {
              "openid": "OpenID Connect scope",
              "profile": "Access to user profile",
              "email": "Access to user email",
              "me": "Access to user information",
              "contacts": "Read access to contacts",
              "contacts.write": "Write access to contacts",
              "conversations": "Read access to conversations",
              "conversations.write": "Write access to conversations",
              "organizations": "Read access to organizations",
              "webhooks": "Read access to webhooks",
              "webhooks.write": "Write access to webhooks",
              "applications": "Read access to applications",
              "applications.write": "Write access to applications",
              "forms": "Read access to forms",
              "projects": "Read access to projects",
              "projects.write": "Write access to projects",
              "recordings": "Read access to recordings",
              "documents": "Read access to documents",
              "accounts": "Read access to accounts",
              "guided-instructions": "Read access to guided instructions",
              "sparks": "Read access to Spark runs",
              "sparks.write": "Write access to Spark runs",
              "spark-templates": "Read access to installed Spark templates for the organization",
              "scribe-templates": "Read access to installed Scribe templates (legacy)"
            }
          }
        }
      },
      "bearer": {
        "type": "http",
        "description": "<p>Please enter a valid token. This shoud NOT include the Bearer: prefix, but just the token itself.</p>\n            <br/>\n             <p>To generate a token from the Swagger UI:</p>\n             <p>\n               1. Select the 'v1/tokens' endpoint in the Swagger UI<br/>\n               2. Set the 'redirect' setting to false<br/>\n               3. Fill in the values according to your application configuration<br/>\n               4. Click 'Execute'<br/>\n            </p>\n            <br/>\n            <p>\n            The response from this request will include the URL you need to generate a token. Copy/paste it into a new window and follow the instructions.\n            </p>",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "bearer": []
    }
  ]
}
```

# Sibling pages

* [Creates a project](https://developer.liveswitch.com/reference/post_v1-projects.md)
* [Retrieves a list of projects](https://developer.liveswitch.com/reference/get_v1-projects.md)
* [Updates a project](https://developer.liveswitch.com/reference/put_v1-projects-id.md)
* [Creates presigned URLs for uploading images to a project](https://developer.liveswitch.com/reference/post_v1-projects-id-upload-urls-images.md)
* [Creates presigned URLs for uploading documents to a project](https://developer.liveswitch.com/reference/post_v1-projects-id-upload-urls-documents.md)
* [Creates presigned URLs for uploading videos to a project](https://developer.liveswitch.com/reference/post_v1-projects-id-upload-urls-videos.md)
* [Creates a Spark on a project](https://developer.liveswitch.com/reference/post_v1-projects-projectid-sparks.md)
* [Lists all Spark runs for a project](https://developer.liveswitch.com/reference/get_v1-projects-projectid-sparks.md)