Stores audio, an image or a PDF of at most 10 MB, sent as base64. Audio needs a caption, which the CRM shows word for word next to the player. The file is only ever served to signed-in users of this workspace who can see the organization.
apiKeyAuth In: header
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidapplication/json
TypeScript Definitions
Use the request body type in TypeScript.
1 <= length <= 200"audio/mpeg" | "audio/mp4" | "audio/aac" | "audio/ogg" | "audio/webm" | "audio/wav" | "audio/x-wav" | "audio/x-m4a" | "image/png" | "image/jpeg" | "image/webp" | "application/pdf"1 <= lengthapplication/json
application/json
application/json
application/json
application/json
curl -X POST "https://loading/api/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/attachments" \ -H "Content-Type: application/json" \ -d '{ "filename": "string", "mimeType": "audio/mpeg", "dataBase64": "string" }'API key authentication. Create an API key in your user profile and include it in the x-api-key header.
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
"projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
"filename": "string",
"mimeType": "string",
"sizeBytes": -9007199254740991,
"caption": "string",
"createdAt": "string",
"contentPath": "string"
}"string""string""string""string"