# Bulk create events

`POST https://api.nexus.gg/v1/bounties/event/bulk`

Queues up to 1000 events for asynchronous creation instead of creating them one at a time. It returns a bulk operation id immediately, before any individual event has been created. Poll that id with Bulk event status, whose response reports the operation's status, timestamps, and (once it completes) a per-item error list and a log of the events it created. A batch item that fails schema validation returns a differently shaped `{status: 400, errors: [...]}` body.

## Authorizations

- `X-SHARED-SECRET` (string, header, required)

## Query parameters

- `groupId` (string) - Creator group to use for this operation. If your key is scoped to a single program, that group is always used regardless of this value; otherwise falls back to your default group when omitted.

## Request body (`application-x-www-form-urlencoded`)

## Responses

### 200

Event Bulk Operation created successfully

#### Body (`application/json`)

### 400

bad request

#### Body (`application/json`)

- `code` (string) - CodeNotInGroup: Creator group is private, and specified code is not linked to it<br/> InvalidGroup: No creator group was found with the specified groupId<br/> InvalidAuthCode: AuthCode provided is not valid<br/> ExpiredAuthCode: AuchCode provided has expired<br/> ReferralNexusNotFound: No Nexus was found to match the provided referral code<br/> BountyNotFound: No bounty was found with the specified bountyId<br/> CreatorNotFound: No creator found with the specified creatorId<br/> InvalidEventCode: No event found with the specifed event code Allowed values: InvalidGroup, CodeNotInGroup, InvalidAuthCode, ExpiredAuthCode, ReferralNexusNotFound, BountyNotFound, MemberNotFound, InvalidEventCode, UnknownError.
- `message` (string)

```json
{
  "code": "InvalidGroup",
  "message": "Invalid Group ID: V1StGXR8_Z5jdHi6B1LiO"
}
```
