LovPics Ar Campaigns API
The ar_campaigns API from LovPics — 4 operation(s) for ar_campaigns.
Operations 5
POST
/api/ar/campaigns
Step 3 of AR posters: create a scannable WebAR campaign from a marker poster…
#
The ar_campaigns API from LovPics — 4 operation(s) for ar_campaigns.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/lovpics-com:lovpics-com-ar-campaigns-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Virtual Studio Ar Campaigns API
version: 0.1.0
tags:
- name: ar_campaigns
paths:
/api/ar/campaigns:
get:
tags:
- ar_campaigns
summary: List the user's AR campaigns with scan/play/click analytics
operationId: list_campaigns_endpoint_api_ar_campaigns_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ArCampaignListResponse'
security:
- HTTPBearer: []
post:
tags:
- ar_campaigns
summary: 'Step 3 of AR posters: create a scannable WebAR campaign from a marker poster…'
description: Create an AI AR Campaign from AI 360 View (poster + WebAR link).
operationId: create_campaign_endpoint_api_ar_campaigns_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateArCampaignRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ArCampaignCreatedResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/ar/campaigns/{arc_id}:
get:
tags:
- ar_campaigns
summary: Get Campaign Endpoint
operationId: get_campaign_endpoint_api_ar_campaigns__arc_id__get
security:
- HTTPBearer: []
parameters:
- name: arc_id
in: path
required: true
schema:
type: integer
title: Arc Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ArCampaignOneResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/ar/public/{public_id}:
get:
tags:
- ar_campaigns
summary: Get Public Campaign Endpoint
description: Public config for WebAR experience (no auth).
operationId: get_public_campaign_endpoint_api_ar_public__public_id__get
parameters:
- name: public_id
in: path
required: true
schema:
type: string
title: Public Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ArCampaignOneResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/ar/events:
post:
tags:
- ar_campaigns
summary: Track Ar Event Endpoint
description: Public analytics for WebAR (no auth).
operationId: track_ar_event_endpoint_api_ar_events_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ArEventRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ArEventResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ArCampaignOneResponse:
properties:
success:
type: boolean
title: Success
examples:
- true
campaign:
additionalProperties: true
type: object
title: Campaign
additionalProperties: true
type: object
required:
- success
- campaign
title: ArCampaignOneResponse
CreateArCampaignRequest:
properties:
sourceType:
type: string
maxLength: 32
title: Sourcetype
default: ai360video
sourceCreativeId:
anyOf:
- type: integer
- type: 'null'
title: Sourcecreativeid
markerImageDataUrl:
type: string
minLength: 32
title: Markerimagedataurl
mindTargetBase64:
anyOf:
- type: string
- type: 'null'
title: Mindtargetbase64
videoUrl:
type: string
minLength: 8
title: Videourl
videoPath:
anyOf:
- type: string
- type: 'null'
title: Videopath
buttonText:
type: string
maxLength: 64
minLength: 1
title: Buttontext
buttonUrl:
type: string
maxLength: 2048
minLength: 8
title: Buttonurl
aspectRatio:
type: string
title: Aspectratio
default: '9:16'
scannerPlacement:
type: string
maxLength: 16
title: Scannerplacement
default: bottom_left
type: object
required:
- markerImageDataUrl
- videoUrl
- buttonText
- buttonUrl
title: CreateArCampaignRequest
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ArEventResponse:
properties:
success:
type: boolean
title: Success
examples:
- true
eventId:
type: integer
title: Eventid
examples:
- 44
additionalProperties: true
type: object
required:
- success
- eventId
title: ArEventResponse
ArCampaignCreatedResponse:
properties:
success:
type: boolean
title: Success
examples:
- true
campaignId:
type: integer
title: Campaignid
examples:
- 12
publicId:
type: string
title: Publicid
examples:
- cmp_8f3a
webarUrl:
type: string
title: Webarurl
examples:
- https://app.lovpics.com/ar/cmp_8f3a
posterUrl:
type: string
title: Posterurl
examples:
- https://…/poster.png
posterPath:
type: string
title: Posterpath
examples:
- ar/poster.png
videoUrl:
anyOf:
- type: string
- type: 'null'
title: Videourl
examples:
- https://…/ar_video.mp4
buttonText:
anyOf:
- type: string
- type: 'null'
title: Buttontext
examples:
- Shop now
buttonUrl:
anyOf:
- type: string
- type: 'null'
title: Buttonurl
examples:
- https://example.com
aspectRatio:
anyOf:
- type: string
- type: 'null'
title: Aspectratio
examples:
- '9:16'
additionalProperties: true
type: object
required:
- success
- campaignId
- publicId
- webarUrl
- posterUrl
- posterPath
title: ArCampaignCreatedResponse
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
ArCampaignListResponse:
properties:
success:
type: boolean
title: Success
examples:
- true
campaigns:
items:
additionalProperties: true
type: object
type: array
title: Campaigns
additionalProperties: true
type: object
required:
- success
- campaigns
title: ArCampaignListResponse
ArEventRequest:
properties:
publicId:
type: string
maxLength: 24
minLength: 4
title: Publicid
eventType:
type: string
maxLength: 32
minLength: 3
title: Eventtype
sessionId:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Sessionid
visitorId:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Visitorid
deviceType:
type: string
maxLength: 32
title: Devicetype
default: unknown
browserName:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Browsername
osName:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Osname
pageUrl:
anyOf:
- type: string
maxLength: 2048
- type: 'null'
title: Pageurl
referrer:
anyOf:
- type: string
maxLength: 2048
- type: 'null'
title: Referrer
metadata:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Metadata
type: object
required:
- publicId
- eventType
title: ArEventRequest
securitySchemes:
HTTPBearer:
type: http
scheme: bearer