Skip to main content
GET
/
post
/
collaborators
/
:id
Instagram Collaborator Request Status
curl --request GET \
  --url https://api.ayrshare.com/api/post/collaborators/:id \
  --header 'Authorization: Bearer <token>'
{
  "collaborators": [
    {
      "id": "17841401319910272",
      "username": "ayrshare",
      "inviteStatus": "accepted"
    },
    {
      "id": "17841401319910273",
      "username": "ayrshare1",
      "inviteStatus": "declined"
    },
    {
      "id": "17841401319910274",
      "username": "ayrshare2",
      "inviteStatus": "pending"
    }
  ],
  "lastUpdated": "2024-03-08T04:08:18.979Z",
  "nextUpdate": "2024-03-08T04:09:18.979Z"
}
When you invite a collaborator to a post, you can check the status of the request using this endpoint. Only Instagram users who have enabled collaborator tagging will be returned in the response.

Header Parameters

Path Parameters

id
string
required
In the path parameter, use an ID Type

Query Parameters

searchPlatformId
boolean
required
Set to true. Required if using a Social Post ID.
{
  "collaborators": [
    {
      "id": "17841401319910272",
      "username": "ayrshare",
      "inviteStatus": "accepted"
    },
    {
      "id": "17841401319910273",
      "username": "ayrshare1",
      "inviteStatus": "declined"
    },
    {
      "id": "17841401319910274",
      "username": "ayrshare2",
      "inviteStatus": "pending"
    }
  ],
  "lastUpdated": "2024-03-08T04:08:18.979Z",
  "nextUpdate": "2024-03-08T04:09:18.979Z"
}