Credentials
Create credential
Create a new credential for storing portal login information
POST
Create a credential to store login details for a government tax portal. Use the Portal Fields endpoint to discover what fields a portal requires.
Request body
The unique identifier (UUID) for the corporation.
The type of credential. Values:
INDIRECT_TAX_REGISTRATION, OTHER.Array of credential blocks. Each block stores one field (e.g., username, password). Minimum 1 block required.Each block requires:
block_key— unique key for the field (e.g.,username)block_label— display label (e.g.,Username)block_type— one ofString,SecureString,Filevalue— the field value
The portal ID to associate the credential with. Get this from the Portal Fields endpoint.
A display name for the credential.
URL of the tax portal.
Optional notes about the credential.
Whether this is a custom (user-defined) credential rather than a portal-driven one.