← Home
Get Social Medias
Get 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
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| data | array[object] | Optional | The resource representing social medias | |
| id | integer | Optional | ID of the social media record | |
| title | string | Optional | Title 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"
}
]
}