# Register Yard Camera **POST /api/camera/yard-cameras** Assign a provider camera to a yard and a direction ## Servers - GCP Development: https://api-dev.gatego.io (GCP Development) - Production: https://api.gatego.io (Production) ## Parameters ### Body: application/json (object) - **integration_id** (integer(int64)) Camera Provider ID from /integrations endpoint - **integration_camera_id** (string) Identifier of the camera in the provider's context - **yard_id** (integer(int64)) Assigned Yard ID - **direction** () - **attachment_types** (array[string]) Assigned AttachmentType List ## Responses ### 200 OK #### Body: application/json (object) - **id** (integer(int64)) Camera ID - **yard_id** (integer(int64)) Assigned Yard ID - **direction** () - **attachment_types** (array[string]) Assigned AttachmentType List - **integration_camera** (object) ### 401 Not Authorized ### 403 Not Allowed [Powered by Bump.sh](https://bump.sh)