← Home Get Social Medias

Get Social Medias

GEThttps://api.bayut.com/v1/social-medias

This endpoint lists all available social medias to be used as platform_id in create/update user endpoints.

🔐 Bearer Token: Provide your bearer token in the Authorization header when making requests to protected resources.
Response Schema
NameTypeRequiredDescriptionExample
dataarray[object]OptionalThe resource representing social medias
idintegerOptionalID of the social media record
titlestringOptionalTitle of the social media i.e Facebook
Responses
200
401⚠️
403⚠️
Code Examples
curl --location 'https://api.bayut.com/v1/social-medias' \
--header 'Authorization: Bearer <token>'
{
    "data": [
        {
            "id": 1,
            "title": "Facebook"
        },
        {
            "id": 2,
            "title": "Instagram"
        },
        {
            "id": 3,
            "title": "Twitter"
        },
        {
            "id": 4,
            "title": "Linked In"
        },
        {
            "id": 5,
            "title": "Youtube"
        }
    ]
}