Access tokens let tools that can't sign in, such as developer tools, scripts, reporting (Power BI, Excel), automation platforms and your own integrations, connect to your MyConstruct data. This article covers creating a token, copying it, revoking it and what to give an agent or developer.
[Note - API access and AI assistant connections are available on the MyConstruct Studio plan. AI assistants making changes, the ready-made prompts and sign in with MyConstruct are switched on for your account on request]
Switched on for your account, on request. Three features are available on Studio and switched on for your account on request: AI assistants making changes (including imports), the ready-made prompts, and sign in with MyConstruct for chat assistants such as Claude and ChatGPT. Until they're on, assistants can look things up but not change anything, and chat assistants can't sign in: use an access token in a developer tool that supports one. To have them switched on, talk to us.
On this page
- When you need a token
- Create a token
- Copy it straight away
- See and revoke tokens
- What to give an agent or developer
- Good token habits
- Questions
- What we support
When you need a token
Chat assistants such as Claude and ChatGPT don't need a token: they sign in with MyConstruct, where sign-in is switched on for your account. See Turning on API access and connecting an AI assistant. A token works like a password for one tool, so treat it like one.
Create a token
Go to Business Details > API Access > Access tokens.
- Name: what it's for and where it's used, so you know which one to revoke later (for example Coastline setup assistant or Weekly report (Power BI)).
- Access: Read only (the default) or Read/write. Choose read/write only when the tool must change data. For AI assistants, changes also need AI changes switched on for your account.
- Expires: read-only tokens may have no expiry; read/write tokens expire within 90 days.
- + Create makes the token.
- The warning reminds you that read/write tokens are high trust: keep the expiry short and replace them often.
Copy it straight away
- Copy this token now. MyConstruct only keeps a fingerprint of it, so it can never be shown again. Lost it? Revoke it and create a new one.
- Copy, then paste it straight into the tool's settings or your password manager.
See and revoke tokens
Your tokens are listed under Access tokens > Company tokens (admins) or Your tokens.
- Access: Read only or Read/write.
- Token: only the start is shown, so you can match it to a tool. (Blurred here.)
- Expires: the date it stops working, or Never.
- Last used: spot tokens nobody uses any more.
- Revoke stops a token straight away. Do this when a person leaves, a tool is retired, or you think a token has been seen by someone else.
What to give an agent or developer
| Who or what | Give them |
|---|---|
| A chat assistant (Claude, ChatGPT) | Only the MCP address. It signs in as you (where sign-in is switched on for your account). No token needed. |
| A developer tool (Claude Code, Cursor) | The MCP address, plus a token if it doesn't sign in. Make the token in the name of the person using it. |
| A report or dashboard | The API address (without /mcp) and a read-only token. Point them to the Developer docs on the Connect tab. |
| A developer building an integration | The API address, the Developer docs link, and a token with the least access that does the job. Read only first; read/write only for the parts that must write, with a short expiry. |
Never paste a token into a chat. A token in a chat message can end up in the chat history. Chat assistants don't need one: they sign in. Tokens go into a tool's settings, nowhere else. The same goes for emails, support tickets and shared files.
Good token habits
- Use read only unless the tool must change data.
- Name every token after the tool and the person using it.
- Keep read/write expiries short and replace them before they run out.
- Check Last used every so often and revoke anything idle.
- Revoke a token straight away if it may have been seen by someone else.
Questions
I lost a token.
It can't be shown again. Revoke it on the Access tokens tab and create a new one.
A staff member has left.
Disabling their login stops their connections and tokens. To be sure, revoke their tokens and disconnect their apps. See Removing staff access and deleting staff.
Where's the developer documentation?
On the Connect tab: Developer docs, Guide, Reference and a Postman collection, all for your own API server.
What we support
The API is available on the Studio plan only. Anything you, your staff, a contractor, a developer or an AI assistant builds, connects or generates using the API (integrations, scripts, reports, automations, prompts or AI-generated code) is your responsibility, and MyConstruct does not support it. Our included support covers the MyConstruct platform and whether the documented API behaves as published.
If you'd like help building, fixing or extending something, we can quote custom development separately for Studio customers. For the full terms, see the API and AI Use Policy.
Set up your first read-only token in a couple of minutes from Business Details > API Access. Questions about Studio or API access? Talk to us.
Related articles
- Turning on API access and connecting an AI assistant
- Connected apps and AI activity: staying in control of AI assistants
- Setting up a new business with an AI assistant: a worked example
- AI assistant prompts, tips and troubleshooting
- Removing staff access and deleting staff
- Enterprise (MyConstruct Studio)
- API and AI Use Policy
Claude, ChatGPT, Cursor, VS Code and Power BI are trademarks of their respective owners. MyConstruct is not affiliated with or endorsed by them.
Comments
0 comments
Article is closed for comments.