social
Crow social attribution — projects, posts and UTM share links (SA-).
List Crow projects (E29)
Live projects of the acting customer, ordered created_at ASC (SA-15).
query Parameters
cursorOpaque base64url keyset cursor over (created_at, id) descending. A
cursor that does not decode is 422 (API-39, API-40).
limitPage size. A value above the maximum is 422, never a silent clamp (API-38).
List Crow projects (E29) › Responses
A page of projects.
Create a Crow project (E30)
Registers the project in the resource catalogue in the same
transaction (SA-3). app_group_id must belong to the acting
customer (SA-2).
Headers
Idempotency-KeyClient-generated UUIDv4. Optional in M0 (API-44). A repeat with the
same key and body returns the stored response; a repeat with a different
body is 409 idempotency-conflict (API-42).
Create a Crow project (E30) › Request Body
app_group_idnameproject_typeslug^[a-z0-9][a-z0-9-]{0… · requiredbase_urlCreate a Crow project (E30) › Responses
The project was created.
app_group_idbase_urlcreated_atcustomer_ididis_activenameproject_typeslugGet a Crow project (E31)
Foreign-tenant or soft-deleted project is 404, identically (API-11).
path Parameters
project_idGet a Crow project (E31) › Responses
The project.
app_group_idbase_urlcreated_atcustomer_ididis_activenameproject_typeslugList posts in a project (E33)
Live posts ordered published_at DESC (SA-16).
path Parameters
project_idquery Parameters
cursorOpaque base64url keyset cursor over (created_at, id) descending. A
cursor that does not decode is 422 (API-39, API-40).
limitPage size. A value above the maximum is 422, never a silent clamp (API-38).
List posts in a project (E33) › Responses
A page of posts.
Register a piece of content under a project (E34)
content_url must be absolute HTTPS and unique within the project (SA-6, SA-9).
path Parameters
project_idHeaders
Idempotency-KeyClient-generated UUIDv4. Optional in M0 (API-44). A repeat with the
same key and body returns the stored response; a repeat with a different
body is 409 idempotency-conflict (API-42).
Register a piece of content under a project (E34) › Request Body
content_typecontent_urlpublished_atcontent_titleRegister a piece of content under a project (E34) › Responses
The post was registered.
content_titlecontent_typecontent_urlcreated_atcustomer_idexcludedidpinnedproject_idpublished_atGet a post (E35)
Foreign-tenant or soft-deleted post is 404, identically (API-11).
path Parameters
project_idpost_idGet a post (E35) › Responses
The post.
content_titlecontent_typecontent_urlcreated_atcustomer_idexcludedidpinnedproject_idpublished_atPartially update a post (E36)
Only supplied fields change; omitted fields are left unchanged
(SA-16b). Excluding a post does not cascade to its shares (SA-29).
path Parameters
project_idpost_idPartially update a post (E36) › Request Body
content_titleexcludedpinnedPartially update a post (E36) › Responses
The updated post.
content_titlecontent_typecontent_urlcreated_atcustomer_idexcludedidpinnedproject_idpublished_atList share links for a post (E37)
Live shares for the post, most recent first.
path Parameters
project_idpost_idquery Parameters
cursorOpaque base64url keyset cursor over (created_at, id) descending. A
cursor that does not decode is 422 (API-39, API-40).
limitPage size. A value above the maximum is 422, never a silent clamp (API-38).
List share links for a post (E37) › Responses
A page of shares.
Generate a UTM share link (E38)
Always creates a new row, never reuses an existing one (SA-21a).
The utm_campaign value is immutable after insert (SA-22).
path Parameters
project_idpost_idHeaders
Idempotency-KeyClient-generated UUIDv4. Optional in M0 (API-44). A repeat with the
same key and body returns the stored response; a repeat with a different
body is 409 idempotency-conflict (API-42).
Generate a UTM share link (E38) › Request Body
platformGenerate a UTM share link (E38) › Responses
The share link was generated.
created_atcrow_post_ididplatformplatform_post_idshare_urlstatusutm_campaignwidget_approvedwidget_approved_atutm_urlApprove a share for the public widget (E39)
Sets widget_approved=true. Idempotent — a no-op if already approved (SA-18, SA-19).
path Parameters
project_idshare_idApprove a share for the public widget (E39) › Responses
The share, now approved.
created_atcrow_post_ididplatformplatform_post_idshare_urlstatusutm_campaignwidget_approvedwidget_approved_atutm_urlUTM pageview attribution for a share (E42)
Best-effort — null when Umami is unreachable or returns a non-2xx
response, never a 5xx on the caller's behalf (SA-24, SA-27). The
Umami token is sent only via the upstream Authorization header,
never logged or echoed (SA-31).
path Parameters
project_idshare_idUTM pageview attribution for a share (E42) › Responses
Attribution stats, or null if Umami was unavailable.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: utm_campaign, pageviews, visits +4 more | |
| type = null |
pageviewsperiod_endperiod_startreferrerutm_campaignvisitsRecord that a share was actually posted (E41)
Race-safe conditional update; a share already delivered is
409 conflict (ShareAlreadyDelivered, SA-23). share_url must be
an absolute HTTPS URL (SA-6); an invalid one is rejected before any
state changes.
path Parameters
project_idshare_idHeaders
Idempotency-KeyClient-generated UUIDv4. Optional in M0 (API-44). A repeat with the
same key and body returns the stored response; a repeat with a different
body is 409 idempotency-conflict (API-42).
Record that a share was actually posted (E41) › Responses
The share, now delivered.
created_atcrow_post_ididplatformplatform_post_idshare_urlstatusutm_campaignwidget_approvedwidget_approved_atutm_urlUnapprove a share, removing it from the public widget (E40)
Sets widget_approved=false, leaves widget_approved_at unchanged. Idempotent (SA-18, SA-20).
path Parameters
project_idshare_idUnapprove a share, removing it from the public widget (E40) › Responses
The share, now unapproved.
created_atcrow_post_ididplatformplatform_post_idshare_urlstatusutm_campaignwidget_approvedwidget_approved_atutm_url