Docs

Pull Resource Attributes

POST /resource-attributes/pull

POST/resource-attributes/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.

Copies org library attributes onto the event as correlated copies. An attribute already pulled is reused, not duplicated.

Requires EventSettings on the event and ResourceTypeDatabase.Read on the 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
orgResourceAttributeIdsGuid[]RequiredAttribute ids from the owning organization's library.

Response

201 Created. No response body.

Error Codes

HTTP StatusDescription
403Missing EventSettings, org token for another organization, or missing ResourceTypeDatabase.Read on the org.
404An org attribute id isn't in the library.