API & SDKsREST APIAttachments

Finalize upload

POST/v2/attachments/{id}/finalize
AuthorizationBearer <token>

API key for authentication. Use format: Bearer YOUR_API_KEY

In: header

Path Parameters

id*string

ID of the upload to finalize

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v2/attachments/string/finalize"
{
  "url": "https://s3.amazonaws.com/bucket/file.pdf?..."
}
{
  "message": "Unauthorized",
  "code": "UNAUTHORIZED",
  "issues": []
}
{
  "message": "Not found",
  "code": "NOT_FOUND",
  "issues": []
}
{
  "message": "Internal server error",
  "code": "INTERNAL_SERVER_ERROR",
  "issues": []
}

How is this guide?