autessa.connectors.beehiiv
6 methods in the connectors.beehiiv namespace.
autessa.connectors.beehiiv.allREAD
autessa.connectors.beehiiv.all({ pageSize, pageToken })List every beehiiv connector you can access in your current company.
List every beehiiv connector you can access in your current company. Takes no arguments and returns each connector you have at least READ access to. Use a connector's connectorId with the other beehiiv connector methods. Stored API keys are never included.
Request fields
- Name
pageSize- Type
- number
- Description
- Name
pageToken- Type
- string
- Description
Response fields
- Name
connectors- Type
- BeehiivConnectorDto[]
- Description
- Name
nextPageToken- Type
- string
- Description
autessa.connectors.beehiiv.createMUTATE
autessa.connectors.beehiiv.create({ connectorName, apiKey })Create a beehiiv connector from an API key.
Stores a beehiiv API key as a new connector for your company. HIGH risk: it persists a credential that grants access to the beehiiv account's publications and subscribers. Validate the key first with connectors.beehiiv.testConnection. The key is stored encrypted and never returned.
Request fields
- Name
connectorName- Type
- string
- Description
- Name
apiKey- Type
- string
- Description
Response fields
- Name
connector- Type
- BeehiivConnectorDto
- Description
- Name
message- Type
- string
- Description
autessa.connectors.beehiiv.deleteMUTATE
autessa.connectors.beehiiv.delete({ connectorId })Permanently delete a beehiiv connector and its stored API key.
Permanently delete a beehiiv connector and its stored API key. Removes the connector for connectorId, revoking every tool and script that relied on it. Only the owner can delete a connector, and it cannot be recovered — reconnecting requires creating it again with the API key. High-risk and irreversible.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
message- Type
- string
- Description
autessa.connectors.beehiiv.getREAD
autessa.connectors.beehiiv.get({ connectorId })Fetch one beehiiv connector by id.
Fetch one beehiiv connector by id. Returns the full connector for connectorId — including its publications and active and sharing state — but never the stored API key. Fails if you lack READ access to the connector.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
connector- Type
- BeehiivConnectorDto
- Description
autessa.connectors.beehiiv.testConnectionMUTATE
autessa.connectors.beehiiv.testConnection({ apiKey })Check whether a beehiiv API key is valid before saving it.
Validates the given API key by asking beehiiv to list its publications. Returns connectionSuccessful and, when valid, the publications the key can access — useful to confirm the key before connectors.beehiiv.create. Does not persist anything.
Request fields
- Name
apiKey- Type
- string
- Description
Response fields
- Name
connectionSuccessful- Type
- boolean
- Description
- Name
message- Type
- string
- Description
- Name
publications- Type
- BeehiivPublication[]
- Description
autessa.connectors.beehiiv.updateMUTATE
autessa.connectors.beehiiv.update({ connectorId, connectorName, apiKey })Rename a beehiiv connector or rotate its API key.
Applies a sparse patch to the beehiiv connector: send connectorName to rename it, or apiKey to replace the stored key (omit apiKey to keep the existing one). Omit a field to leave it unchanged. Requires WRITE access.
Request fields
- Name
connectorId- Type
- string
- Description
- Name
connectorName- Type
- string
- Description
- Name
apiKey- Type
- string
- Description
Response fields
- Name
connector- Type
- BeehiivConnectorDto
- Description
- Name
message- Type
- string
- Description