API reference / Graphics
graphics settings post
/api/v1/graphics/settingsParameters
Idempotency-Keyheaderrequiredstring
Persist this key for retries. Reusing it with changed input returns 409. Receipts are retained for at least 24 hours.
min length: 8 · max length: 128
Request body
application/json
generationIdbodyrequiredstring · uuid
variantIdbodyoptionalstring · uuid
primaryFormatbodyoptional"og" | "x_post" | "instagram_story" | "instagram_post" | "x_header" | "linkedin_banner" | "play_store_feature" | "app_store_event_card" | "app_store_event_details" | "app_store_header" | "app_store_search" | "ad_banner" | "ad_mobile_banner" | "ad_tablet_banner_720" | "ad_tablet_banner_728" | "ad_mrec" | "ad_phone_portrait" | "ad_phone_landscape" | "ad_fullscreen_landscape" | "ad_tablet_portrait" | "ad_tablet_landscape"
Make this format the variant's default (the one the editor opens first). Applies to every language.
platformbodyoptional"ios" | "android"
Re-skin every saved format and language for this store: device frames/3D models and a lone store badge. Single-platform projects switch their platform too.
View complete request schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"generationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"variantId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"primaryFormat": {
"description": "Make this format the variant's default (the one the editor opens first). Applies to every language.",
"type": "string",
"enum": [
"og",
"x_post",
"instagram_story",
"instagram_post",
"x_header",
"linkedin_banner",
"play_store_feature",
"app_store_event_card",
"app_store_event_details",
"app_store_header",
"app_store_search",
"ad_banner",
"ad_mobile_banner",
"ad_tablet_banner_720",
"ad_tablet_banner_728",
"ad_mrec",
"ad_phone_portrait",
"ad_phone_landscape",
"ad_fullscreen_landscape",
"ad_tablet_portrait",
"ad_tablet_landscape"
]
},
"platform": {
"description": "Re-skin every saved format and language for this store: device frames/3D models and a lone store badge. Single-platform projects switch their platform too.",
"type": "string",
"enum": [
"ios",
"android"
]
}
},
"required": [
"generationId"
],
"additionalProperties": false
}Request example
Set ALF_API_URL to https://dashboard.applaunchflow.com/api/v1 and ALF_API_KEY to your key. Replace sample IDs with your project’s values. Use a new ALF_REQUEST_ID for each new operation.
curl --request POST \
--url "$ALF_API_URL/graphics/settings" \
--header "Authorization: Bearer $ALF_API_KEY" \
--header "Content-Type: application/json" \
--header "Idempotency-Key: $ALF_REQUEST_ID" \
--data '{
"generationId": "11111111-1111-4111-8111-111111111111"
}'This example shows the request structure. Some editor operations require additional query parameters that are not yet described in OpenAPI.
Response
Successful JSON responses wrap the result in data, with a request ID in meta.requestId.
successdatarequiredboolean
variantIddatarequiredstring · uuid
primaryFormatdatarequiredstring | null
platformdataoptional"ios" | "android"
projectPlatformdataoptionalstring
languagesUpdateddataoptionalstring[]
View response schema
{
"type": "object",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"variantId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"primaryFormat": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"platform": {
"type": "string",
"enum": [
"ios",
"android"
]
},
"projectPlatform": {
"type": "string"
},
"languagesUpdated": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"success",
"variantId",
"primaryFormat"
],
"additionalProperties": {}
},
"meta": {
"type": "object",
"required": [
"requestId"
],
"properties": {
"requestId": {
"type": "string",
"format": "uuid"
}
}
}
}
}Errors & retries
Errors use application/problem+json. Check the stable code and keep requestId when contacting support. Respect Retry-After on 429 responses.