Get auth link status
Connections
Get auth link status
Check whether an auth link is pending, expired, or connected.
GET
Get auth link status
Returns the current status of an auth link created by your team.
If your MCP client does not support custom headers, pass the connection ID in the MCP URL instead:
Passing
Endpoint
Path Parameters
| Parameter | Type | Description |
|---|---|---|
auth_link_id | string | Auth link ID returned by POST /v1/connections/auth-link. |
Example Request
Response
Status Values
| Status | Description |
|---|---|
pending | The auth link has not been completed and has not expired. |
connected | The OAuth flow completed and the auth link was consumed. |
expired | The auth link expired before completion. |
Connections
Theconnection_id field is populated after a successful OAuth flow. The connections array contains that exact connection when it is still available to your team.
If the link is pending, expired, or the connection was later deleted, connections is an empty list.
You can pass connection_id to Markifact MCP using X-Markifact-Context when you want an MCP request to use only this connected account. This is the recommended option when your MCP client supports custom headers:
{"connection_ids":[]} or using ?connection_ids= explicitly allows no connections for that request. Omit runtime context to use the MCP server’s normal saved connection settings. If both the header and query parameter are provided, X-Markifact-Context is used.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Auth link ID returned by Create auth link.
Response
Auth link status returned.
Available options:
pending, connected, expired 
