{"openapi":"3.1.0","info":{"title":"API Reference","version":"1.0.0"},"paths":{"/rest/accounts/{account_id}":{"get":{"operationId":"account_Get account","summary":"Get account","description":"Retrieve account details.","tags":["account"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"specific_attributes","in":"query","description":"Comma-separated list of attributes to return. Any combination of: `account_id`, `agency_id`, `name`, `active_until`, `seats_free`, `seats_paid`, `seats_used`, `status`, `created_at`, `created_by`.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account_Get_account_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/agency/{agency_id}":{"get":{"operationId":"agency_Get agency","summary":"Get agency","description":"Retrieve agency details.","tags":["agency"],"parameters":[{"name":"agency_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"specific_attributes","in":"query","description":"Comma-separated list of attributes to return. Any combination of: `accounts`, `agency_id`, `active_until`, `name`, `seats_assigned`, `seats_paid`, `seats_used`, `status`, `stripe_customer_id`, `subscription_status`, `created_at`, `created_by`.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Agency_Get_agency_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/campaigns/{campaign_id}":{"get":{"operationId":"campaigns_Get campaign","summary":"Get campaign","description":"Get a campaign by ID.\n\nThe response also includes one `seat_wait_until_{seat_id}` field per seat in `seats` (timestamp in ms of when that seat can act next in this campaign).","tags":["campaigns"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaigns_Get_campaign_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]},"put":{"operationId":"campaigns_Update campaign","summary":"Update campaign","description":"Update a campaign. Send only the fields you want to change; at least one is required.\n\n**Request body fields (wrapped in a `campaign` object, all optional):**\n- `name` (string) - Campaign name, up to 200 characters.\n- `seats` (array of strings) - Ids of the seats on this account that run the campaign. Replaces the current list.\n- `schedule` (object) - Sending hours for every day, `monday` to `sunday`. Each day is `[enabled (boolean), start_hour (0-23), end_hour (1-24)]`. Replaces the whole schedule.\n- `status` (string) - `DRAFT`, `RUN`, `PAUSED` or `ARCHIVED`.\n- `timezone` (integer) - UTC offset in minutes (e.g. `-300` = UTC-5).\n- `agent_outreach_mode` (string) - `auto` (Full Autopilot), `outbound` (Outbound Autopilot) or `manual` (Co-pilot, AI drafts wait for your approval).\n\nAny other field is rejected with `400`. The account and campaign come from the path.","tags":["campaigns"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaigns_Update_campaign_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"campaign":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdPutRequestBodyContentApplicationJsonSchemaCampaign"}},"required":["campaign"]}}}},"security":[{"apiKeyAuth":[]}]},"delete":{"operationId":"campaigns_Delete campaign","summary":"Delete campaign","description":"Delete a campaign by ID.","tags":["campaigns"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaigns_Delete_campaign_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/campaigns":{"get":{"operationId":"campaigns_List campaigns","summary":"List campaigns","description":"List campaigns for the account, sorted by priority (ascending). Supports pagination with `last_key`.","tags":["campaigns"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaigns_List_campaigns_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]},"post":{"operationId":"campaigns_Create campaign","summary":"Create campaign","description":"Create a new campaign on the account in the path. The `campaign_id` is always generated and returned in the response.\n\n**Request body fields (wrapped in a `campaign` object):**\n- `name` (string, required) - Campaign name, up to 200 characters.\n- `seats` (array of strings, required) - Ids of the seats on this account that run the campaign.\n- `schedule` (object, required) - Sending hours for every day, `monday` to `sunday`. Each day is `[enabled (boolean), start_hour (0-23), end_hour (1-24)]`.\n- `status` (string, optional) - `DRAFT`, `RUN` or `PAUSED`. Defaults to `DRAFT`.\n- `timezone` (integer, optional) - UTC offset in minutes (e.g. `-300` = UTC-5).\n- `agent_outreach_mode` (string, optional) - `auto` (Full Autopilot), `outbound` (Outbound Autopilot) or `manual` (Co-pilot, AI drafts wait for your approval). Defaults to `outbound`.\n\nAny other field is rejected with `400`. The account comes from the path and the API key, never from the body.","tags":["campaigns"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaigns_Create_campaign_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"campaign":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsPostRequestBodyContentApplicationJsonSchemaCampaign"}},"required":["campaign"]}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/campaigns/{campaign_id}/filters/{filter_id}":{"get":{"operationId":"filters_Get filter","summary":"Get filter","description":"Get a filter by ID.","tags":["filters"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"filter_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaigns_Filters_Get_filter_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]},"put":{"operationId":"filters_Update filter","summary":"Update filter","description":"Update fields on a filter, e.g. `{ \"status\": \"PAUSED\" }` to pause it.\n\nThe account, campaign and filter come from the path and cannot be changed.","tags":["filters"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"filter_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaigns_Filters_Update_filter_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"seat_id":{"type":"string"},"name":{"type":"string"},"status":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdFiltersFilterIdPutRequestBodyContentApplicationJsonSchemaStatus"},"mode":{"type":"string"},"profile_fetch_type":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdFiltersFilterIdPutRequestBodyContentApplicationJsonSchemaProfileFetchType"},"max_profiles":{"type":"number","format":"double"},"repeat_days":{"type":"integer"},"filters":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdFiltersFilterIdPutRequestBodyContentApplicationJsonSchemaFilters"},"sn_filter":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdFiltersFilterIdPutRequestBodyContentApplicationJsonSchemaSnFilter"},"url_page":{"type":"string"},"selected_filter_type":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdFiltersFilterIdPutRequestBodyContentApplicationJsonSchemaSelectedFilterType"},"post_criteria":{"type":"array","items":{"description":"Any type"}},"post_sources":{"type":"array","items":{"description":"Any type"}},"posts_lookback":{"type":"integer"},"skip_reposts":{"type":"boolean"}}}}}},"security":[{"apiKeyAuth":[]}]},"delete":{"operationId":"filters_Delete filter","summary":"Delete filter","description":"Delete a filter.","tags":["filters"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"filter_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaigns_Filters_Delete_filter_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/campaigns/{campaign_id}/filters":{"get":{"operationId":"filters_List filters","summary":"List filters","description":"List filters for a campaign.","tags":["filters"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaigns_Filters_List_filters_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]},"post":{"operationId":"filters_Create filters (one per seat)","summary":"Create filters (one per seat)","description":"Create the same filter on one or more seats: one filter is created per seat, all sharing a generated `filter_group_id`.\n\n**Request body fields:**\n- `seats` (array of strings, required) - Ids of the seats on this account that run the filter.\n- `filter` (object, required) - The filter definition, e.g. `type` (`filter_LP`, ...), `url_page` (LinkedIn search URL), `filters`, `max_profiles`, `profile_fetch_type`.\n\nThe account and campaign come from the path.","tags":["filters"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaigns_Filters_Create_filters__one_per_seat__Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"seats":{"type":"array","items":{"type":"string"},"description":"Ids of the seats that run this filter."},"filter":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilter","description":"Filter settings. One filter is created per seat."}},"required":["seats","filter"]}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/campaigns/{campaign_id}/profiles/{profile_id}":{"get":{"operationId":"profiles_Get profile","summary":"Get profile","description":"Get a single profile.","tags":["profiles"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"profile_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaigns_Profiles_Get_profile_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]},"put":{"operationId":"profiles_Update profile","summary":"Update profile","description":"Update a prospect. `status` can only be set to `DONE`, `SKIP` or `BLACKLISTED`, which stops outreach to them; contact fields can be corrected.","tags":["profiles"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"profile_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaigns_Profiles_Update_profile_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdProfilesProfileIdPutRequestBodyContentApplicationJsonSchemaStatus"},"first_name":{"type":"string"},"last_name":{"type":"string"},"full_name":{"type":"string"},"job_title":{"type":"string"},"ln_headline":{"type":"string"},"email_business":{"type":"string"},"phone_mobile":{"type":"string"},"comp_name":{"type":"string"},"comp_website":{"type":"string"},"comp_industry_name":{"type":"string"},"comp_location_region":{"type":"string"},"custom_field_1":{"type":"string"},"custom_field_2":{"type":"string"},"custom_field_3":{"type":"string"},"custom_field_4":{"type":"string"},"custom_field_5":{"type":"string"},"custom_field_6":{"type":"string"}}}}}},"security":[{"apiKeyAuth":[]}]},"delete":{"operationId":"profiles_Delete profile","summary":"Delete profile","description":"Delete a campaign profile.","tags":["profiles"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"profile_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaigns_Profiles_Delete_profile_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/campaigns/{campaign_id}/profiles":{"get":{"operationId":"profiles_List profiles","summary":"List profiles","description":"List profiles within a campaign. Supports `last_key` and `specific_attributes`.","tags":["profiles"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Page size, 1-500. Defaults to 100.","required":false,"schema":{"type":"integer"}},{"name":"last_key","in":"query","description":"Pagination cursor. Pass the `last_key` from the previous response, JSON-stringified and URL-encoded. Omit on the first request; a `null` `last_key` means you have reached the end.","required":false,"schema":{"type":"string"}},{"name":"specific_attributes","in":"query","description":"Comma-separated list of fields to return, e.g. `first_name,last_name,ln_profile_url`.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaigns_Profiles_List_profiles_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]},"post":{"operationId":"profiles_Create profile","summary":"Create profile","description":"Add a prospect to a campaign. Send a LinkedIn profile URL (`ln_profile_url`) or LinkedIn profile id (`ln_profile_id`); contact and company fields are optional and are filled in by enrichment when missing.\n\nThe campaign needs at least one seat and one filter, otherwise the request fails with `400`. The seat and filter are picked automatically.\n\nAdding someone who is already in the campaign is not an error: the response is `200` with `duplicate: true` and the existing prospect.","tags":["profiles"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaigns_Profiles_Create_profile_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"ln_profile_url":{"type":"string"},"ln_profile_id":{"type":"string"},"ln_public_id":{"type":"string"},"urn_sn":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"full_name":{"type":"string"},"job_title":{"type":"string"},"ln_headline":{"type":"string"},"email_business":{"type":"string"},"phone_mobile":{"type":"string"},"comp_name":{"type":"string"},"comp_website":{"type":"string"},"comp_industry_name":{"type":"string"},"comp_location_region":{"type":"string"},"custom_field_1":{"type":"string"},"custom_field_2":{"type":"string"},"custom_field_3":{"type":"string"},"custom_field_4":{"type":"string"},"custom_field_5":{"type":"string"},"custom_field_6":{"type":"string"}}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/campaigns/{campaign_id}/profiles/{profile_id}/opportunity-score":{"get":{"operationId":"profiles_Get profile opportunity score","summary":"Get profile opportunity score","description":"Get the opportunity score breakdown for a profile in a campaign: its ICP score, buyer intent score, and the reasons behind each.\n\nThe campaign combines the two scores using its `icp_weight` and `buyer_intent_weight` settings.","tags":["profiles"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"profile_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaigns_Profiles_Get_profile_opportunity_score_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/campaigns/{campaign_id}/signals":{"get":{"operationId":"signals_List campaign signals","summary":"List campaign signals","description":"List the buying signals found for a campaign, grouped by company.\n\nEach item is one company matched by the campaign, with its `opportunity_score` and the `signals` detected for it (newest first). The `signal` field on each entry names the source that produced it, matching the keys in the campaign `settings.signal_sources`.","tags":["signals"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campaigns_Signals_List_campaign_signals_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/integrations/{integration_id}":{"get":{"operationId":"integrations_Get integration","summary":"Get integration","description":"Get an integration by ID.","tags":["integrations"],"parameters":[{"name":"integration_id","in":"path","description":"Integration id, e.g. `hubspot`, `salesforce`, `webhooks`.","required":true,"schema":{"type":"string"}},{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Integrations_Get_integration_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]},"put":{"operationId":"integrations_Update integration","summary":"Update integration","description":"Update an integration.\n\n**Request body fields:**\n- `integration_id` (string, required) - e.g. `hubspot`, `salesforce`.\n- `account_id` (string, required) - Account to associate the integration with.\n- `config` (object, optional) - Provider-specific configuration key/value pairs.","tags":["integrations"],"parameters":[{"name":"integration_id","in":"path","description":"Integration id, e.g. `hubspot`, `salesforce`, `webhooks`.","required":true,"schema":{"type":"string"}},{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Integrations_Update_integration_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/RestAccountsAccountIdIntegrationsIntegrationIdPutRequestBodyContentApplicationJsonSchemaStatus"},"name":{"type":"string"},"settings":{"$ref":"#/components/schemas/RestAccountsAccountIdIntegrationsIntegrationIdPutRequestBodyContentApplicationJsonSchemaSettings"},"webhooks":{"$ref":"#/components/schemas/RestAccountsAccountIdIntegrationsIntegrationIdPutRequestBodyContentApplicationJsonSchemaWebhooks"},"sf_object_type":{"type":"string"},"linkedin_custom_field":{"type":"string"}}}}}},"security":[{"apiKeyAuth":[]}]},"delete":{"operationId":"integrations_Delete integration","summary":"Delete integration","description":"Delete an integration.","tags":["integrations"],"parameters":[{"name":"integration_id","in":"path","description":"Integration id, e.g. `hubspot`, `salesforce`, `webhooks`.","required":true,"schema":{"type":"string"}},{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Integrations_Delete_integration_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/integrations":{"get":{"operationId":"integrations_List integrations","summary":"List integrations","description":"List configured integrations for this account.","tags":["integrations"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Integrations_List_integrations_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]},"post":{"operationId":"integrations_Create integration","summary":"Create integration","description":"Create a webhook integration. Only `integration_id: \"webhooks\"` can be created through the API; CRM integrations are connected from the dashboard.","tags":["integrations"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Integrations_Create_integration_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"integration_id":{"$ref":"#/components/schemas/RestAccountsAccountIdIntegrationsPostRequestBodyContentApplicationJsonSchemaIntegrationId"},"status":{"$ref":"#/components/schemas/RestAccountsAccountIdIntegrationsPostRequestBodyContentApplicationJsonSchemaStatus"},"name":{"type":"string"},"settings":{"$ref":"#/components/schemas/RestAccountsAccountIdIntegrationsPostRequestBodyContentApplicationJsonSchemaSettings"},"webhooks":{"$ref":"#/components/schemas/RestAccountsAccountIdIntegrationsPostRequestBodyContentApplicationJsonSchemaWebhooks"}}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/inbox/labels":{"get":{"operationId":"inbox_listInboxLabels","summary":"List inbox labels","description":"All inbox labels on the account, keyed by label id.","tags":["inbox"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_listInboxLabels_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]},"post":{"operationId":"inbox_createInboxLabel","summary":"Create inbox label","tags":["inbox"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_createInboxLabel_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"description":"Any type"}}}}}},"security":[{"apiKeyAuth":[]}]},"put":{"operationId":"inbox_replaceInboxLabels","summary":"Replace inbox labels","description":"Replaces the account's whole label map.","tags":["inbox"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_replaceInboxLabels_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"labels":{"$ref":"#/components/schemas/RestAccountsAccountIdInboxLabelsPutRequestBodyContentApplicationJsonSchemaLabels"}}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/inbox/labels/{label_id}":{"delete":{"operationId":"inbox_deleteInboxLabel","summary":"Delete inbox label","tags":["inbox"],"parameters":[{"name":"label_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_deleteInboxLabel_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/seats/{seat_id}/inbox/email/threads":{"get":{"operationId":"threads_List seat threads","summary":"List seat threads","description":"List threads for a seat.","tags":["threads"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Email_Threads_List_seat_threads_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/seats/{seat_id}/inbox/email/threads/{thread_id}":{"get":{"operationId":"threads_Get thread","summary":"Get thread","description":"Get a thread by ID.","tags":["threads"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Email_Threads_Get_thread_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]},"put":{"operationId":"threads_Update thread","summary":"Update thread","description":"Update a thread.","tags":["threads"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Email_Threads_Update_thread_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"labels":{"type":"array","items":{"description":"Any type"}},"read":{"type":"boolean"},"archived":{"type":"boolean"}}}}}},"security":[{"apiKeyAuth":[]}]},"delete":{"operationId":"threads_Delete thread","summary":"Delete thread","description":"Delete a thread by ID.","tags":["threads"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Email_Threads_Delete_thread_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/seats/{seat_id}/inbox/email/threads/{thread_id}/messages":{"get":{"operationId":"messages_Get thread messages","summary":"Get thread messages","description":"List messages within an email thread. Supports cursor pagination via `last_key`: make the first request without it, then if the response `last_key` is non-null, URL-encode the JSON cursor and pass it as `?last_key=` on the next request. Repeat until `last_key` is `null`.","tags":["messages"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"last_key","in":"query","description":"Pagination cursor. Take the `last_key` object from the previous response, JSON-stringify it, then URL-encode it (e.g. `encodeURIComponent(JSON.stringify(last_key))`) and pass it here. Omit on the first request. When the response `last_key` is `null`, you have reached the end.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Email_Messages_Get_thread_messages_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/seats/{seat_id}/inbox/email/messages":{"get":{"operationId":"messages_List seat messages","summary":"List seat messages","description":"List email messages for a seat. Use query params for selection and pagination.","tags":["messages"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Page size, 1-500. Defaults to 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Email_Messages_List_seat_messages_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/seats/{seat_id}/inbox/email/messages/{message_id}":{"get":{"operationId":"messages_Get message","summary":"Get message","description":"Get a message by ID.","tags":["messages"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Email_Messages_Get_message_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]},"put":{"operationId":"messages_Update message","summary":"Update message","description":"Update a message.","tags":["messages"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Email_Messages_Update_message_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"labels":{"type":"array","items":{"description":"Any type"}}}}}}},"security":[{"apiKeyAuth":[]}]},"delete":{"operationId":"messages_Delete message","summary":"Delete message","description":"Delete a message by ID.","tags":["messages"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Email_Messages_Delete_message_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/seats/{seat_id}/inbox/linkedin/threads":{"get":{"operationId":"threads_List seat threads_2","summary":"List seat threads","description":"List Linkedin threads for a seat.","tags":["threads"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Linkedin_Threads_List_seat_threads_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/seats/{seat_id}/inbox/linkedin/threads/{thread_id}":{"get":{"operationId":"threads_Get thread_2","summary":"Get thread","description":"Get a Linkedin thread by ID.","tags":["threads"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Linkedin_Threads_Get_thread_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]},"put":{"operationId":"threads_Update thread_2","summary":"Update thread","description":"Update Linkedin thread.","tags":["threads"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Linkedin_Threads_Update_thread_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"labels":{"type":"array","items":{"description":"Any type"}},"read":{"type":"boolean"},"archived":{"type":"boolean"}}}}}},"security":[{"apiKeyAuth":[]}]},"delete":{"operationId":"threads_Delete thread_2","summary":"Delete thread","description":"Delete a Linkedin thread.","tags":["threads"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Linkedin_Threads_Delete_thread_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/seats/{seat_id}/inbox/linkedin/threads/{thread_id}/ai-response":{"post":{"operationId":"threads_Generate AI response (experimental)","summary":"Generate AI response (experimental)","description":"Generate an AI-suggested reply for a LinkedIn thread from its conversation history. **Experimental**: quality depends on thread context. No request body.","tags":["threads"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Linkedin_Threads_Generate_AI_response__experimental__Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/seats/{seat_id}/inbox/linkedin/threads/{thread_id}/messages":{"get":{"operationId":"messages_Get thread messages_2","summary":"Get thread messages","description":"List messages within a Linkedin thread. Supports cursor pagination via `last_key`: make the first request without it, then if the response `last_key` is non-null, URL-encode the JSON cursor and pass it as `?last_key=` on the next request. Repeat until `last_key` is `null`.","tags":["messages"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"last_key","in":"query","description":"Pagination cursor. Take the `last_key` object from the previous response, JSON-stringify it, then URL-encode it (e.g. `encodeURIComponent(JSON.stringify(last_key))`) and pass it here. Omit on the first request. When the response `last_key` is `null`, you have reached the end.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Linkedin_Messages_Get_thread_messages_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/seats/{seat_id}/inbox/linkedin/messages":{"get":{"operationId":"messages_List seat messages_2","summary":"List seat messages","description":"List Linkedin messages for a seat. Use query params for selection and pagination.","tags":["messages"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Page size, 1-500. Defaults to 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Linkedin_Messages_List_seat_messages_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/seats/{seat_id}/inbox/linkedin/messages/{message_id}":{"get":{"operationId":"messages_Get message_2","summary":"Get message","description":"Get Linkedin message by ID.","tags":["messages"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Linkedin_Messages_Get_message_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]},"put":{"operationId":"messages_Update message_2","summary":"Update message","description":"Update Linkedin message.","tags":["messages"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Linkedin_Messages_Update_message_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"labels":{"description":"Any type"}}}}}},"security":[{"apiKeyAuth":[]}]},"delete":{"operationId":"messages_Delete message_2","summary":"Delete message","description":"Delete a Linkedin message by ID.","tags":["messages"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox_Linkedin_Messages_Delete_message_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/seats/{seat_id}":{"get":{"operationId":"seats_Get seat","summary":"Get seat","description":"Retrieve details of a specific seat.","tags":["seats"],"parameters":[{"name":"account_id","in":"path","description":"The ID of the account.","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","description":"The ID of the seat.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Seats_Get_seat_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/seats":{"get":{"operationId":"seats_List seats","summary":"List seats","description":"Retrieve a list of seats belonging to the specified account.","tags":["seats"],"parameters":[{"name":"account_id","in":"path","description":"The ID of the account.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Seats_List_seats_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/seats/{seat_id}/profiles":{"get":{"operationId":"seats_listSeatConnections","summary":"List seat connections","description":"LinkedIn profiles in the seat's network. Profiles are large, so pages default to 50 (max 200); use `specific_attributes` to trim them.","tags":["seats"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Page size, 1-250. Defaults to 100.","required":false,"schema":{"type":"integer"}},{"name":"last_key","in":"query","description":"Pagination cursor. Pass the `last_key` from the previous response, JSON-stringified and URL-encoded. Omit on the first request; a `null` `last_key` means you have reached the end.","required":false,"schema":{"type":"string"}},{"name":"specific_attributes","in":"query","description":"Comma-separated list of fields to return.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Seats_listSeatConnections_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/signals":{"get":{"operationId":"signals_List available signals","summary":"List available signals","description":"List the signal sources available to the account and the bundles they belong to.\n\nUse a source `id` as a key in a campaign `settings.signal_sources` to enable it for that campaign.","tags":["signals"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Signals_List_available_signals_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/stats":{"get":{"operationId":"stats_Get stats (flexible)","summary":"Get stats (flexible)","description":"Aggregated activity for the whole account by default. Pass `seat_id` and/or `campaign_id` to narrow it.","tags":["stats"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"period","in":"query","description":"`DAY`, `HOUR` (default) or `MIN`.","required":false,"schema":{"$ref":"#/components/schemas/RestAccountsAccountIdStatsGetParametersPeriod","default":"HOUR"}},{"name":"seat_id","in":"query","description":"Narrow to one seat.","required":false,"schema":{"type":"string"}},{"name":"campaign_id","in":"query","description":"Narrow to one campaign (combine with `seat_id` for one seat in one campaign).","required":false,"schema":{"type":"string"}},{"name":"start_date","in":"query","description":"Start of the range, as a millisecond timestamp. Defaults to 30 days ago.","required":false,"schema":{"type":"string"}},{"name":"end_date","in":"query","description":"End of the range, as a millisecond timestamp. Defaults to now.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Stats"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/stats/24h":{"get":{"operationId":"stats_Get last 24h (minutes)","summary":"Get last 24h (minutes)","description":"Per-minute stats for the last 24 hours. Account-wide by default; pass `seat_id` and/or `campaign_id` to narrow it.","tags":["stats"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"query","description":"Narrow to one seat.","required":false,"schema":{"type":"string"}},{"name":"campaign_id","in":"query","description":"Narrow to one campaign (combine with `seat_id` for one seat in one campaign).","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Stats"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/templates/{template_id}":{"get":{"operationId":"templates_Get template","summary":"Get template","description":"Get template by ID (requires `group`).","tags":["templates"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"template_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"group","in":"query","description":"Template group. Defaults to `account_workflows`.","required":false,"schema":{"type":"string","default":"account_workflows"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Templates_Get_template_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]},"put":{"operationId":"templates_Update template","summary":"Update template","description":"Update a template.\n\n**Request body fields:**\n- `group` (string, required) - Template group identifier (e.g. `account_workflows`).\n- `workflow` (object, required for workflow templates) - Contains `name`, `description`, and `body` (nodes + edges graph).\n  - `body.nodes` (array) - Workflow action nodes (type: `start-node` | `action-node`).\n  - `body.edges` (array) - Connections between nodes.\n- `name` (string, optional on update) - Template display name.","tags":["templates"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"template_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"group","in":"query","description":"Template group. Defaults to `account_workflows`.","required":false,"schema":{"type":"string","default":"account_workflows"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Templates_Update_template_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"category":{"type":"string"},"tags":{"type":"array","items":{"description":"Any type"}},"subject":{"type":"string"},"body":{"type":"string"},"workflow":{"$ref":"#/components/schemas/RestAccountsAccountIdTemplatesTemplateIdPutRequestBodyContentApplicationJsonSchemaWorkflow","description":"Workflow graph (`nodes`, `edges`) of `*_workflows` templates."}}}}}},"security":[{"apiKeyAuth":[]}]},"delete":{"operationId":"templates_Delete template","summary":"Delete template","description":"Delete a template by ID (requires `group`).","tags":["templates"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"template_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"group","in":"query","description":"Template group. Defaults to `account_workflows`.","required":false,"schema":{"type":"string","default":"account_workflows"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Templates_Delete_template_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/templates":{"get":{"operationId":"templates_List templates","summary":"List templates","description":"List templates for a group. Optional: account_id/agency_id filters.","tags":["templates"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"group","in":"query","description":"Template group. Defaults to `account_workflows`.","required":false,"schema":{"type":"string","default":"account_workflows"}},{"name":"limit","in":"query","description":"Page size, 1-500. Defaults to 100.","required":false,"schema":{"type":"integer"}},{"name":"last_key","in":"query","description":"Pagination cursor. Pass the `last_key` from the previous response, JSON-stringified and URL-encoded. Omit on the first request; a `null` `last_key` means you have reached the end.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Templates_List_templates_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]},"post":{"operationId":"templates_Create template","summary":"Create template","description":"Create a template. For `*_workflows`, include a `workflow` object.\n\n**Request body fields:**\n- `group` (string, required) - Template group identifier (e.g. `account_workflows`).\n- `workflow` (object, required for workflow templates) - Contains `name`, `description`, and `body` (nodes + edges graph).\n  - `body.nodes` (array) - Workflow action nodes (type: `start-node` | `action-node`).\n  - `body.edges` (array) - Connections between nodes.\n- `name` (string, optional on update) - Template display name.","tags":["templates"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Templates_Create_template_Response_200"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"group":{"$ref":"#/components/schemas/RestAccountsAccountIdTemplatesPostRequestBodyContentApplicationJsonSchemaGroup"},"name":{"type":"string"},"description":{"type":"string"},"category":{"type":"string"},"tags":{"type":"array","items":{"description":"Any type"}},"subject":{"type":"string"},"body":{"type":"string"},"workflow":{"$ref":"#/components/schemas/RestAccountsAccountIdTemplatesPostRequestBodyContentApplicationJsonSchemaWorkflow","description":"Workflow graph (`nodes`, `edges`) of `*_workflows` templates."}}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/seats/{seat_id}/profiles/{profile_id}/logs/{timestamp}":{"get":{"operationId":"logs_Get log","summary":"Get log","description":"Get a single seat-profile log by timestamp.","tags":["logs"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"profile_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"timestamp","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Logs_Get_log_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}},"/rest/accounts/{account_id}/seats/{seat_id}/profiles/{profile_id}/logs":{"get":{"operationId":"logs_List logs","summary":"List logs","description":"List seat-profile logs between `start_date` and `end_date` (required).","tags":["logs"],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"profile_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"start_date","in":"query","description":"Start of the range (required).","required":true,"schema":{"type":"string"}},{"name":"end_date","in":"query","description":"End of the range (required).","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Page size, 1-500. Defaults to 100.","required":false,"schema":{"type":"integer"}},{"name":"last_key","in":"query","description":"Pagination cursor. Pass the `last_key` from the previous response, JSON-stringified and URL-encoded. Omit on the first request; a `null` `last_key` means you have reached the end.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Logs_List_logs_Response_200"}}}}},"security":[{"apiKeyAuth":[]}]}}},"tags":[{"name":"account","description":"The account an API key belongs to."},{"name":"agency","description":"**What is an Agency API key?**\n\nA single **Agency API key** lets you call **any account** that belongs to your agency by using the path:  \n`/agency/accounts/{account_id}/...`\n\nThis returns the **same result** as the account-scoped path `/accounts/{account_id}/...`, but you only need **one key** (the agency key).\n\n**List Campaigns for one account**\n\n**With Account key**\n\n> GET {{base_url}}/accounts/{{account_id}}/campaigns  \nX-API-KEY: {{account_api_key}} \n  \n\n**With Agency key (same output)**\n\n> GET {{base_url}}/agency/accounts/{{account_id}}/campaigns  \nX-API-KEY: {{agency_api_key}} \n  \n\n**Notes**\n\n- The **Agency API key does not aggregate** across accounts. You must specify the target account via the path: `/agency/accounts/{account_id}/...`.\n    \n- Use the **Account API key** if you only ever work with a single account and prefer `/accounts/{account_id}/...`.\n    \n- Keep using the X-API-KEY header for both styles"},{"name":"campaigns","description":"Create, update, list and get campaigns."},{"name":"filters"},{"name":"profiles"},{"name":"signals"},{"name":"integrations","description":"External integrations configured at the account level."},{"name":"inbox","description":"Email and LinkedIn conversations of each seat, plus the labels used to organize them."},{"name":"threads"},{"name":"messages"},{"name":"seats","description":"The seats on an account and each seat's LinkedIn connections."},{"name":"stats","description":"Aggregated activity metrics for accounts, seats, and campaigns."},{"name":"templates","description":"Message and workflow templates (account/agency scoped via `group`)."},{"name":"logs","description":"Activity logs for a profile on a seat."}],"servers":[{"url":"https://alsona.com","description":"https://alsona.com"}],"components":{"schemas":{"AccountBillingPeriod":{"type":"string","enum":["monthly","quarterly","yearly"],"title":"AccountBillingPeriod"},"AccountPlan":{"type":"string","enum":["free","starter","pro","ultra"],"title":"AccountPlan"},"AccountStatus":{"type":"string","enum":["ENABLED","DISABLED","SUSPENDED"],"title":"AccountStatus"},"AccountSubscriptionStatus":{"type":"string","enum":["active","trialing","paused","past_due","unpaid","canceled","incomplete"],"title":"AccountSubscriptionStatus"},"Account":{"type":"object","properties":{"account_id":{"type":"string"},"agency_id":{"type":"string"},"active_until":{"type":"string"},"billing_address":{"type":"string"},"billing_period":{"$ref":"#/components/schemas/AccountBillingPeriod"},"company_name":{"type":"string"},"credits_limit":{"type":"integer"},"credits_used":{"type":"integer"},"credits_purchased":{"type":"integer"},"name":{"type":"string"},"onboarding":{"type":"boolean"},"onboarding_completed_at":{"type":"integer"},"plan":{"$ref":"#/components/schemas/AccountPlan"},"seats_free":{"type":"integer"},"seats_paid":{"type":"integer"},"seats_used":{"type":"integer"},"status":{"$ref":"#/components/schemas/AccountStatus"},"subscription_status":{"$ref":"#/components/schemas/AccountSubscriptionStatus"},"subscription_paused_until":{"type":"integer"},"vat_number":{"type":"string"},"created_at":{"type":"integer"},"updated_at":{"type":"integer"}},"title":"Account"},"Account_Get_account_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"account":{"$ref":"#/components/schemas/Account"}},"required":["success"],"title":"Account_Get account_Response_200"},"AgencyStatus":{"type":"string","enum":["ENABLED","DISABLED","SUSPENDED"],"title":"AgencyStatus"},"AgencySubscriptionStatus":{"type":"string","enum":["active","trialing","paused","past_due","unpaid","canceled","incomplete"],"title":"AgencySubscriptionStatus"},"Agency":{"type":"object","properties":{"agency_id":{"type":"string"},"name":{"type":"string"},"status":{"$ref":"#/components/schemas/AgencyStatus"},"accounts":{"type":"array","items":{"description":"Any type"}},"wl_domain":{"type":"string"},"subscription_status":{"$ref":"#/components/schemas/AgencySubscriptionStatus"},"subscription_paused_until":{"type":"integer"},"active_until":{"type":"string"},"seats_assigned":{"type":"number","format":"double"},"seats_free":{"type":"integer"},"seats_paid":{"type":"number","format":"double"},"seats_used":{"type":"number","format":"double"},"created_at":{"type":"integer"},"updated_at":{"type":"integer"}},"title":"Agency"},"Agency_Get_agency_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"agency":{"$ref":"#/components/schemas/Agency"}},"required":["success"],"title":"Agency_Get agency_Response_200"},"CampaignStatus":{"type":"string","enum":["DRAFT","RUN","DONE","PAUSED","ARCHIVED","DELETED"],"title":"CampaignStatus"},"CampaignAgentOutreachMode":{"type":"string","enum":["auto","outbound","manual"],"title":"CampaignAgentOutreachMode"},"CampaignSchedule":{"type":"object","properties":{},"title":"CampaignSchedule"},"CampaignSettingsIcp":{"type":"object","properties":{},"title":"CampaignSettingsIcp"},"CampaignSettingsSignalSources":{"type":"object","properties":{},"title":"CampaignSettingsSignalSources"},"CampaignSettings":{"type":"object","properties":{"company_name":{"type":"string"},"website":{"type":"string"},"language":{"type":"string"},"elevator_pitch":{"type":"string"},"goal":{"type":"string"},"goal_link":{"type":"string"},"offering":{"type":"string"},"pain_points":{"type":"string"},"additional_instructions":{"type":"string"},"message_length":{"type":"string"},"tone_of_voice":{"type":"string"},"icp":{"$ref":"#/components/schemas/CampaignSettingsIcp"},"signal_sources":{"$ref":"#/components/schemas/CampaignSettingsSignalSources"},"outreach_message_updated_at":{"type":"integer"}},"title":"CampaignSettings"},"Campaign":{"type":"object","properties":{"account_id":{"type":"string"},"campaign_id":{"type":"string"},"name":{"type":"string"},"status":{"$ref":"#/components/schemas/CampaignStatus"},"agent_outreach_mode":{"$ref":"#/components/schemas/CampaignAgentOutreachMode"},"outreach_enabled":{"type":"boolean"},"filters_enabled":{"type":"boolean"},"signal_search_enabled":{"type":"boolean"},"seats":{"type":"array","items":{"description":"Any type"}},"schedule":{"$ref":"#/components/schemas/CampaignSchedule"},"timezone":{"type":"integer"},"dst":{"type":"boolean"},"priority":{"type":"integer"},"icp_weight":{"type":"integer"},"buyer_intent_weight":{"type":"integer"},"opportunity_score_enabled":{"type":"boolean"},"opportunity_score_in_progress":{"type":"boolean"},"opportunity_score_threshold":{"type":"integer"},"outreach_score_threshold":{"type":"integer"},"workflow_actions":{"type":"array","items":{"description":"Any type"}},"created_at":{"type":"number","format":"double"},"created_by":{"type":"string"},"updated_at":{"type":"number","format":"double"},"settings":{"oneOf":[{"$ref":"#/components/schemas/CampaignSettings"},{"type":"null"}]}},"title":"Campaign"},"Campaigns_Get_campaign_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"campaign":{"$ref":"#/components/schemas/Campaign"}},"required":["success"],"title":"Campaigns_Get campaign_Response_200"},"RestAccountsAccountIdCampaignsCampaignIdPutRequestBodyContentApplicationJsonSchemaCampaignStatus":{"type":"string","enum":["DRAFT","RUN","PAUSED","ARCHIVED"],"description":"Lifecycle status.","title":"RestAccountsAccountIdCampaignsCampaignIdPutRequestBodyContentApplicationJsonSchemaCampaignStatus"},"RestAccountsAccountIdCampaignsCampaignIdPutRequestBodyContentApplicationJsonSchemaCampaignSchedule":{"type":"object","properties":{"monday":{"type":"array","items":{"description":"Any type"},"description":"`[enabled, start_hour, end_hour]`"},"tuesday":{"type":"array","items":{"description":"Any type"},"description":"`[enabled, start_hour, end_hour]`"},"wednesday":{"type":"array","items":{"description":"Any type"},"description":"`[enabled, start_hour, end_hour]`"},"thursday":{"type":"array","items":{"description":"Any type"},"description":"`[enabled, start_hour, end_hour]`"},"friday":{"type":"array","items":{"description":"Any type"},"description":"`[enabled, start_hour, end_hour]`"},"saturday":{"type":"array","items":{"description":"Any type"},"description":"`[enabled, start_hour, end_hour]`"},"sunday":{"type":"array","items":{"description":"Any type"},"description":"`[enabled, start_hour, end_hour]`"}},"required":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],"description":"Sending hours per day of the week.","title":"RestAccountsAccountIdCampaignsCampaignIdPutRequestBodyContentApplicationJsonSchemaCampaignSchedule"},"RestAccountsAccountIdCampaignsCampaignIdPutRequestBodyContentApplicationJsonSchemaCampaignAgentOutreachMode":{"type":"string","enum":["auto","outbound","manual"],"description":"`auto` (Full Autopilot), `outbound` (Outbound Autopilot) or `manual` (Co-pilot).","title":"RestAccountsAccountIdCampaignsCampaignIdPutRequestBodyContentApplicationJsonSchemaCampaignAgentOutreachMode"},"RestAccountsAccountIdCampaignsCampaignIdPutRequestBodyContentApplicationJsonSchemaCampaign":{"type":"object","properties":{"name":{"type":"string","maxLength":200,"description":"Campaign name."},"status":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdPutRequestBodyContentApplicationJsonSchemaCampaignStatus","description":"Lifecycle status."},"seats":{"type":"array","items":{"type":"string"},"description":"Ids of the seats (on this account) that run the campaign."},"schedule":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdPutRequestBodyContentApplicationJsonSchemaCampaignSchedule","description":"Sending hours per day of the week."},"timezone":{"type":"integer","minimum":-720,"maximum":840,"description":"UTC offset in minutes, e.g. `-300` for UTC-5."},"agent_outreach_mode":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdPutRequestBodyContentApplicationJsonSchemaCampaignAgentOutreachMode","description":"`auto` (Full Autopilot), `outbound` (Outbound Autopilot) or `manual` (Co-pilot)."}},"title":"RestAccountsAccountIdCampaignsCampaignIdPutRequestBodyContentApplicationJsonSchemaCampaign"},"RestAccountsAccountIdCampaignsCampaignIdPutResponsesContentApplicationJsonSchemaUpdatedFieldsType":{"type":"string","enum":["add","mod","del"],"title":"RestAccountsAccountIdCampaignsCampaignIdPutResponsesContentApplicationJsonSchemaUpdatedFieldsType"},"RestAccountsAccountIdCampaignsCampaignIdPutResponsesContentApplicationJsonSchemaUpdatedFields":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdPutResponsesContentApplicationJsonSchemaUpdatedFieldsType"},"old_value":{"description":"Any type"},"new_value":{"description":"Any type"}},"title":"RestAccountsAccountIdCampaignsCampaignIdPutResponsesContentApplicationJsonSchemaUpdatedFields"},"Campaigns_Update_campaign_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"campaign":{"$ref":"#/components/schemas/Campaign"},"campaign_old":{"$ref":"#/components/schemas/Campaign"},"updated_fields":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdPutResponsesContentApplicationJsonSchemaUpdatedFields"},"description":"Changed public fields, keyed by field name."}},"required":["success"],"title":"Campaigns_Update campaign_Response_200"},"Campaigns_Delete_campaign_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"campaign":{"$ref":"#/components/schemas/Campaign"}},"required":["success"],"title":"Campaigns_Delete campaign_Response_200"},"Campaigns_List_campaigns_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"last_key":{"description":"Any type"},"campaigns":{"type":"array","items":{"$ref":"#/components/schemas/Campaign"}}},"required":["success"],"title":"Campaigns_List campaigns_Response_200"},"RestAccountsAccountIdCampaignsPostRequestBodyContentApplicationJsonSchemaCampaignStatus":{"type":"string","enum":["DRAFT","RUN","PAUSED"],"description":"Lifecycle status.","title":"RestAccountsAccountIdCampaignsPostRequestBodyContentApplicationJsonSchemaCampaignStatus"},"RestAccountsAccountIdCampaignsPostRequestBodyContentApplicationJsonSchemaCampaignSchedule":{"type":"object","properties":{"monday":{"type":"array","items":{"description":"Any type"},"description":"`[enabled, start_hour, end_hour]`"},"tuesday":{"type":"array","items":{"description":"Any type"},"description":"`[enabled, start_hour, end_hour]`"},"wednesday":{"type":"array","items":{"description":"Any type"},"description":"`[enabled, start_hour, end_hour]`"},"thursday":{"type":"array","items":{"description":"Any type"},"description":"`[enabled, start_hour, end_hour]`"},"friday":{"type":"array","items":{"description":"Any type"},"description":"`[enabled, start_hour, end_hour]`"},"saturday":{"type":"array","items":{"description":"Any type"},"description":"`[enabled, start_hour, end_hour]`"},"sunday":{"type":"array","items":{"description":"Any type"},"description":"`[enabled, start_hour, end_hour]`"}},"required":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],"description":"Sending hours per day of the week.","title":"RestAccountsAccountIdCampaignsPostRequestBodyContentApplicationJsonSchemaCampaignSchedule"},"RestAccountsAccountIdCampaignsPostRequestBodyContentApplicationJsonSchemaCampaignAgentOutreachMode":{"type":"string","enum":["auto","outbound","manual"],"description":"`auto` (Full Autopilot), `outbound` (Outbound Autopilot) or `manual` (Co-pilot). Defaults to `outbound`.","title":"RestAccountsAccountIdCampaignsPostRequestBodyContentApplicationJsonSchemaCampaignAgentOutreachMode"},"RestAccountsAccountIdCampaignsPostRequestBodyContentApplicationJsonSchemaCampaign":{"type":"object","properties":{"name":{"type":"string","maxLength":200,"description":"Campaign name."},"status":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsPostRequestBodyContentApplicationJsonSchemaCampaignStatus","description":"Lifecycle status."},"seats":{"type":"array","items":{"type":"string"},"description":"Ids of the seats (on this account) that run the campaign."},"schedule":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsPostRequestBodyContentApplicationJsonSchemaCampaignSchedule","description":"Sending hours per day of the week."},"timezone":{"type":"integer","minimum":-720,"maximum":840,"description":"UTC offset in minutes, e.g. `-300` for UTC-5."},"agent_outreach_mode":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsPostRequestBodyContentApplicationJsonSchemaCampaignAgentOutreachMode","description":"`auto` (Full Autopilot), `outbound` (Outbound Autopilot) or `manual` (Co-pilot). Defaults to `outbound`."}},"required":["name","seats","schedule"],"title":"RestAccountsAccountIdCampaignsPostRequestBodyContentApplicationJsonSchemaCampaign"},"Campaigns_Create_campaign_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"campaign":{"$ref":"#/components/schemas/Campaign"}},"required":["success"],"title":"Campaigns_Create campaign_Response_200"},"FilterType":{"type":"string","enum":["signal_search","filter_company","filter_post","filter_SN","filter_LP","filter_RL","filter_RP","csv_profiles","csv_companies","from_campaign","from_posts","group_LP","event_LP","integration"],"title":"FilterType"},"FilterStatus":{"type":"string","enum":["RUN","REPEAT","DONE","PAUSED","ERROR","WAITING","NEED_ENRICH"],"title":"FilterStatus"},"FilterProfileFetchType":{"type":"string","enum":["FULL","LAZY","BASIC","REPEAT"],"title":"FilterProfileFetchType"},"FilterFilters":{"type":"object","properties":{},"title":"FilterFilters"},"FilterSnFilter":{"type":"object","properties":{},"title":"FilterSnFilter"},"FilterSelectedFilterType":{"type":"string","enum":["filter_LP","filter_SN"],"title":"FilterSelectedFilterType"},"FilterFileHeaderMapping":{"type":"object","properties":{},"title":"FilterFileHeaderMapping"},"FilterStats":{"type":"object","properties":{},"title":"FilterStats"},"Filter":{"type":"object","properties":{"filter_id":{"type":"string"},"campaign_id":{"type":"string"},"account_id":{"type":"string"},"filter_group_id":{"type":"string"},"seat_id":{"type":"string"},"name":{"type":"string"},"type":{"$ref":"#/components/schemas/FilterType"},"status":{"$ref":"#/components/schemas/FilterStatus"},"mode":{"type":"string"},"info":{"type":"string"},"profile_fetch_type":{"$ref":"#/components/schemas/FilterProfileFetchType"},"max_profiles":{"type":"number","format":"double"},"repeat_days":{"type":"integer"},"filters":{"$ref":"#/components/schemas/FilterFilters"},"sn_filter":{"$ref":"#/components/schemas/FilterSnFilter"},"url_page":{"type":"string"},"selected_filter_type":{"$ref":"#/components/schemas/FilterSelectedFilterType"},"post_criteria":{"type":"array","items":{"description":"Any type"}},"post_sources":{"type":"array","items":{"description":"Any type"}},"posts_lookback":{"type":"integer"},"skip_reposts":{"type":"boolean"},"integration_id":{"type":"string"},"from_campaign_id":{"type":"string"},"from_campaign_name":{"type":"string"},"file_header_mapping":{"$ref":"#/components/schemas/FilterFileHeaderMapping"},"stats":{"$ref":"#/components/schemas/FilterStats"},"last_fetch_at":{"type":"number","format":"double"},"created_at":{"type":"number","format":"double"},"updated_at":{"type":"number","format":"double"}},"title":"Filter"},"Campaigns_Filters_Get_filter_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/Filter"}},"required":["success"],"title":"Campaigns_Filters_Get filter_Response_200"},"RestAccountsAccountIdCampaignsCampaignIdFiltersFilterIdPutRequestBodyContentApplicationJsonSchemaStatus":{"type":"string","enum":["RUN","REPEAT","DONE","PAUSED","ERROR","WAITING","NEED_ENRICH"],"title":"RestAccountsAccountIdCampaignsCampaignIdFiltersFilterIdPutRequestBodyContentApplicationJsonSchemaStatus"},"RestAccountsAccountIdCampaignsCampaignIdFiltersFilterIdPutRequestBodyContentApplicationJsonSchemaProfileFetchType":{"type":"string","enum":["FULL","LAZY","BASIC","REPEAT"],"title":"RestAccountsAccountIdCampaignsCampaignIdFiltersFilterIdPutRequestBodyContentApplicationJsonSchemaProfileFetchType"},"RestAccountsAccountIdCampaignsCampaignIdFiltersFilterIdPutRequestBodyContentApplicationJsonSchemaFilters":{"type":"object","properties":{},"title":"RestAccountsAccountIdCampaignsCampaignIdFiltersFilterIdPutRequestBodyContentApplicationJsonSchemaFilters"},"RestAccountsAccountIdCampaignsCampaignIdFiltersFilterIdPutRequestBodyContentApplicationJsonSchemaSnFilter":{"type":"object","properties":{},"title":"RestAccountsAccountIdCampaignsCampaignIdFiltersFilterIdPutRequestBodyContentApplicationJsonSchemaSnFilter"},"RestAccountsAccountIdCampaignsCampaignIdFiltersFilterIdPutRequestBodyContentApplicationJsonSchemaSelectedFilterType":{"type":"string","enum":["filter_LP","filter_SN"],"title":"RestAccountsAccountIdCampaignsCampaignIdFiltersFilterIdPutRequestBodyContentApplicationJsonSchemaSelectedFilterType"},"Campaigns_Filters_Update_filter_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/Filter"}},"required":["success"],"title":"Campaigns_Filters_Update filter_Response_200"},"Campaigns_Filters_Delete_filter_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/Filter"}},"required":["success"],"title":"Campaigns_Filters_Delete filter_Response_200"},"Campaigns_Filters_List_filters_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"last_key":{"description":"Any type"},"filters":{"type":"array","items":{"$ref":"#/components/schemas/Filter"}}},"required":["success"],"title":"Campaigns_Filters_List filters_Response_200"},"RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterType":{"type":"string","enum":["signal_search","filter_company","filter_post","filter_SN","filter_LP","filter_RL","filter_RP","csv_profiles","csv_companies","from_campaign","from_posts","group_LP","event_LP","integration"],"title":"RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterType"},"RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterFileHeaderMapping":{"type":"object","properties":{},"title":"RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterFileHeaderMapping"},"RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterStatus":{"type":"string","enum":["RUN","REPEAT","DONE","PAUSED","ERROR","WAITING","NEED_ENRICH"],"title":"RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterStatus"},"RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterProfileFetchType":{"type":"string","enum":["FULL","LAZY","BASIC","REPEAT"],"title":"RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterProfileFetchType"},"RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterFilters":{"type":"object","properties":{},"title":"RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterFilters"},"RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterSnFilter":{"type":"object","properties":{},"title":"RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterSnFilter"},"RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterSelectedFilterType":{"type":"string","enum":["filter_LP","filter_SN"],"title":"RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterSelectedFilterType"},"RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilter":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterType"},"integration_id":{"type":"string"},"from_campaign_id":{"type":"string"},"file_header_mapping":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterFileHeaderMapping"},"name":{"type":"string"},"status":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterStatus"},"mode":{"type":"string"},"profile_fetch_type":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterProfileFetchType"},"max_profiles":{"type":"number","format":"double"},"repeat_days":{"type":"integer"},"filters":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterFilters"},"sn_filter":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterSnFilter"},"url_page":{"type":"string"},"selected_filter_type":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilterSelectedFilterType"},"post_criteria":{"type":"array","items":{"description":"Any type"}},"post_sources":{"type":"array","items":{"description":"Any type"}},"posts_lookback":{"type":"integer"},"skip_reposts":{"type":"boolean"}},"description":"Filter settings. One filter is created per seat.","title":"RestAccountsAccountIdCampaignsCampaignIdFiltersPostRequestBodyContentApplicationJsonSchemaFilter"},"Campaigns_Filters_Create_filters__one_per_seat__Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"filters":{"type":"array","items":{"$ref":"#/components/schemas/Filter"}}},"required":["success"],"title":"Campaigns_Filters_Create filters (one per seat)_Response_200"},"ProfileStatus":{"type":"string","enum":["PENDING","INIT","RUN","NEED_ENRICH","NEED_SQS_ENRICH","DONE","SKIP","LOCKED","ERROR_FIELD","ERROR_ENRICH","ERROR_SEND","ERROR_WORKFLOW","ERROR_NODE","ERROR","BLACKLISTED"],"title":"ProfileStatus"},"ProfileSignals":{"type":"object","properties":{},"title":"ProfileSignals"},"Profile":{"type":"object","properties":{"id":{"type":"string"},"campaign_id":{"type":"string"},"account_id":{"type":"string"},"seat_id":{"type":"string"},"filter_id":{"type":"string"},"status":{"$ref":"#/components/schemas/ProfileStatus"},"source":{"type":"string"},"ln_profile_id":{"type":"string"},"ln_public_id":{"type":"string"},"ln_member_id":{"type":"string"},"urn_sn":{"type":"string"},"ln_profile_url":{"type":"string"},"email_business":{"type":"string"},"phone_mobile":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"full_name":{"type":"string"},"job_title":{"type":"string"},"ln_headline":{"type":"string"},"ln_degree":{"type":"integer"},"ln_premium":{"type":"boolean"},"ln_open_link":{"type":"boolean"},"ln_influencer":{"type":"boolean"},"ln_verified":{"type":"boolean"},"comp_id":{"type":"string"},"comp_name":{"type":"string"},"comp_website":{"type":"string"},"comp_industry_name":{"type":"string"},"comp_location_region":{"type":"string"},"custom_field_1":{"type":"string"},"custom_field_2":{"type":"string"},"custom_field_3":{"type":"string"},"custom_field_4":{"type":"string"},"custom_field_5":{"type":"string"},"custom_field_6":{"type":"string"},"opportunity_score":{"type":"integer"},"signals":{"$ref":"#/components/schemas/ProfileSignals"},"outreach_approved_at":{"type":"integer"},"last_action":{"type":"string"},"last_action_at":{"type":"number","format":"double"},"next_action":{"type":"string"},"ln_connected_at":{"type":"integer"},"ln_profile_invited_at":{"type":"integer"},"ln_page_invited_at":{"type":"integer"},"ln_profile_message_at":{"type":"integer"},"ln_profile_replied_at":{"type":"integer"},"ln_company_replied_at":{"type":"integer"},"ln_profile_inmail_count":{"type":"integer"},"ln_profile_message_count":{"type":"integer"},"ln_company_message_count":{"type":"integer"},"ln_profile_replies_count":{"type":"integer"},"ln_company_replies_count":{"type":"integer"},"ln_post_reaction":{"type":"string"},"email_sent_count":{"type":"integer"},"email_sent_at":{"type":"integer"},"email_replies_count":{"type":"integer"},"email_replied_at":{"type":"integer"},"email_opened_count":{"type":"integer"},"email_opened_at":{"type":"integer"},"email_unsubscribed_count":{"type":"integer"},"email_unsubscribed_at":{"type":"integer"},"created_at":{"type":"integer"}},"title":"Profile"},"Campaigns_Profiles_Get_profile_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"profile":{"$ref":"#/components/schemas/Profile"}},"required":["success"],"title":"Campaigns_Profiles_Get profile_Response_200"},"RestAccountsAccountIdCampaignsCampaignIdProfilesProfileIdPutRequestBodyContentApplicationJsonSchemaStatus":{"type":"string","enum":["DONE","SKIP","BLACKLISTED"],"title":"RestAccountsAccountIdCampaignsCampaignIdProfilesProfileIdPutRequestBodyContentApplicationJsonSchemaStatus"},"RestAccountsAccountIdCampaignsCampaignIdProfilesProfileIdPutResponsesContentApplicationJsonSchemaUpdatedFieldsType":{"type":"string","enum":["add","mod","del"],"title":"RestAccountsAccountIdCampaignsCampaignIdProfilesProfileIdPutResponsesContentApplicationJsonSchemaUpdatedFieldsType"},"RestAccountsAccountIdCampaignsCampaignIdProfilesProfileIdPutResponsesContentApplicationJsonSchemaUpdatedFields":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdProfilesProfileIdPutResponsesContentApplicationJsonSchemaUpdatedFieldsType"},"old_value":{"description":"Any type"},"new_value":{"description":"Any type"}},"title":"RestAccountsAccountIdCampaignsCampaignIdProfilesProfileIdPutResponsesContentApplicationJsonSchemaUpdatedFields"},"Campaigns_Profiles_Update_profile_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"profile":{"$ref":"#/components/schemas/Profile"},"profile_old":{"$ref":"#/components/schemas/Profile"},"updated_fields":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/RestAccountsAccountIdCampaignsCampaignIdProfilesProfileIdPutResponsesContentApplicationJsonSchemaUpdatedFields"},"description":"Changed public fields, keyed by field name."}},"required":["success"],"title":"Campaigns_Profiles_Update profile_Response_200"},"Campaigns_Profiles_Delete_profile_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"profile":{"$ref":"#/components/schemas/Profile"}},"required":["success"],"title":"Campaigns_Profiles_Delete profile_Response_200"},"Campaigns_Profiles_List_profiles_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"last_key":{"description":"Any type"},"profiles":{"type":"array","items":{"$ref":"#/components/schemas/Profile"}}},"required":["success"],"title":"Campaigns_Profiles_List profiles_Response_200"},"Campaigns_Profiles_Create_profile_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"profile":{"$ref":"#/components/schemas/Profile"},"duplicate":{"description":"Any type"}},"required":["success"],"title":"Campaigns_Profiles_Create profile_Response_200"},"OpportunityScore":{"type":"object","properties":{"campaign_id":{"type":"string"},"profile_id":{"type":"string"},"icp_score":{"type":"integer"},"buyer_intent_score":{"type":"integer"},"icp_score_reasons":{"type":"array","items":{"description":"Any type"}},"buyer_intent_score_reasons":{"type":"array","items":{"description":"Any type"}},"signal_search_qualified":{"type":"boolean"},"signal_keys":{"type":"array","items":{"description":"Any type"}},"updated_at":{"type":"integer"}},"title":"OpportunityScore"},"Campaigns_Profiles_Get_profile_opportunity_score_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"score":{"$ref":"#/components/schemas/OpportunityScore"}},"required":["success"],"title":"Campaigns_Profiles_Get profile opportunity score_Response_200"},"DetectedSignalItem":{"type":"object","properties":{"signal":{"type":"string","description":"Signal id, e.g. `signal_youtube`."},"title":{"type":"string"},"details":{"type":"string"},"url":{"type":"string"},"filter_id":{"description":"Any type"},"created_at":{"type":"integer","description":"Unix timestamp (ms)."},"updated_at":{"type":"integer","description":"Unix timestamp (ms)."}},"title":"DetectedSignalItem"},"DetectedSignal":{"type":"object","properties":{"campaign_id":{"type":"string"},"account_id":{"type":"string"},"filter_id":{"type":"string"},"comp_id":{"type":"string"},"comp_name":{"type":"string"},"comp_industry_name":{"type":"string"},"comp_location_region":{"type":"string"},"comp_employee_count":{"type":"integer"},"opportunity_score":{"type":"integer"},"opportunity_score_profile_id":{"type":"string"},"prospects":{"type":"integer"},"signals_found":{"type":"integer"},"signals":{"type":"array","items":{"$ref":"#/components/schemas/DetectedSignalItem"}},"created_at":{"type":"integer"},"updated_at":{"type":"integer"}},"title":"DetectedSignal"},"Campaigns_Signals_List_campaign_signals_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"signals":{"type":"array","items":{"$ref":"#/components/schemas/DetectedSignal"}}},"required":["success"],"title":"Campaigns_Signals_List campaign signals_Response_200"},"IntegrationIntegrationId":{"type":"string","enum":["hubspot","salesforce","webhooks","zapier","pipedrive","go_high_level","close","clay"],"title":"IntegrationIntegrationId"},"IntegrationStatus":{"type":"string","enum":["ENABLED","DISABLED","ERROR"],"title":"IntegrationStatus"},"IntegrationApp":{"type":"string","enum":["alsona","hublinks"],"title":"IntegrationApp"},"IntegrationSettings":{"type":"object","properties":{},"title":"IntegrationSettings"},"IntegrationWebhooks":{"type":"object","properties":{},"title":"IntegrationWebhooks"},"Integration":{"type":"object","properties":{"account_id":{"type":"string"},"integration_id":{"$ref":"#/components/schemas/IntegrationIntegrationId"},"status":{"$ref":"#/components/schemas/IntegrationStatus"},"name":{"type":"string"},"app":{"$ref":"#/components/schemas/IntegrationApp"},"settings":{"$ref":"#/components/schemas/IntegrationSettings"},"webhooks":{"$ref":"#/components/schemas/IntegrationWebhooks"},"sf_object_type":{"type":"string"},"linkedin_custom_field":{"type":"string"},"instance_url":{"type":"string"},"created_at":{"type":"integer"},"updated_at":{"type":"integer"}},"title":"Integration"},"Integrations_Get_integration_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"integration":{"$ref":"#/components/schemas/Integration"}},"required":["success"],"title":"Integrations_Get integration_Response_200"},"RestAccountsAccountIdIntegrationsIntegrationIdPutRequestBodyContentApplicationJsonSchemaStatus":{"type":"string","enum":["ENABLED","DISABLED","ERROR"],"title":"RestAccountsAccountIdIntegrationsIntegrationIdPutRequestBodyContentApplicationJsonSchemaStatus"},"RestAccountsAccountIdIntegrationsIntegrationIdPutRequestBodyContentApplicationJsonSchemaSettings":{"type":"object","properties":{},"title":"RestAccountsAccountIdIntegrationsIntegrationIdPutRequestBodyContentApplicationJsonSchemaSettings"},"RestAccountsAccountIdIntegrationsIntegrationIdPutRequestBodyContentApplicationJsonSchemaWebhooks":{"type":"object","properties":{},"title":"RestAccountsAccountIdIntegrationsIntegrationIdPutRequestBodyContentApplicationJsonSchemaWebhooks"},"Integrations_Update_integration_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"integration":{"$ref":"#/components/schemas/Integration"}},"required":["success"],"title":"Integrations_Update integration_Response_200"},"Integrations_Delete_integration_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"integration":{"$ref":"#/components/schemas/Integration"}},"required":["success"],"title":"Integrations_Delete integration_Response_200"},"RestAccountsAccountIdIntegrationsGetResponsesContentApplicationJsonSchemaLastKey":{"type":"object","properties":{},"description":"Pass back as `last_key` for the next page; `null` when done.","title":"RestAccountsAccountIdIntegrationsGetResponsesContentApplicationJsonSchemaLastKey"},"Integrations_List_integrations_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"last_key":{"oneOf":[{"$ref":"#/components/schemas/RestAccountsAccountIdIntegrationsGetResponsesContentApplicationJsonSchemaLastKey"},{"type":"null"}],"description":"Pass back as `last_key` for the next page; `null` when done."},"integrations":{"type":"array","items":{"$ref":"#/components/schemas/Integration"}}},"required":["success"],"title":"Integrations_List integrations_Response_200"},"RestAccountsAccountIdIntegrationsPostRequestBodyContentApplicationJsonSchemaIntegrationId":{"type":"string","enum":["hubspot","salesforce","webhooks","zapier","pipedrive","go_high_level","close","clay"],"title":"RestAccountsAccountIdIntegrationsPostRequestBodyContentApplicationJsonSchemaIntegrationId"},"RestAccountsAccountIdIntegrationsPostRequestBodyContentApplicationJsonSchemaStatus":{"type":"string","enum":["ENABLED","DISABLED","ERROR"],"title":"RestAccountsAccountIdIntegrationsPostRequestBodyContentApplicationJsonSchemaStatus"},"RestAccountsAccountIdIntegrationsPostRequestBodyContentApplicationJsonSchemaSettings":{"type":"object","properties":{},"title":"RestAccountsAccountIdIntegrationsPostRequestBodyContentApplicationJsonSchemaSettings"},"RestAccountsAccountIdIntegrationsPostRequestBodyContentApplicationJsonSchemaWebhooks":{"type":"object","properties":{},"title":"RestAccountsAccountIdIntegrationsPostRequestBodyContentApplicationJsonSchemaWebhooks"},"Integrations_Create_integration_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"integration":{"$ref":"#/components/schemas/Integration"}},"required":["success"],"title":"Integrations_Create integration_Response_200"},"Label":{"type":"object","properties":{"name":{"type":"string"},"color":{"type":"string"}},"title":"Label"},"LabelSet":{"type":"object","properties":{"account_id":{"type":"string"},"labels":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Label"},"description":"Labels keyed by label id."},"created_at":{"type":"number","format":"double"},"updated_at":{"type":"number","format":"double"}},"title":"LabelSet"},"Inbox_listInboxLabels_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"labels":{"$ref":"#/components/schemas/LabelSet"}},"required":["success"],"title":"Inbox_listInboxLabels_Response_200"},"Inbox_createInboxLabel_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"labels":{"$ref":"#/components/schemas/LabelSet"}},"required":["success"],"title":"Inbox_createInboxLabel_Response_200"},"RestAccountsAccountIdInboxLabelsPutRequestBodyContentApplicationJsonSchemaLabels":{"type":"object","properties":{},"title":"RestAccountsAccountIdInboxLabelsPutRequestBodyContentApplicationJsonSchemaLabels"},"Inbox_replaceInboxLabels_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"labels":{"$ref":"#/components/schemas/LabelSet"}},"required":["success"],"title":"Inbox_replaceInboxLabels_Response_200"},"Inbox_deleteInboxLabel_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"labels":{"$ref":"#/components/schemas/LabelSet"}},"required":["success"],"title":"Inbox_deleteInboxLabel_Response_200"},"RestAccountsAccountIdSeatsSeatIdInboxEmailThreadsGetResponsesContentApplicationJsonSchemaLastKey":{"type":"object","properties":{},"description":"Pass back as `last_key` for the next page; `null` when done.","title":"RestAccountsAccountIdSeatsSeatIdInboxEmailThreadsGetResponsesContentApplicationJsonSchemaLastKey"},"EmailThreadAgentOutreachMode":{"type":"string","enum":["auto","manual"],"title":"EmailThreadAgentOutreachMode"},"EmailThreadSentiment":{"type":"string","enum":["positive","neutral","negative"],"title":"EmailThreadSentiment"},"EmailThreadSentimentByCampaign":{"type":"object","properties":{},"title":"EmailThreadSentimentByCampaign"},"EmailThread":{"type":"object","properties":{"seat_id":{"type":"string"},"thread_id":{"type":"string"},"account_id":{"type":"string"},"campaign_id":{"type":"string"},"campaign_profile_id":{"type":"string"},"email":{"type":"string"},"email_from":{"type":"string"},"email_to":{"type":"string"},"sender":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"job_title":{"type":"string"},"agent_outreach_mode":{"$ref":"#/components/schemas/EmailThreadAgentOutreachMode"},"labels":{"type":"array","items":{"description":"Any type"}},"sentiment":{"$ref":"#/components/schemas/EmailThreadSentiment"},"sentiment_updated_at":{"type":"number","format":"double"},"sentiment_by_campaign":{"$ref":"#/components/schemas/EmailThreadSentimentByCampaign"},"archived":{"type":"boolean"},"read":{"type":"boolean"},"bounced_at":{"type":"number","format":"double"},"last_message_at":{"type":"number","format":"double"},"created_at":{"type":"number","format":"double"},"updated_at":{"type":"number","format":"double"}},"title":"EmailThread"},"Inbox_Email_Threads_List_seat_threads_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"last_key":{"oneOf":[{"$ref":"#/components/schemas/RestAccountsAccountIdSeatsSeatIdInboxEmailThreadsGetResponsesContentApplicationJsonSchemaLastKey"},{"type":"null"}],"description":"Pass back as `last_key` for the next page; `null` when done."},"threads":{"type":"array","items":{"$ref":"#/components/schemas/EmailThread"}}},"required":["success"],"title":"Inbox_Email_Threads_List seat threads_Response_200"},"Inbox_Email_Threads_Get_thread_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"thread":{"$ref":"#/components/schemas/EmailThread"}},"required":["success"],"title":"Inbox_Email_Threads_Get thread_Response_200"},"Inbox_Email_Threads_Update_thread_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"thread":{"$ref":"#/components/schemas/EmailThread"}},"required":["success"],"title":"Inbox_Email_Threads_Update thread_Response_200"},"Inbox_Email_Threads_Delete_thread_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"thread":{"$ref":"#/components/schemas/EmailThread"}},"required":["success"],"title":"Inbox_Email_Threads_Delete thread_Response_200"},"RestAccountsAccountIdSeatsSeatIdInboxEmailThreadsThreadIdMessagesGetResponsesContentApplicationJsonSchemaLastKey":{"type":"object","properties":{},"description":"Pass back as `last_key` for the next page; `null` when done.","title":"RestAccountsAccountIdSeatsSeatIdInboxEmailThreadsThreadIdMessagesGetResponsesContentApplicationJsonSchemaLastKey"},"EmailMessageDirection":{"type":"string","enum":["OUT","IN"],"title":"EmailMessageDirection"},"EmailMessageProvider":{"type":"string","enum":["google","microsoft"],"title":"EmailMessageProvider"},"EmailMessageFrom":{"type":"object","properties":{},"title":"EmailMessageFrom"},"EmailMessage":{"type":"object","properties":{"seat_id":{"type":"string"},"message_id":{"type":"string"},"thread_id":{"type":"string"},"account_id":{"type":"string"},"campaign_id":{"type":"string"},"campaign_profile_id":{"type":"string"},"ln_profile_id":{"type":"string"},"direction":{"$ref":"#/components/schemas/EmailMessageDirection"},"provider":{"$ref":"#/components/schemas/EmailMessageProvider"},"sender":{"type":"string"},"sender_email":{"type":"string"},"email":{"type":"string"},"email_to":{"type":"string"},"from":{"$ref":"#/components/schemas/EmailMessageFrom"},"to":{"type":"array","items":{"description":"Any type"}},"cc":{"type":"array","items":{"description":"Any type"}},"subject":{"type":"string"},"body":{"type":"string"},"attachments":{"type":"array","items":{"description":"Any type"}},"labels":{"type":"array","items":{"description":"Any type"}},"in_reply_to":{"type":"string"},"references":{"type":"array","items":{"description":"Any type"}},"auto_generated":{"type":"boolean"},"ai_agent":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"job_title":{"type":"string"},"bounced_at":{"type":"number","format":"double"},"delivered_at":{"type":"number","format":"double"},"created_at":{"type":"number","format":"double"},"updated_at":{"type":"number","format":"double"}},"title":"EmailMessage"},"Inbox_Email_Messages_Get_thread_messages_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"last_key":{"oneOf":[{"$ref":"#/components/schemas/RestAccountsAccountIdSeatsSeatIdInboxEmailThreadsThreadIdMessagesGetResponsesContentApplicationJsonSchemaLastKey"},{"type":"null"}],"description":"Pass back as `last_key` for the next page; `null` when done."},"messages":{"type":"array","items":{"$ref":"#/components/schemas/EmailMessage"}}},"required":["success"],"title":"Inbox_Email_Messages_Get thread messages_Response_200"},"RestAccountsAccountIdSeatsSeatIdInboxEmailMessagesGetResponsesContentApplicationJsonSchemaLastKey":{"type":"object","properties":{},"description":"Pass back as `last_key` for the next page; `null` when done.","title":"RestAccountsAccountIdSeatsSeatIdInboxEmailMessagesGetResponsesContentApplicationJsonSchemaLastKey"},"Inbox_Email_Messages_List_seat_messages_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"last_key":{"oneOf":[{"$ref":"#/components/schemas/RestAccountsAccountIdSeatsSeatIdInboxEmailMessagesGetResponsesContentApplicationJsonSchemaLastKey"},{"type":"null"}],"description":"Pass back as `last_key` for the next page; `null` when done."},"messages":{"type":"array","items":{"$ref":"#/components/schemas/EmailMessage"}}},"required":["success"],"title":"Inbox_Email_Messages_List seat messages_Response_200"},"Inbox_Email_Messages_Get_message_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"$ref":"#/components/schemas/EmailMessage"}},"required":["success"],"title":"Inbox_Email_Messages_Get message_Response_200"},"Inbox_Email_Messages_Update_message_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"$ref":"#/components/schemas/EmailMessage"}},"required":["success"],"title":"Inbox_Email_Messages_Update message_Response_200"},"Inbox_Email_Messages_Delete_message_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"$ref":"#/components/schemas/EmailMessage"}},"required":["success"],"title":"Inbox_Email_Messages_Delete message_Response_200"},"LinkedInThreadType":{"type":"string","enum":["profile","company"],"title":"LinkedInThreadType"},"LinkedInThreadLnInbox":{"type":"string","enum":["LP","SN","RP"],"title":"LinkedInThreadLnInbox"},"LinkedInThreadAgentOutreachMode":{"type":"string","enum":["auto","manual"],"title":"LinkedInThreadAgentOutreachMode"},"LinkedInThreadSentiment":{"type":"string","enum":["positive","neutral","negative"],"title":"LinkedInThreadSentiment"},"LinkedInThreadSentimentByCampaign":{"type":"object","properties":{},"title":"LinkedInThreadSentimentByCampaign"},"LinkedInThread":{"type":"object","properties":{"seat_id":{"type":"string"},"thread_id":{"type":"string"},"account_id":{"type":"string"},"type":{"$ref":"#/components/schemas/LinkedInThreadType"},"ln_profile_id":{"type":"string"},"campaign_ids":{"type":"array","items":{"description":"Any type"}},"first_name":{"type":"string"},"last_name":{"type":"string"},"job_title":{"type":"string"},"ln_headline":{"type":"string"},"ln_degree":{"type":"number","format":"double"},"ln_inbox":{"$ref":"#/components/schemas/LinkedInThreadLnInbox"},"ln_conversation_title":{"type":"string"},"ln_conversation_url":{"type":"string"},"agent_outreach_mode":{"$ref":"#/components/schemas/LinkedInThreadAgentOutreachMode"},"labels":{"type":"array","items":{"description":"Any type"}},"sentiment":{"$ref":"#/components/schemas/LinkedInThreadSentiment"},"sentiment_updated_at":{"type":"number","format":"double"},"sentiment_by_campaign":{"$ref":"#/components/schemas/LinkedInThreadSentimentByCampaign"},"archived":{"type":"boolean"},"read":{"type":"boolean"},"ai_stopped_at":{"type":"number","format":"double"},"last_message_at":{"type":"number","format":"double"},"created_at":{"type":"number","format":"double"},"updated_at":{"type":"number","format":"double"}},"title":"LinkedInThread"},"Inbox_Linkedin_Threads_List_seat_threads_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"last_key":{"description":"Any type"},"threads":{"type":"array","items":{"$ref":"#/components/schemas/LinkedInThread"}}},"required":["success"],"title":"Inbox_Linkedin_Threads_List seat threads_Response_200"},"Inbox_Linkedin_Threads_Get_thread_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"thread":{"$ref":"#/components/schemas/LinkedInThread"}},"required":["success"],"title":"Inbox_Linkedin_Threads_Get thread_Response_200"},"Inbox_Linkedin_Threads_Update_thread_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"thread":{"$ref":"#/components/schemas/LinkedInThread"}},"required":["success"],"title":"Inbox_Linkedin_Threads_Update thread_Response_200"},"Inbox_Linkedin_Threads_Delete_thread_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"thread":{"$ref":"#/components/schemas/LinkedInThread"}},"required":["success"],"title":"Inbox_Linkedin_Threads_Delete thread_Response_200"},"Inbox_Linkedin_Threads_Generate_AI_response__experimental__Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"should_respond":{"type":"boolean","description":"`false` when the AI decided no reply should be sent."},"reply":{"type":["string","null"],"description":"Suggested reply text; `null` when `should_respond` is `false`."}},"required":["success","should_respond","reply"],"title":"Inbox_Linkedin_Threads_Generate AI response (experimental)_Response_200"},"LinkedInMessageType":{"type":"string","enum":["profile","company"],"title":"LinkedInMessageType"},"LinkedInMessageLnInbox":{"type":"string","enum":["LP","SN","RP"],"title":"LinkedInMessageLnInbox"},"LinkedInMessageDirection":{"type":"string","enum":["OUT","IN"],"title":"LinkedInMessageDirection"},"LinkedInMessageStatus":{"type":"string","enum":["SENDING","SENT","ERROR","SENT_FAILED","ERROR_NEW_MESSAGE"],"title":"LinkedInMessageStatus"},"LinkedInMessage":{"type":"object","properties":{"seat_id":{"type":"string"},"message_id":{"type":"string"},"thread_id":{"type":"string"},"account_id":{"type":"string"},"campaign_id":{"type":"string"},"campaign_profile_id":{"type":"string"},"no_campaign":{"type":"boolean"},"ln_profile_id":{"type":"string"},"type":{"$ref":"#/components/schemas/LinkedInMessageType"},"message_type":{"type":"string"},"ln_message_type":{"type":"string"},"ln_inbox":{"$ref":"#/components/schemas/LinkedInMessageLnInbox"},"direction":{"$ref":"#/components/schemas/LinkedInMessageDirection"},"subject":{"type":"string"},"body":{"type":"string"},"footer":{"type":"string"},"attachments":{"type":"array","items":{"description":"Any type"}},"reactions":{"type":"array","items":{"description":"Any type"}},"template_id":{"type":"string"},"auto_generated":{"type":"boolean"},"ai_agent":{"type":"string"},"status":{"$ref":"#/components/schemas/LinkedInMessageStatus"},"first_name":{"type":"string"},"last_name":{"type":"string"},"job_title":{"type":"string"},"ln_headline":{"type":"string"},"ln_degree":{"type":"number","format":"double"},"ln_public_url":{"type":"string"},"delivered_at":{"type":"number","format":"double"},"created_at":{"type":"number","format":"double"},"updated_at":{"type":"number","format":"double"}},"title":"LinkedInMessage"},"Inbox_Linkedin_Messages_Get_thread_messages_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"last_key":{"type":["object","null"],"additionalProperties":{"description":"Any type"},"description":"Cursor for the next page. `null` when there are no more results. When non-null, pass it back as the `last_key` query parameter (URL-encoded JSON) to fetch the next page."},"messages":{"type":"array","items":{"$ref":"#/components/schemas/LinkedInMessage"}}},"required":["success"],"title":"Inbox_Linkedin_Messages_Get thread messages_Response_200"},"RestAccountsAccountIdSeatsSeatIdInboxLinkedinMessagesGetResponsesContentApplicationJsonSchemaLastKey":{"type":"object","properties":{},"description":"Pass back as `last_key` for the next page; `null` when done.","title":"RestAccountsAccountIdSeatsSeatIdInboxLinkedinMessagesGetResponsesContentApplicationJsonSchemaLastKey"},"Inbox_Linkedin_Messages_List_seat_messages_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"last_key":{"oneOf":[{"$ref":"#/components/schemas/RestAccountsAccountIdSeatsSeatIdInboxLinkedinMessagesGetResponsesContentApplicationJsonSchemaLastKey"},{"type":"null"}],"description":"Pass back as `last_key` for the next page; `null` when done."},"messages":{"type":"array","items":{"$ref":"#/components/schemas/LinkedInMessage"}}},"required":["success"],"title":"Inbox_Linkedin_Messages_List seat messages_Response_200"},"Inbox_Linkedin_Messages_Get_message_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"$ref":"#/components/schemas/LinkedInMessage"}},"required":["success"],"title":"Inbox_Linkedin_Messages_Get message_Response_200"},"Inbox_Linkedin_Messages_Update_message_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"$ref":"#/components/schemas/LinkedInMessage"}},"required":["success"],"title":"Inbox_Linkedin_Messages_Update message_Response_200"},"Inbox_Linkedin_Messages_Delete_message_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"$ref":"#/components/schemas/LinkedInMessage"}},"required":["success"],"title":"Inbox_Linkedin_Messages_Delete message_Response_200"},"SeatStatus":{"type":"string","enum":["ENABLED","DISABLED","DELETED","ERROR"],"title":"SeatStatus"},"SeatEmailStatus":{"type":"string","enum":["ENABLED","DISABLED","ERROR"],"title":"SeatEmailStatus"},"SeatSnStatus":{"type":"object","properties":{},"title":"SeatSnStatus"},"SeatLnLimits":{"type":"object","properties":{},"title":"SeatLnLimits"},"SeatLnAutoScaleLimits":{"type":"object","properties":{},"title":"SeatLnAutoScaleLimits"},"SeatEmailLimits":{"type":"object","properties":{},"title":"SeatEmailLimits"},"Seat":{"type":"object","properties":{"seat_id":{"type":"string"},"account_id":{"type":"string"},"name":{"type":"string"},"status":{"$ref":"#/components/schemas/SeatStatus"},"priority":{"type":"integer"},"email":{"type":"string"},"email_status":{"$ref":"#/components/schemas/SeatEmailStatus"},"ln_is_connected":{"type":"boolean"},"ln_profile_id":{"type":"string"},"ln_public_id":{"type":"string"},"ln_member_id":{"type":"string"},"urn_sn":{"type":"string"},"ln_first_name":{"type":"string"},"ln_last_name":{"type":"string"},"ln_headline":{"type":"string"},"ln_lang":{"type":"string"},"ln_premium":{"type":"boolean"},"ln_has_SN":{"type":"boolean"},"ln_has_LP":{"type":"boolean"},"ln_memorialized":{"type":"boolean"},"ln_connections_count":{"type":"integer"},"ln_last_login":{"type":"integer"},"ln_last_active":{"type":"integer"},"ln_ai_active":{"type":"boolean"},"sn_status":{"$ref":"#/components/schemas/SeatSnStatus"},"auto_scale":{"type":"boolean"},"ln_limits":{"$ref":"#/components/schemas/SeatLnLimits"},"ln_auto_scale_limits":{"$ref":"#/components/schemas/SeatLnAutoScaleLimits"},"email_limits":{"$ref":"#/components/schemas/SeatEmailLimits"},"inbox_ln_last_sync":{"type":"number","format":"double"},"inbox_email_last_sync":{"type":"number","format":"double"},"connections_ln_last_sync":{"type":"number","format":"double"},"created_at":{"type":"number","format":"double"},"updated_at":{"type":"number","format":"double"}},"title":"Seat"},"Seats_Get_seat_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"seat":{"$ref":"#/components/schemas/Seat"}},"required":["success"],"title":"Seats_Get seat_Response_200"},"Seats_List_seats_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"last_key":{"type":["string","null"],"description":"Pagination cursor for the next page. `null` if there are no more results."},"seats":{"type":"array","items":{"$ref":"#/components/schemas/Seat"}}},"required":["success"],"title":"Seats_List seats_Response_200"},"RestAccountsAccountIdSeatsSeatIdProfilesGetResponsesContentApplicationJsonSchemaLastKey":{"type":"object","properties":{},"title":"RestAccountsAccountIdSeatsSeatIdProfilesGetResponsesContentApplicationJsonSchemaLastKey"},"SeatProfileAgentOutreachMode":{"type":"string","enum":["auto","manual"],"title":"SeatProfileAgentOutreachMode"},"SeatProfileSfObjectType":{"type":"string","enum":["contact","lead"],"title":"SeatProfileSfObjectType"},"SeatProfile":{"type":"object","properties":{"seat_id":{"type":"string"},"account_id":{"type":"string"},"ln_profile_id":{"type":"string"},"ln_public_id":{"type":"string"},"ln_member_id":{"description":"Any type"},"ln_public_url":{"description":"Any type"},"campaign_id":{"type":"string"},"campaign_profile_id":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"full_name":{"type":"string"},"job_title":{"type":"string"},"comp_name":{"type":"string"},"location_region":{"type":"string"},"email_business":{"type":"string"},"phone_mobile":{"type":"string"},"location_country_code":{"description":"Any type"},"primary_locale":{"description":"Any type"},"ln_headline":{"type":"string"},"ln_degree":{"type":"integer"},"ln_premium":{"description":"Any type"},"ln_influencer":{"description":"Any type"},"ln_following":{"type":"boolean"},"ln_viewed":{"type":"boolean"},"ln_pending_invitation":{"type":"boolean"},"ln_connected_at":{"type":"integer"},"ln_profile_invited_at":{"type":"integer"},"ln_page_invited_at":{"type":"integer"},"ln_profile_invitation_withdrawn_at":{"type":"integer"},"ln_profile_replied_at":{"type":"number","format":"double"},"last_action":{"type":"string"},"last_action_at":{"type":"number","format":"double"},"last_message_at":{"type":"number","format":"double"},"agent_outreach_mode":{"$ref":"#/components/schemas/SeatProfileAgentOutreachMode"},"hs_object_id":{"type":"string"},"sf_object_id":{"type":"string"},"sf_object_type":{"$ref":"#/components/schemas/SeatProfileSfObjectType"},"custom_profile_1":{"type":"string"},"custom_profile_2":{"type":"string"},"custom_profile_3":{"type":"string"},"created_at":{"type":"integer"},"updated_at":{"type":"integer"}},"title":"SeatProfile"},"Seats_listSeatConnections_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"last_key":{"oneOf":[{"$ref":"#/components/schemas/RestAccountsAccountIdSeatsSeatIdProfilesGetResponsesContentApplicationJsonSchemaLastKey"},{"type":"null"}]},"profiles":{"type":"array","items":{"$ref":"#/components/schemas/SeatProfile"}}},"required":["success"],"title":"Seats_listSeatConnections_Response_200"},"RestAccountsAccountIdSignalsGetResponsesContentApplicationJsonSchemaSignalBundlesItems":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"title":"RestAccountsAccountIdSignalsGetResponsesContentApplicationJsonSchemaSignalBundlesItems"},"RestAccountsAccountIdSignalsGetResponsesContentApplicationJsonSchemaSignalSourcesItemsOptionsItemsInput":{"type":"object","properties":{"kind":{"type":"string","description":"`text` or `number`."},"placeholder":{"type":"string"},"suffix":{"type":"string"},"default_value":{"type":"string"}},"required":["kind"],"description":"Present when the option takes a user-provided value.","title":"RestAccountsAccountIdSignalsGetResponsesContentApplicationJsonSchemaSignalSourcesItemsOptionsItemsInput"},"RestAccountsAccountIdSignalsGetResponsesContentApplicationJsonSchemaSignalSourcesItemsOptionsItems":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"input":{"$ref":"#/components/schemas/RestAccountsAccountIdSignalsGetResponsesContentApplicationJsonSchemaSignalSourcesItemsOptionsItemsInput","description":"Present when the option takes a user-provided value."}},"required":["id","label"],"title":"RestAccountsAccountIdSignalsGetResponsesContentApplicationJsonSchemaSignalSourcesItemsOptionsItems"},"RestAccountsAccountIdSignalsGetResponsesContentApplicationJsonSchemaSignalSourcesItemsAudiencesItems":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"}},"required":["id","label"],"title":"RestAccountsAccountIdSignalsGetResponsesContentApplicationJsonSchemaSignalSourcesItemsAudiencesItems"},"RestAccountsAccountIdSignalsGetResponsesContentApplicationJsonSchemaSignalSourcesItems":{"type":"object","properties":{"id":{"type":"string","description":"Signal source key, as used in a campaign `settings.signal_sources` and in the `signal` field of campaign signals."},"name":{"type":"string"},"description":{"type":"string"},"bundle":{"type":"string","description":"ID of the bundle (from `signal_bundles`) this source belongs to."},"credits":{"type":"integer","description":"Credits used by this signal source."},"options":{"type":"array","items":{"$ref":"#/components/schemas/RestAccountsAccountIdSignalsGetResponsesContentApplicationJsonSchemaSignalSourcesItemsOptionsItems"},"description":"Options the source can be configured with. Omitted when the source has none."},"requires_keywords":{"type":"boolean","description":"When `true`, the source needs `keywords` to be set in the campaign settings."},"audiences":{"type":"array","items":{"$ref":"#/components/schemas/RestAccountsAccountIdSignalsGetResponsesContentApplicationJsonSchemaSignalSourcesItemsAudiencesItems"},"description":"Audiences the source can target (LinkedIn engagement only)."}},"required":["id","name","description","bundle","credits"],"title":"RestAccountsAccountIdSignalsGetResponsesContentApplicationJsonSchemaSignalSourcesItems"},"Signals_List_available_signals_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"signal_bundles":{"type":"array","items":{"$ref":"#/components/schemas/RestAccountsAccountIdSignalsGetResponsesContentApplicationJsonSchemaSignalBundlesItems"},"description":"Groups that signal sources belong to."},"signal_sources":{"type":"array","items":{"$ref":"#/components/schemas/RestAccountsAccountIdSignalsGetResponsesContentApplicationJsonSchemaSignalSourcesItems"},"description":"Signal sources available to the account."}},"required":["success","signal_bundles","signal_sources"],"title":"Signals_List available signals_Response_200"},"RestAccountsAccountIdStatsGetParametersPeriod":{"type":"string","enum":["DAY","HOUR","MIN"],"default":"HOUR","title":"RestAccountsAccountIdStatsGetParametersPeriod"},"StatsStatsItems":{"type":"object","properties":{"date":{"type":"string","description":"Bucket start, e.g. `2026-09-21` or `2026-09-21 14`."}},"description":"One row per time bucket; every other key is a metric counter.","title":"StatsStatsItems"},"StatsLastKey":{"type":"object","properties":{},"title":"StatsLastKey"},"Stats":{"type":"object","properties":{"success":{"type":"boolean"},"period":{"type":"string","description":"`DAY`, `HOUR` or `MIN`."},"start_date":{"type":"string"},"end_date":{"type":"string"},"stats":{"type":"array","items":{"$ref":"#/components/schemas/StatsStatsItems"},"description":"Time buckets in the range."},"totals":{"type":"object","additionalProperties":{"type":"number","format":"double"},"description":"Each metric summed over the range."},"last_key":{"oneOf":[{"$ref":"#/components/schemas/StatsLastKey"},{"type":"null"}]}},"title":"Stats"},"TemplateGroup":{"type":"string","enum":["public_workflows","account_workflows","agency_workflows","public_events","account_events","agency_events","public_autotext","account_autotext","agency_autotext"],"title":"TemplateGroup"},"TemplateWorkflow":{"type":"object","properties":{},"description":"Workflow graph (`nodes`, `edges`) of `*_workflows` templates.","title":"TemplateWorkflow"},"Template":{"type":"object","properties":{"group":{"$ref":"#/components/schemas/TemplateGroup"},"template_id":{"type":"string"},"account_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"category":{"type":"string"},"tags":{"type":"array","items":{"description":"Any type"}},"subject":{"type":"string"},"body":{"type":"string"},"workflow":{"$ref":"#/components/schemas/TemplateWorkflow","description":"Workflow graph (`nodes`, `edges`) of `*_workflows` templates."},"created_at":{"type":"number","format":"double"},"updated_at":{"type":"number","format":"double"}},"title":"Template"},"Templates_Get_template_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"template":{"$ref":"#/components/schemas/Template"}},"required":["success"],"title":"Templates_Get template_Response_200"},"RestAccountsAccountIdTemplatesTemplateIdPutRequestBodyContentApplicationJsonSchemaWorkflow":{"type":"object","properties":{},"description":"Workflow graph (`nodes`, `edges`) of `*_workflows` templates.","title":"RestAccountsAccountIdTemplatesTemplateIdPutRequestBodyContentApplicationJsonSchemaWorkflow"},"Templates_Update_template_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"template":{"$ref":"#/components/schemas/Template"}},"required":["success"],"title":"Templates_Update template_Response_200"},"Templates_Delete_template_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"template":{"$ref":"#/components/schemas/Template"}},"required":["success"],"title":"Templates_Delete template_Response_200"},"Templates_List_templates_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"last_key":{"description":"Any type"},"templates":{"type":"array","items":{"$ref":"#/components/schemas/Template"}}},"required":["success"],"title":"Templates_List templates_Response_200"},"RestAccountsAccountIdTemplatesPostRequestBodyContentApplicationJsonSchemaGroup":{"type":"string","enum":["public_workflows","account_workflows","agency_workflows","public_events","account_events","agency_events","public_autotext","account_autotext","agency_autotext"],"title":"RestAccountsAccountIdTemplatesPostRequestBodyContentApplicationJsonSchemaGroup"},"RestAccountsAccountIdTemplatesPostRequestBodyContentApplicationJsonSchemaWorkflow":{"type":"object","properties":{},"description":"Workflow graph (`nodes`, `edges`) of `*_workflows` templates.","title":"RestAccountsAccountIdTemplatesPostRequestBodyContentApplicationJsonSchemaWorkflow"},"Templates_Create_template_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"template":{"$ref":"#/components/schemas/Template"}},"required":["success"],"title":"Templates_Create template_Response_200"},"LogSocialMedia":{"type":"string","enum":["linkedin","email","facebook"],"title":"LogSocialMedia"},"Log":{"type":"object","properties":{"timestamp":{"type":"integer"},"seat_id":{"type":"string"},"campaign_id":{"type":"string"},"ln_profile_id":{"type":"string"},"id":{"type":"string"},"social_media":{"$ref":"#/components/schemas/LogSocialMedia"},"event":{"type":"string"},"date":{"type":"string"},"value":{"type":"string"},"status_code":{"type":"number","format":"double"},"created_at":{"type":"integer"}},"title":"Log"},"Logs_Get_log_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"log":{"$ref":"#/components/schemas/Log"}},"required":["success"],"title":"Logs_Get log_Response_200"},"Logs_List_logs_Response_200":{"type":"object","properties":{"success":{"type":"boolean"},"last_key":{"description":"Any type"},"logs":{"type":"array","items":{"$ref":"#/components/schemas/Log"}},"start_date":{"type":"integer"},"end_date":{"type":"integer"}},"required":["success"],"title":"Logs_List logs_Response_200"}},"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}}}}