Attaches content to an anchor at a position relative to it: a team asset from the library, a file uploaded with POST /assets/upload, or a stored file named by its URL, which becomes a new file record. A file must belong to the anchor's project.
An id your key cannot reach (another team's, or another project's for a bound key) gets the same answer as an id that does not exist.
Not counted against the monthly API request quota.
Recent Requests
Log in to see full request history
Time
Status
User Agent
Retrieving recent requests…
Loading…
Responses
401
MISSING_API_KEY: no x-api-key header.
INVALID_API_KEY_FORMAT: the key is not rv_live_, rv_client_ or rv_secret_ followed by 64 lowercase hexadecimal characters.
INVALID_API_KEY: no such key, or a key sent with the wrong prefix for its type.
API_KEY_EXPIRED: the key is past its expiry date.
AUTH_ERROR: a user token (rv_ut_) was sent as a Bearer token. This operation does not accept user tokens.
403
API_KEY_TYPE_NOT_ALLOWED: a client key. This operation needs a secret key.
STORAGE_LIMIT_REACHED: a new file record would exceed the team's storage quota.
404
ANCHOR_NOT_FOUND: no such anchor, or one the key cannot reach.
TEAM_ASSET_NOT_FOUND: no such team asset in your team.
USER_ASSET_NOT_FOUND: no such file in your team.
429
RATE_LIMITED: more than 600 a minute from one IP address; or, for a secret key, more than 1,200 requests a minute across all operations. Wait the number of seconds in Retry-After. See Limits.
500
ASSET_CREATE_FAILED: the new file record could not be created.
ATTACH_ASSET_FAILED: the attachment could not be stored.
INTERNAL_ERROR: an unexpected error. Retry, and quote meta.request_id to support if it persists.
503
API_KEY_LOOKUP_FAILED: the key could not be checked. Retry; this does not mean the key is invalid.
PROJECT_LOOKUP_FAILED: the project could not be checked. Retry.