API ReferenceEndpointsDeploymentConnections
Get provider connection
Returns the deployment provider connection for a specific external user.
Authorization
http 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
}List provider connections
Returns deployment provider connections stored for the authenticated agency. Each connection belongs to one external user.
Connect deployment provider
Stores a deployment provider account credential for an external user. Validates the token against the provider before persisting.