A link where a member types the values of variables
OpenAPI JSONconst url = 'https://api.eu.apigami.com/v1/apps/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/environment/confirmations';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"names":["HUBSPOT_TOKEN"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.eu.apigami.com/v1/apps/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/environment/confirmations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "names": [ "HUBSPOT_TOKEN" ] }'The page where a member of the team types the values of up to 20 environment variables, which the caller never sees: what a GitHub Actions check prints beside the variables a version still lacks (https://www.apigami.com/docs/app-github/). The link lasts an hour. An AI assistant asks for the same link with the MCP tool app_environment_write.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”object
Uppercase names, such as HUBSPOT_TOKEN.
Example
{ "names": [ "HUBSPOT_TOKEN" ]}Responses
Section titled “Responses”The link to give a member.
object
Examplegenerated
{ "confirmation_url": "https://example.com", "expires_at": "2026-04-15T12:00:00Z"}A name that is not an uppercase variable name, or one Apigami reserves.
object
Present and true when the approval window is open and the user has not answered within 45 s.
On consent requested and no grant from emails.send or ai.generate: the permission the user never decided, or refused. Absent for a site.
On no grant: the page of the user’s Apigami space where they allow it again; send them there.
On consent requested, in place of permission: the bare app_id of each application whose terms or subprocessors the user has yet to agree to, unlike the boxes of GET /apps/{app_id}. Only the connect page asks it: send them to connect_url, or to one of your pages.
With terms, when the user agrees under your application: your install link, where they tick the boxes still to tick.
Example
{ "error": "use an uppercase environment variable name, such as API_BASE_URL"}Not an application of your team.
object
Present and true when the approval window is open and the user has not answered within 45 s.
On consent requested and no grant from emails.send or ai.generate: the permission the user never decided, or refused. Absent for a site.
On no grant: the page of the user’s Apigami space where they allow it again; send them there.
On consent requested, in place of permission: the bare app_id of each application whose terms or subprocessors the user has yet to agree to, unlike the boxes of GET /apps/{app_id}. Only the connect page asks it: send them to connect_url, or to one of your pages.
With terms, when the user agrees under your application: your install link, where they tick the boxes still to tick.
Example
{ "error": "not found"}