Consumer API
Clients & Access
11 public operations generated from the current Awaken schema.
Query
getClientApiKeys
Public query documented by the Awaken skill.
Schema signature
getClientApiKeys(clientId: ID!): [ClientApiKey!]!
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"query { getClientApiKeys }"}'
Query
getClientAuditLogs
Public query documented by the Awaken skill.
Schema signature
getClientAuditLogs(clientId: ID!, field: String, includeCompetitorEdits: Boolean, limit: Int!, page: Int!, transactionIds: [ID!], transactionSearch: String, userId: String): GetClientAuditLogsResponse!
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"query { getClientAuditLogs }"}'
Query
getClientById
Public query documented by the Awaken skill.
Schema signature
getClientById(clientId: String!): Client!
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"query { getClientById }"}'
Query
getClientInsights
Public query documented by the Awaken skill.
Schema signature
getClientInsights(assetTypeFilter: String, clientId: ID!, limit: Int, page: Int, status: InsightStatusEnum, type: InsightTypeEnum): [Insight!]!
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"query { getClientInsights }"}'
Query
getMyActiveClient
Public query documented by the Awaken skill.
Schema signature
getMyActiveClient: Client!
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"query { getMyActiveClient }"}'
Query
getMyClients
Public query documented by the Awaken skill.
Schema signature
getMyClients: [Client!]!
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"query { getMyClients }"}'
Mutation
createClientApiKey
Public mutation documented by the Awaken skill.
Schema signature
createClientApiKey(clientId: ID!, expiresAt: Date, name: String, permissionLevel: ClientApiKeyPermissionLevelEnum!): CreateClientApiKeyResponse!
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"mutation { createClientApiKey }"}'
Mutation
refreshApiKey
Public mutation documented by the Awaken skill.
Schema signature
refreshApiKey(accountId: ID!, apiKey: String, clientId: ID!, l1Address: String, passphrase: String, secretKey: String): String
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"mutation { refreshApiKey }"}'
Mutation
revokeClientApiKey
Public mutation documented by the Awaken skill.
Schema signature
revokeClientApiKey(clientId: ID!, id: ID!): ClientApiKey!
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"mutation { revokeClientApiKey }"}'
Mutation
updateClient
Public mutation documented by the Awaken skill.
Schema signature
updateClient(accountantNotes: String, accountantStatus: ClientAccountantStatusEnum, allowCustomerSupportAccess: Boolean, avatarImageUrl: String, canUsePriority: Boolean, clientId: ID!, country: CountryEnum, currency: CurrencyCodeEnum, deadline: Date, defaultAIModel: String, defaultToFloor: Boolean, fiscalYearEnd: String, fiscalYearStart: String, fullServiceNotes: String, fullServiceStatus: String, hasCustomFiscalYear: Boolean, isEnterprise: Boolean, isOnExtension: Boolean, lockTaxesUntil: Date, name: String, neededTaxYears: String, paypalUsername: String, solReferralAddress: String, telegramGroupUrl: String, telegramUsername: String, timezone: String, type: String, useSnapshots: Boolean): Client!
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"mutation { updateClient }"}'
Mutation
updateClientCostBasisAlgorithm
Public mutation documented by the Awaken skill.
Schema signature
updateClientCostBasisAlgorithm(clientId: ID!, costBasisAlgorithm: CostBasisAlgorithmEnum!): Client!
curl
curl https://api.awaken.tax/graphql \-H "content-type: application/json" \-H "x-api-key: $AWAKEN_API_KEY" \--data '{"query":"mutation { updateClientCostBasisAlgorithm }"}'