Upload Apple Messages for Business review evidence
/v1/amb/business-account-attachmentsbird amb business-accounts attachments upload --file ./document.pdfcurl -X POST "https://us1.platform.bird.com/v1/amb/business-account-attachments" \
-H "Authorization: Bearer $TOKEN" \
-F 'file=@./file'{
"created_at": "2026-05-20T09:14:52Z",
"updated_at": "2026-05-25T16:42:01Z",
"id": "tca_01krdgeqcxet5s7t44vh8rt9mg",
"status": "draft"
}
Uploads a private PDF or MP4 for a later business submission and returns expiring download and preview links. Deprecated; use POST /v1/compliance/attachments, which takes the same files and returns the same attachment. Both require compliance write access, because an upload whose contents match an existing workspace attachment returns that attachment.
Response Payload
created_atupdated_atidfilenameThe uploaded file's name.
content_typeThe file's content type, determined from its contents.
size_bytesThe file's size in bytes.
descriptionA short note describing what the file shows.
statusLifecycle of an attachment. draft is a file that has been uploaded but nothing
has been registered or submitted with it yet, and it is discarded at its
expires_at. attached means at least one registration has cited it, so it is
kept permanently and can no longer be deleted.
Possible values: draft, attached
download_urlShort-lived signed URL for downloading or previewing the attachment. Valid for 24 hours from when the resource was fetched; request a fresh resource to obtain a new URL after expiry. Do not cache beyond download_url_expires_at. Registration authorities (10DLC and toll-free carriers) retrieve evidence via a separate, longer-lived token; this URL is not that token.
preview_urlOptional signed URL for inline viewing on an isolated storage origin, for a PDF or MP4. Upload responses and Apple Messages for Business evidence and submission responses may include it; other responses, such as the compliance attachment list, do not. Valid for up to one hour, and never past an unused attachment's expiry; an unused attachment close to expiry may come back without one. For a new link, repeat the Apple Messages for Business evidence or submission read, or upload the same file again without reusing an earlier idempotency key.
download_url_expires_atWhen download_url expires. Both fields are always present; the server returns an error rather than omitting them.
expires_atWhen this attachment is discarded if nothing is registered or submitted with it. Null once its status is attached.
संबंधित संसाधन
इस विषय के लिए दस्तावेज़, गाइड और उदाहरणों के साथ आगे बढ़ें।