post
https://api-ss-sandbox.betprophet.co/parlay/sp/supported-lines
Add Supported Lines
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Add Supported Lines
Endpoint: /supported-lines
/supported-linesThis endpoint allows you to add supported lines to your account. You can Add , Get , or Delete supported lines using the respective HTTP methods.
HTTP Methods
- GET: Retrieve supported lines by SP.
- POST: Add new supported lines.
- DELETE: Revoke existing supported lines.
Authentication
All requests to this endpoint require a valid token for authentication. Include the token in the request header as follows:
Authorization: Bearer <token>
Parameters
- token (query, optional): The authentication token.
- limit (query, optional): The maximum number of supported lines to return.
Request Body (POST)
- supported_lines (array of strings, required): The lines you want to add.
Request Body (DELETE)
- supported_lines (array of strings, required): The lines you want to Delete.
Responses
- 200 OK: The request was successful.
- Default Error: An error occurred, and the request was not successful.
Example Usage
Add Supported Lines
POST /supported-lines
{
"supported_lines": ["line1", "line2"]
}Get Supported Lines
GET /supported-lines?limit=10Revoke Supported Lines
DELETE /supported-lines
{
"supported_lines": ["line1"]
}Tags
- parlay
This endpoint is part of the Parlay SP API, which provides functionalities for managing supported lines efficiently.
