business

Complete upload profile attachments

Finish a profile attachment after its upload: the stored file is read back, must match the reserved size and SHA-256, and its bytes must prove its declared type. Pass the etag the upload answered, or omit it to recover from the store. Returns the attachment, ready to name in business_profiles_generate's attachmentIds; retrying is safe.

post/api/v1/business/profile-attachments/complete-upload

Request

  • Base URL: https://point11.ai
  • URL: https://point11.ai/api/v1/business/profile-attachments/complete-upload
  • Auth: OAuth 2 (authorization code, authorization URL https://auth.point11.ai/oauth2/authorize, token URL https://auth.point11.ai/oauth2/token)

Headers

Point11-Organizationstring uuid

Organization to act in. Required for OAuth bearers; an API key acts in the organization that owns it.

Idempotency-Keystring uuid required

UUID naming this intent. Retry with the same key; reuse for other input is 409.

Request body

idstring uuid required

The attachment id reserve-upload returned.

etagstring

The etag the upload's response named; omit to recover it from the store.

Response

Success.

idstring uuid required
filenamestring required
mediaType'image/png' | 'image/jpeg' | 'image/webp' | 'application/pdf' | 'text/plain' | 'text/markdown' | 'text/csv' required
byteLengthinteger required
status'ready' required

Changes

No recorded changes to this operation across all 1 revision of this API.