REST APIGET
Beitrag abrufen
Rufen Sie einen einzelnen Beitrag nach ID mit vollständigen Plattformdetails ab
GET
https://post.adaptlypost.com/post/api/v1/social-posts/:idGibt die vollständigen Details eines bestimmten Beitrags zurück, einschließlich plattformspezifischem Status, veröffentlichten URLs und Fehlermeldungen, falls eine Plattform fehlgeschlagen ist.
API-Schlüssel (Bearer-Token)
Plattformstatus
Jede Plattform im platforms-Array hat ihren eigenen Status. Der übergeordnete Status eines Beitrags spiegelt den Gesamtstatus wider — er ist POSTED, wenn mindestens eine Plattform erfolgreich war, und FAILED nur, wenn alle Plattformen fehlgeschlagen sind.
Einen Social-Media-Beitrag abrufen
curl --request GET \
--url https://post.adaptlypost.com/post/api/v1/social-posts/post_xyz789 \
--header 'Authorization: Bearer <api-key>'200
{
"id": "post_xyz789",
"contentType": "IMAGE",
"text": "Check out our new product launch!",
"status": "COMPLETED",
"scheduledAt": "2026-03-14T14:00:00Z",
"timezone": "America/New_York",
"platforms": [
{
"id": "pp_001",
"platform": "TWITTER",
"status": "PUBLISHED",
"accountName": "@yourhandle",
"platformPostId": "1234567890",
"publishedAt": "2026-03-14T14:00:02Z"
},
{
"id": "pp_002",
"platform": "LINKEDIN",
"status": "FAILED",
"accountName": "Your Company",
"errorMessage": "Image format not supported"
}
],
"createdAt": "2026-03-14T13:55:00Z",
"updatedAt": "2026-03-14T14:00:10Z"
}