{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/communication:line-insight/get-friends-demographics":{"get":{"operationId":"communication_line_insight_get_friends_demographics","summary":"Retrieves the demographic attributes for a LINE Official Account's friends.You can only retrieve information…","description":"GET /v2/bot/insight/demographic","tags":["communication"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:line-insight/get-number-of-message-deliveries":{"get":{"operationId":"communication_line_insight_get_number_of_message_deliveries","summary":"Get number of message deliveries","description":"GET /v2/bot/insight/message/delivery","tags":["communication"],"parameters":[{"name":"date","in":"query","required":true,"description":"Date for which to retrieve number of sent messages. - Format: yyyyMMdd (e.g. 20191231) - Timezone: UTC+9","schema":{"type":"string","description":"Date for which to retrieve number of sent messages. - Format: yyyyMMdd (e.g. 20191231) - Timezone: UTC+9"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:line-insight/get-number-of-followers":{"get":{"operationId":"communication_line_insight_get_number_of_followers","summary":"Get number of followers","description":"GET /v2/bot/insight/followers","tags":["communication"],"parameters":[{"name":"date","in":"query","required":false,"description":"Date for which to retrieve the number of followers. Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9","schema":{"type":"string","description":"Date for which to retrieve the number of followers. Format: yyyyMMdd (e.g. 20191231) Timezone: UTC+9"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:line-insight/get-message-event":{"get":{"operationId":"communication_line_insight_get_message_event","summary":"Get user interaction statistics","description":"GET /v2/bot/insight/message/event","tags":["communication"],"parameters":[{"name":"requestId","in":"query","required":true,"description":"Request ID of a narrowcast message or broadcast message. Each Messaging API request has a request ID.","schema":{"type":"string","description":"Request ID of a narrowcast message or broadcast message. Each Messaging API request has a request ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:line-insight/get-statistics-per-unit":{"get":{"operationId":"communication_line_insight_get_statistics_per_unit","summary":"You can check the per-unit statistics of how users interact with push messages and multicast messages sent…","description":"GET /v2/bot/insight/message/event/aggregation","tags":["communication"],"parameters":[{"name":"customAggregationUnit","in":"query","required":true,"description":"Name of aggregation unit specified when sending the message. Case-sensitive. For example, `Promotion_a` and `Promotion_A` are regarded as…","schema":{"type":"string","description":"Name of aggregation unit specified when sending the message. Case-sensitive. For example, `Promotion_a` and `Promotion_A` are regarded as…"}},{"name":"from","in":"query","required":true,"description":"Start date of aggregation period. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9","schema":{"type":"string","description":"Start date of aggregation period. Format: yyyyMMdd (e.g. 20210301) Time zone: UTC+9"}},{"name":"to","in":"query","required":true,"description":"End date of aggregation period. The end date can be specified for up to 30 days later. For example, if the start date is 20210301, the…","schema":{"type":"string","description":"End date of aggregation period. The end date can be specified for up to 30 days later. For example, if the start date is 20210301, the…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:line-insight/get-rich-menu-insight-summary":{"get":{"operationId":"communication_line_insight_get_rich_menu_insight_summary","summary":"Get rich menu insight summary","description":"GET /v2/bot/insight/richmenu/{richMenuId}/summary","tags":["communication"],"parameters":[{"name":"richMenuId","in":"query","required":true,"description":"ID of the rich menu created via the Messaging API.","schema":{"type":"string","description":"ID of the rich menu created via the Messaging API."}},{"name":"from","in":"query","required":true,"description":"Start date of the aggregation period (inclusive). Must be within the most recent 3 years. Format: yyyyMMdd (e.g. 20260213) Time zone: UTC+9","schema":{"type":"string","description":"Start date of the aggregation period (inclusive). Must be within the most recent 3 years. Format: yyyyMMdd (e.g. 20260213) Time zone: UTC+9"}},{"name":"to","in":"query","required":true,"description":"End date of the aggregation period (inclusive). The end date can be specified for up to 396 days after the start date. Format: yyyyMMdd…","schema":{"type":"string","description":"End date of the aggregation period (inclusive). The end date can be specified for up to 396 days after the start date. Format: yyyyMMdd…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:line-insight/get-rich-menu-insight-daily":{"get":{"operationId":"communication_line_insight_get_rich_menu_insight_daily","summary":"Get rich menu insight daily","description":"GET /v2/bot/insight/richmenu/{richMenuId}/daily","tags":["communication"],"parameters":[{"name":"richMenuId","in":"query","required":true,"description":"ID of the rich menu created via the Messaging API.","schema":{"type":"string","description":"ID of the rich menu created via the Messaging API."}},{"name":"from","in":"query","required":true,"description":"Start date of the aggregation period (inclusive). Must be within the most recent 3 years. Format: yyyyMMdd (e.g. 20260213) Time zone: UTC+9","schema":{"type":"string","description":"Start date of the aggregation period (inclusive). Must be within the most recent 3 years. Format: yyyyMMdd (e.g. 20260213) Time zone: UTC+9"}},{"name":"to","in":"query","required":true,"description":"End date of the aggregation period (inclusive). The end date can be specified for up to 99 days after the start date. Format: yyyyMMdd…","schema":{"type":"string","description":"End date of the aggregation period (inclusive). The end date can be specified for up to 99 days after the start date. Format: yyyyMMdd…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}