curl --request POST \
--url https://api.vidbeo.com/v2/services \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Example",
"provider": "youtube"
}'
{
"success": true,
"result": {
"id": "abcde12345abcde12345a",
"name": "Example",
"provider": "youtube",
"created_by": "abcde12345abcde12345a",
"created_time": "2024-01-01T00:00:00.000Z",
"updated_by": "abcde12345abcde12345a",
"updated_time": "2024-01-01T00:00:00.000Z"
},
"links": {},
"errors": []
}
Create a new service
curl --request POST \
--url https://api.vidbeo.com/v2/services \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Example",
"provider": "youtube"
}'
{
"success": true,
"result": {
"id": "abcde12345abcde12345a",
"name": "Example",
"provider": "youtube",
"created_by": "abcde12345abcde12345a",
"created_time": "2024-01-01T00:00:00.000Z",
"updated_by": "abcde12345abcde12345a",
"updated_time": "2024-01-01T00:00:00.000Z"
},
"links": {},
"errors": []
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Service
The response is of type object
.