Create a personal access token
POST
/connections/pat
const url = 'https://api.engram.page/connections/pat';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"Claude Desktop"}'};
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.engram.page/connections/pat \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "Claude Desktop" }'The raw key is returned once. Subject to the per-plan PAT creation limit.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”PAT name
Media typeapplication/json
CreatePatRequest
object
name
required
string
Example
{ "name": "Claude Desktop"}Responses
Section titled “Responses”Created (raw key)
Media typeapplication/json
ApiKeyCreated
object
id
required
string format: uuid
key
required
Raw secret — store it now; never shown again.
string
name
required
string
Examplegenerated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "key": "example", "name": "example"}Blank/invalid name