Compliance Center/API reference//
- Uploads an attachment to be linked to a brand. The attachment will be automatically assigned to the new Brand Orders when needed.
Creates a new Draft Brand in US with the request data.
List brands for a project
Imports an existing Brand in US.
Get a brand by project and brand id.
Delete a brand by project and brand id.
Patches an existing Brand in US with the request data.
Download brand attachment
Delete Brand Attachment
Uploads an attachment to...
Upload an attachment to be linked to a brand.
Security
OAuth2(Required scopes: write)
- Production server. Data processed and stored within Europe.https://compliance.api.sinch.com/v1/projects/{projectId}/us/brands/{brandId}/attachments
curl -i -X POST \
'https://compliance.api.sinch.com/v1/projects/{projectId}/us/brands/{brandId}/attachments' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: multipart/form-data' \
-F file=file.txt \
-F attachmentType=COMPANY_BANNERAttachment uploaded successfully.
Attachment type
| Enum Value | Description |
|---|---|
| COMPANY_BANNER | Banner attachment |
| COMPANY_LOGO | Logo attachment |
Status of the file uploaded
| Enum Value | Description |
|---|---|
| COMPLETED | Attachment successfully uploaded and linked to the registration |
| WAITING | Attachment processing is still ongoing. |
| FAILED | Attachment uploading has failed for any reason. |
Response
{ "attachmentId": "d1c7ccbf-919d-462f-8587-dec95a1b11ee", "fileName": "company_logo.png", "attachmentType": "COMPANY_LOGO", "mimeType": "image/png", "uploadStatus": "COMPLETED", "createTime": "2024-01-15T10:00:00Z", "updateTime": "2024-01-15T10:00:00Z" }
We'd love to hear from you!
Rate this content: