> For the complete documentation index, see [llms.txt](https://developers.bloomcredit.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.bloomcredit.io/reference/consumer-permissioned-data/create-invite-tokens-in-batch-for-byot-flow.md).

# Create invite tokens in batch for BYOT flow

## Create invite tokens in batch for BYOT flow

> Creates multiple invite tokens for the Bring Your Own Token (BYOT) flow. Each token associates an email with a processor token. Maximum 100 tokens per request.

```json
{"openapi":"3.1.0","info":{"title":"Create invite tokens in batch for BYOT flow","version":"2.0"},"tags":[{"name":"Create invite tokens in batch for BYOT flow"}],"servers":[{"description":"Furnishment sandbox server, for testing purposes (v2)","url":"https://sandbox.bloom.dev"},{"description":"Furnishment server","url":"https://api.bloomcredit.io"},{"description":"Production Consumer Permissioned Data server","url":"https://api.bloomplus.com"},{"description":"Development Consumer Permissioned Data server","url":"https://api.bloomplus.dev"}],"paths":{"/v2/invite-tokens":{"post":{"description":"Creates multiple invite tokens for the Bring Your Own Token (BYOT) flow. Each token associates an email with a processor token. Maximum 100 tokens per request.","operationId":"createInviteTokensBatch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInviteTokensBatchRequestBody"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInviteTokensBatchResponseBody"}}},"description":"OK"},"default":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}},"description":"Error"}},"summary":"Create invite tokens in batch for BYOT flow","tags":["Create invite tokens in batch for BYOT flow"]}}},"components":{"schemas":{"CreateInviteTokensBatchRequestBody":{"additionalProperties":false,"properties":{"$schema":{"description":"A URL to the JSON Schema for this object.","format":"uri","readOnly":true,"type":"string"},"expiration_days":{"description":"Number of days until tokens expire. Default: 7, Max: 365","format":"int64","maximum":365,"minimum":1,"type":"integer"},"tokens":{"description":"List of tokens to create","items":{"$ref":"#/components/schemas/CreateInviteTokenBatchInput"},"maxItems":100,"minItems":1,"type":"array"}},"required":["tokens"],"type":"object"},"CreateInviteTokenBatchInput":{"additionalProperties":false,"properties":{"email":{"description":"Email address for the invite token","format":"email","type":"string"},"processor_tokens":{"description":"Processor tokens for BYOT flow","items":{"type":"string"},"maxItems":25,"type":["array","null"]}},"required":["email"],"type":"object"},"CreateInviteTokensBatchResponseBody":{"additionalProperties":false,"properties":{"$schema":{"description":"A URL to the JSON Schema for this object.","format":"uri","readOnly":true,"type":"string"},"failed":{"description":"List of tokens that failed to create","items":{"$ref":"#/components/schemas/CreateInviteTokenBatchFailed"},"type":"array"},"succeeded":{"description":"List of successfully created tokens","items":{"$ref":"#/components/schemas/CreateInviteTokenBatchSuccess"},"type":"array"},"success_count":{"description":"Number of tokens successfully created","format":"int64","type":"integer"}},"required":["success_count","succeeded","failed"],"type":"object"},"CreateInviteTokenBatchFailed":{"additionalProperties":false,"properties":{"email":{"description":"Email address of the failed token","type":"string"},"error":{"description":"Error message describing why the token failed","type":"string"}},"required":["email","error"],"type":"object"},"CreateInviteTokenBatchSuccess":{"additionalProperties":false,"properties":{"email":{"description":"Email address of the created token","type":"string"},"invite_code":{"description":"Generated invite code (present when organization requires invite codes)","type":"string"},"processor_tokens":{"description":"All processor tokens associated with this invite","items":{"type":"string"},"type":["array","null"]}},"required":["email"],"type":"object"},"ErrorModel":{"additionalProperties":false,"properties":{"$schema":{"description":"A URL to the JSON Schema for this object.","format":"uri","readOnly":true,"type":"string"},"detail":{"description":"A human-readable explanation specific to this occurrence of the problem.","type":"string"},"errors":{"description":"Optional list of individual error details","items":{"$ref":"#/components/schemas/ErrorDetail"},"type":["array","null"]},"instance":{"description":"A URI reference that identifies the specific occurrence of the problem.","format":"uri","type":"string"},"status":{"description":"HTTP status code","format":"int64","type":"integer"},"title":{"description":"A short, human-readable summary of the problem type. This value should not change between occurrences of the error.","type":"string"},"type":{"default":"about:blank","description":"A URI reference to human-readable documentation for the error.","format":"uri","type":"string"}},"type":"object"},"ErrorDetail":{"additionalProperties":false,"properties":{"location":{"description":"Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'","type":"string"},"message":{"description":"Error message text","type":"string"},"value":{"description":"The value at the given location"}},"type":"object"}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.bloomcredit.io/reference/consumer-permissioned-data/create-invite-tokens-in-batch-for-byot-flow.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
