Ir para o conteúdo
Documentação do Endless

Instagram user stories

POST
/social/instagram_user_stories

Fetch an account's currently active Instagram stories (the last 24h) by @username. Stories expire after 24h and engagement on third-party accounts is private, so results carry timing and content (pass image_url to analyze_image), not like/view counts.

Authorization

bearerAuth
AuthorizationBearer <token>

JWT token from authentication

In: header

Header Parameters

Endless-Api-Version?string

Pin the caller to an API major (1). Omit to accept the current version. A major this deployment cannot serve is refused with 400 unsupported_api_version.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/social/instagram_user_stories" \  -H "Content-Type: application/json" \  -d '{    "organization_id": "string",    "input": {      "username": "string"    }  }'
{  "operation": "instagram_profile",  "result": {    "summary": "string",    "username": "string",    "items": [      {        "pk": "string",        "id": "string",        "taken_at": 0,        "expiring_at": 0,        "media_type": 0,        "video_duration": 0,        "caption_text": "string",        "image_url": "string"      }    ]  },  "requests": 0,  "credits_charged": 0}