Listings API · Schema
CreateSocialPostMutationInput
Business ListingsLocal SEOLocationReviewsGoogle Business ProfileAnalyticsCitation ManagementLocal MarketingSocial publishingMCPAgent-Native
Properties
| Name | Type | Description |
|---|---|---|
| postName | string | |
| locationIds | array | |
| postType | object | |
| postSites | array | |
| postMessage | array | |
| postCta | array | |
| postMediaUrl | array | |
| postScheduledDates | object | |
| postContextInfo | object | |
| componentIdentifier | string | |
| componentType | string | |
| products | array | |
| clientMutationId | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/listings-api/json-schema/listings-api-create-social-post-mutation-input-schema.json",
"title": "CreateSocialPostMutationInput",
"x-generated": "2026-11-08",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/listings-api-posts-api-openapi.yml#/components/schemas/CreateSocialPostMutationInput",
"type": "object",
"properties": {
"postName": {
"type": "string"
},
"locationIds": {
"type": "array",
"items": {
"type": "string"
}
},
"postType": {
"$ref": "#/$defs/SocialPostTypeEnum"
},
"postSites": {
"type": "array",
"items": {
"$ref": "#/$defs/SitesType"
}
},
"postMessage": {
"type": "array",
"items": {
"$ref": "#/$defs/PostMessageInput"
}
},
"postCta": {
"type": "array",
"items": {
"$ref": "#/$defs/PostCtaInput"
}
},
"postMediaUrl": {
"type": "array",
"items": {
"$ref": "#/$defs/SocialPostMediaInput"
}
},
"postScheduledDates": {
"$ref": "#/$defs/PostScheduledDatesInput"
},
"postContextInfo": {
"$ref": "#/$defs/PostContextInfoInput"
},
"componentIdentifier": {
"type": "string"
},
"componentType": {
"type": "string"
},
"products": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductInfoInput"
}
},
"clientMutationId": {
"type": "string"
}
},
"required": [
"postName",
"locationIds",
"postType",
"postSites"
],
"$defs": {
"MediaTypeEnum": {
"type": "string",
"enum": [
"IMAGE",
"VIDEO"
],
"description": "Media type for social posts."
},
"PostContextInfoInput": {
"type": "object",
"description": "Additional details for post based on post_type.",
"properties": {
"couponCode": {
"type": "string"
},
"redeemUrl": {
"type": "string"
},
"termsConditions": {
"type": "string"
},
"title": {
"type": "string"
},
"discount": {
"type": "string"
},
"locationType": {
"type": "string"
},
"startDay": {
"type": "string",
"format": "date"
},
"startTime": {
"type": "string"
},
"endDay": {
"type": "string",
"format": "date"
},
"endTime": {
"type": "string"
}
}
},
"PostCtaInput": {
"type": "object",
"properties": {
"site": {
"$ref": "#/$defs/SitesType"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"site",
"type",
"url"
]
},
"PostMessageInput": {
"type": "object",
"properties": {
"site": {
"$ref": "#/$defs/SitesType"
},
"message": {
"type": "string"
}
},
"required": [
"site",
"message"
]
},
"PostScheduledDatesInput": {
"type": "object",
"properties": {
"startDatetime": {
"type": "string",
"description": "Custom scalar Datetime"
},
"endDatetime": {
"type": "string",
"description": "Custom scalar Datetime"
},
"removalSites": {
"type": "array",
"items": {
"$ref": "#/$defs/SitesType"
}
}
},
"required": [
"startDatetime",
"endDatetime"
]
},
"ProductInfoInput": {
"type": "object",
"properties": {
"productId": {
"type": "string"
},
"name": {
"type": "string"
},
"category": {
"type": "string"
},
"price": {
"type": "string"
},
"minPrice": {
"type": "string"
},
"maxPrice": {
"type": "string"
},
"description": {
"type": "string"
},
"photo": {
"type": "string"
},
"cta": {
"type": "array",
"items": {
"$ref": "#/$defs/PostCtaInput"
}
},
"sites": {
"type": "array",
"items": {
"$ref": "#/$defs/SitesType"
}
}
}
},
"SitesType": {
"type": "string",
"enum": [
"GOOGLE",
"FACEBOOK"
],
"description": "Sites a post can be published to."
},
"SocialPostMediaInput": {
"type": "object",
"properties": {
"site": {
"$ref": "#/$defs/SitesType"
},
"url": {
"type": "string"
},
"type": {
"$ref": "#/$defs/MediaTypeEnum"
}
},
"required": [
"site",
"url"
]
},
"SocialPostTypeEnum": {
"type": "string",
"enum": [
"EVENT",
"OFFER",
"ANNOUNCEMENT",
"COVID19",
"PRODUCT"
],
"description": "Social Post types."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/listings-api-create-social-post-mutation-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.