The CompanyCam API provides programmatic access to CompanyCam’s project-based photo solution, allowing for the management of photos, users, and projects within their ecosystem. With Pipedream, you can harness this API to create powerful automations and integrations that streamline photo management workflows, sync project details, and enhance reporting capabilities for teams in construction, roofing, and similar industries.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
companycam: {
type: "app",
app: "companycam",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.companycam.com/v2/users/current`,
headers: {
Authorization: `Bearer ${this.companycam.$auth.oauth_access_token}`,
},
})
},
})
Photo Backup to Cloud Storage: Automatically upload new photos from CompanyCam projects to cloud storage platforms like Google Drive or Dropbox. This not only creates a backup for security but also enables easy sharing and access across devices.
Project Updates via Messaging Apps: Trigger notifications on messaging platforms like Slack or Microsoft Teams when new photos are added to a project. This keeps the team instantly informed about the latest visual updates and progress without manual intervention.
Integrate Photo Data with CRMs: Sync photo details and associated project information from CompanyCam to Customer Relationship Management (CRM) systems like Salesforce or HubSpot. This can help in tracking customer interactions and project stages, providing a visual timeline of work completed.
Emit new event when a new document is created. See the docs.
Emit new event when a new photo is uploaded. See the docs.
Emit new event when a new project is created. See the docs.
Emit new event when a project is labeled. See the docs.
Find a project by name or create it if it doesn't exist. See the docs.
CompanyCam uses OAuth authentication. When you connect your CompanyCam account, Pipedream will open a popup window where you can sign into CompanyCam and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any CompanyCam API.
Pipedream requests the following authorization scopes when you connect your account:
read
write
destroy
GET
https://app.companycam.com/oauth/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://app.companycam.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://app.companycam.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}