Skip to main content
POST
Create project album

Authorizations

Authorization
string
header
required

Authenticate with an API access token in the Authorization header: Authorization: Bearer <token>. Create a token from the API Access Tokens page in Contractors Cloud, under Integrations.

Path Parameters

projectId
integer
required

The id of the project.

Body

application/json
name
string
required

The album's name. Required on creation; can't be set to an empty value.

Maximum string length: 50
Example:

"Roof Before Photos"

date
string<date>
required

The album's own date, formatted as YYYY-MM-DD — for example, the date the photos were taken. Required on creation.

Example:

"2025-02-10"

photos_per_page
enum<integer>
required

The layout used when the album is rendered to PDF — the number of photos placed on each page. Required on creation. Allowed values: 1, 2, 4, 6, 8.

Available options:
1,
2,
4,
6,
8
Example:

4

is_shared_on_customer_portal
boolean
required

Whether the album is visible to the customer through their customer portal. Required on creation.

Example:

true

category
enum<integer>

The album's category. Optional. Allowed values: 0 (no category), 1 (before photos), 2 (progress photos), 3 (completion photos).

Available options:
0,
1,
2,
3
is_active
boolean

Whether the album is active. Optional.

description
string | null

A longer description of the album. Optional.

Response

The created project album.

id
integer

The album's unique identifier.

Example:

6601

tenant_id
integer

The id of your organization's account.

Example:

12

project_id
integer

The id of the project this album belongs to.

Example:

9103

name
string

The album's name.

Example:

"Roof Before Photos"

category
enum<integer>

The album's category. Allowed values: 0 (no category), 1 (before photos), 2 (progress photos), 3 (completion photos).

Available options:
0,
1,
2,
3
Example:

1

description
string | null

A longer description of the album. Null if not set.

photos_per_page
enum<integer>

The layout used when the album is rendered to PDF — the number of photos placed on each page. Allowed values: 1, 2, 4, 6, 8.

Available options:
1,
2,
4,
6,
8
Example:

4

total_photos
integer

The number of photos currently placed in the album. Maintained automatically as items are added to or removed from the album — not settable through this API.

Example:

2

is_active
boolean

Whether the album is active.

Example:

true

is_shared_on_customer_portal
boolean

Whether the album is visible to the customer through their customer portal.

Example:

true

date
string<date>

The album's own date, formatted as YYYY-MM-DD — for example, the date the photos were taken. Set by you, independent of when the album record itself was created.

Example:

"2025-02-10"