Lindo icon

Lindo

Interact with the Lindo.ai API

Credit → Allocate Credits

AI-generated

Summary

Allocate credits to a Lindo client by sending the client ID, credit type, and amount to the Lindo API. Optionally include a source and notes with the allocation record.

Inputs

  • Authentication — Choose API Key or OAuth2 credentials; OAuth2 is the default.
  • Client ID (required) — Unique identifier of the client receiving credits.
  • Credit Type (required) — Select daily, monthly, or purchased credits. Defaults to purchased.
  • Amount (required) — Number of credits to allocate; defaults to 1.
  • Additional Fields: Source — Allocation source, such as bonus, purchase, or promotion. Defaults to bonus and is sent when non-empty.
  • Additional Fields: Notes — Optional notes for the allocation record; sent when non-empty.

Output shape

A list of output items, normally one per input item, containing the API response data.

For each successful input, the node outputs response.result if present, otherwise response.data if present, otherwise the full response. With Continue On Fail enabled, an item-level error object is output for failures.

Links

Discussion