Hosted form render context (page cookie)
Returns the auth manifest + display metadata for the hosted credential form. Authenticated by the page cookie set during dispatch. Never returns a secret.
GET
/api/integrations/connect/contextbetter-auth.session_token<token>
Cookie session from Better Auth. Requires X-Org-Id header for org-scoped routes.
In: cookie
curl -X GET "https://your-instance/api/integrations/connect/context"{
"packageId": "string",
"auth_key": "string",
"display_name": "string",
"icon": "string",
"auth": {},
"connection_id": "string",
"csrf": "string",
"variables": {
"schema": {},
"values": {
"property1": "string",
"property2": "string"
}
}
}{
"type": "https://docs.appstrate.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Resource not found",
"code": "not_found",
"request_id": "req_abc123"
}