Add Supported Lines

Add Supported Lines

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Add Supported Lines

Endpoint: /supported-lines

This 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=10

Revoke 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.

Body Params
supported_lines
array of strings
supported_lines
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json