ad-campaigns
ad-campaigns

Create Profile And Start Saphire Crawl

Create a new company profile and trigger Saphire web crawl.

This endpoint:

  1. Creates a new CompanyProfile with status 'pending'
  2. Triggers the Saphire crawl task asynchronously
  3. Returns immediately with the profile_id

When the crawl completes successfully, the profile status will be automatically updated to 'brand_assets_generated'.

Requirements:

  • User must have a company_website set in their profile

Response:

  • profile_id: ID of the newly created profile
  • status: 'pending'
  • message: Confirmation message

Use GET /ad-campaigns/status to poll for crawl completion.

post/api/v1/ad-campaigns/create-profile-and-start-saphire-crawl

Request

  • Base URL: https://api.trylapis.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.trylapis.com/api/v1/ad-campaigns/create-profile-and-start-saphire-crawl
  • Auth: HTTP bearer

Query parameters

client_user_idinteger nullable

Client user ID to view data for

Headers

x-lapis-dev-tokenstring nullable
x-assume-user-idinteger nullable

Response

Successful Response

profile_idinteger required
statusstring required
messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.