Integrate SolSub directly into your applications with our simple and powerful API.
Use this endpoint to verify the status of a Match ID for your cluster.
https://api.solsub.online/check-match-id/
Send these parameters as Query Parameters in your GET request.
| Parameter | Type | Required | Description |
|---|---|---|---|
match_id |
String | Yes | The unique Match ID provided to the user (alphanumeric). |
| Header | Type | Required | Description |
|---|---|---|---|
api-key |
String | Yes | Your Cluster API Key for authentication. |
| Status Code | Meaning | Description |
|---|---|---|
| 200 OK | Paid Active | The Match ID is valid and the subscription is Paid & Active. |
| 201 Created | Trial Active | The Match ID is valid and currently under Trial Active period. |
| 400 Bad Request | Error | Missing required parameters like API key or match_id. |
| 405 Method Not Allowed | Limit Reached | The API usage limit has been exceeded. |
| 410 Gone | Expired | The Match ID has expired and is no longer valid. |
| 422 Unprocessable Entity | Not Found | The Match ID does not belong to the specified cluster. |
// For Status -> 200
{
"detail": "Paid Active"
}
// For Status -> 201
{
"detail": "Trial Active"
}
// For Status -> 400
{
"detail": "API key and match ID are required"
}
// For Status -> 405
{
"detail": "API Limit Reached"
}
// For Status -> 410
{
"detail": "Match ID expired"
}
// For Status -> 422
{
"detail": "Match ID not found for this cluster"
}
Here's how to configure the request in your API client:
Query Parameters:
API Key Header:
Use this endpoint to create a new Match ID under your cluster. Only available for clusters with match_id_type = admin_generated.
https://api.solsub.online/create-match-id/
| Header | Type | Required | Description |
|---|---|---|---|
api-key |
String | Yes | Your Cluster API Key for authentication. |
Content-Type |
String | Yes | Must be application/json. |
Send the body as raw JSON.
| Field | Type | Required | Description |
|---|---|---|---|
match_id |
String | Yes | The unique Match ID to register under your cluster (alphanumeric). |
{
"match_id": "MATCH_001"
}
| Status Code | Meaning | Description |
|---|---|---|
| 201 Created | Success | Match ID was created successfully under your cluster. |
| 409 Conflict | Duplicate | The Match ID already exists in this cluster. |
| 403 Forbidden | Not Allowed | Your cluster's match_id_type is not admin_generated. Action not permitted. |
| 404 Not Found | Invalid Key | The provided api-key does not match any cluster. |
| 500 Server Error | Server Error | An unexpected error occurred on the server. |
// For Status -> 201
{
"detail": "Match ID created successfully",
"match_id": "MATCH_001",
"cluster": "my_cluster",
"is_trial": true,
"valid_till": "2025-05-07T12:00:00+00:00"
}
// For Status -> 409
{
"detail": "Match ID 'MATCH_001' already exists in this cluster."
}
// For Status -> 403
{
"detail": "Action forbidden: Cluster match_id_type is 'user_generated', expected 'admin_generated'."
}
// For Status -> 404
{
"detail": "Invalid API key or cluster not found"
}
hit_limit is automatically set to 60 for all newly created Match IDs.trial_period configured, the Match ID will be created in trial mode and valid_till will be set accordingly.trial_period is 0 or NULL, is_trial will be false.match_id_type = admin_generated.