Docs

Pull Resource

POST /resources/pull

POST/resources/pull

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.
Organization tokenx-Organization-TokenOptionalSet the `orgToken` variable to a token from the Organization API's **Authorize Organization**. It must be for the event's owning organization.

Puts one org inventory resource on this event as a correlated copy, pulling its type first if needed. Idempotent: pulling an already-pulled resource returns the existing copy.

Requires ResourceInventory.Read on the event's owning organization.
Event scoping: This endpoint does not include {eventId} in the URL. The event is determined automatically from your x-Event-Token.

Request Body

FieldTypeRequiredDescription
orgResourceIdGuidRequiredAn org resource id from **Get Org Pool Resources**.

Response

201 Created with the event resource's id as a bare Guid.

Error Codes

HTTP StatusDescription
400A Crew resource whose person isn't on the event.
403Org token for another organization, or missing ResourceInventory.Read.
404Org resource not found.