Generate Video SDK Token
GET /calls/generate-videosdk-token/
Use the GET /calls/generate-videosdk-token/
endpoint to retrieve a token required for establishing a secure video call session. This token is essential for initializing video communication between the car owner and the mechanic.
Parameters: This endpoint does not require any parameters.
Example Request:
curl -X GET "https://requestnowmechanic.com/v1/calls/generate-videosdk-token/" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Successful Response
Status Code:
200 OK
Description: The request was successful, and a video SDK token was generated.
Response Body Example:
{ "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." }
Error Response
Status Code:
401 Unauthorized
Description: Returned if the Bearer Token is not provided or invalid.
Last updated