LaraCopilot
LaraCopilot
API ReferenceEndpointsDeploymentConnections

Get provider connection

Returns the deployment provider connection for a specific external user.

GET
/deployments/{provider}/connections/{externalUserId}
AuthorizationBearer <token>

In: header

Path Parameters

provider*string
externalUserId*string

Response Body

application/json

application/json

curl -X GET "https://builder.laracopilot.com/api/v1/deployments/string/connections/string"
{
  "success": true,
  "message": "Deployment provider connection fetched successfully.",
  "data": {
    "id": 0,
    "provider": "string",
    "provider_name": "string",
    "external_user_id": "string",
    "provider_account_id": "string",
    "provider_account_name": "string",
    "provider_account_email": "string",
    "expires_at": "string",
    "last_used_at": "string",
    "connected_at": "string",
    "updated_at": "string",
    "metadata": {
      "slug": null
    }
  },
  "errors": null
}
{
  "success": true,
  "message": "Deployment provider connection not found for the provided external user.",
  "data": null,
  "errors": null
}