latestOpenAPI 3.0.1MIT2026-08-102249151.2 KB

9eecb207c30d

10DLC Campaign Registration

Upload attachments for 10DLC campaign registration

Uploads supporting documentation for 10DLC campaign registrations.

post/v1/projects/{projectId}/uploadCampaignFiles:submit

Path parameters

projectIdstring required

Sinch uses projects to group resources such as contacts and apps together to manage and connect a unique set of keys and secret IDs for all your Sinch API products. To identify a project, it is given a unique alphanumeric identifier that ties it to your account. Your project ID can be found in the Customer Dashboard.

Request body

projectIdstring

The project ID to which the campaign belongs.

campaignInternalIdstring required

The campaign ID returned by the create campaign API endpoint.

submitCampaignboolean required

Set this property to false for all uploaded files except the final one, which will allow for uploading documents across multiple requests without submitting the campaign. For the last file, set it to true to indicate that the upload is complete and the campaign should be submitted for review.

Example request

{
  "projectId": "0fc52975-636a-4700-8943-68759df5c9e1",
  "campaignInternalId": "01k4cxccbt519xa3ejty1r5jb4",
  "file": {
    "fileName": "MyFile.txt",
    "fileContent": "VGhpcyBpcyBhIHRlc3QgdGV4dCBmaWxlLg=="
  }
}

Response

A successful response.

statusstring

Indicates whether the file upload was successful or not.

messagestring

A message providing details if the file upload was not successful. Will be an empty string if the upload was successful.

Example response

{
  "status": "success"
}