Retrieve Support Ticket
curl --request GET \
--url https://skala-sandbox.ripio.com/api/v1/supportTickets/{ticketId}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://skala-sandbox.ripio.com/api/v1/supportTickets/{ticketId}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://skala-sandbox.ripio.com/api/v1/supportTickets/{ticketId}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://skala-sandbox.ripio.com/api/v1/supportTickets/{ticketId}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://skala-sandbox.ripio.com/api/v1/supportTickets/{ticketId}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://skala-sandbox.ripio.com/api/v1/supportTickets/{ticketId}/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://skala-sandbox.ripio.com/api/v1/supportTickets/{ticketId}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"ticketId": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"status": "CREATED",
"issueKey": "SUP-1234"
}{
"code": 40001,
"type": "NotAuthenticated",
"detail": {
"message": "Authentication credentials were not provided.",
"code": "not_authenticated"
},
"status": 401
}{
"code": 20061,
"type": "SupportTicketsNotEnabledException",
"detail": {
"message": "Support tickets are not enabled for this account."
},
"status": 403
}{
"code": 40017,
"type": "SupportTicketNotFoundException",
"detail": {
"message": "Support ticket not found."
},
"status": 404
}Support Tickets
Retrieve Support Ticket
Returns the current status of a support ticket previously created via Create Support Ticket. The ticket reference (issueKey) becomes available once the ticket reaches the CREATED status.
To be notified automatically when a ticket is resolved, subscribe to the Support Ticket webhook events. You can also check a specific ticket on demand with this endpoint.
This endpoint must be enabled for your account by the Ripio team. While support tickets are disabled, requests return 403 with the error code 20061.
GET
/
api
/
v1
/
supportTickets
/
{ticketId}
/
Retrieve Support Ticket
curl --request GET \
--url https://skala-sandbox.ripio.com/api/v1/supportTickets/{ticketId}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://skala-sandbox.ripio.com/api/v1/supportTickets/{ticketId}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://skala-sandbox.ripio.com/api/v1/supportTickets/{ticketId}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://skala-sandbox.ripio.com/api/v1/supportTickets/{ticketId}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://skala-sandbox.ripio.com/api/v1/supportTickets/{ticketId}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://skala-sandbox.ripio.com/api/v1/supportTickets/{ticketId}/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://skala-sandbox.ripio.com/api/v1/supportTickets/{ticketId}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"ticketId": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"status": "CREATED",
"issueKey": "SUP-1234"
}{
"code": 40001,
"type": "NotAuthenticated",
"detail": {
"message": "Authentication credentials were not provided.",
"code": "not_authenticated"
},
"status": 401
}{
"code": 20061,
"type": "SupportTicketsNotEnabledException",
"detail": {
"message": "Support tickets are not enabled for this account."
},
"status": 403
}{
"code": 40017,
"type": "SupportTicketNotFoundException",
"detail": {
"message": "Support ticket not found."
},
"status": 404
}The recommended way to learn a ticket’s outcome is to subscribe to the Support Ticket webhook events, which notify your application automatically as soon as a ticket reaches the
CREATED or FAILED status. You can also check a specific ticket’s status on demand with this endpoint.Support tickets are an opt-in feature that must be enabled for your account by the Ripio team. While the feature is disabled, this endpoint returns
403 Forbidden with the error code 20061 (SupportTicketsNotEnabledException). Contact the Ripio team to have it enabled.Checking a ticket’s status
Use this endpoint to look up the current status of a ticket created via Create Support Ticket, passing theticketId returned there.
The status field follows this lifecycle:
status | Meaning |
|---|---|
PENDING | The ticket was accepted and is still being processed. issueKey is null. |
CREATED | The ticket was successfully registered with Ripio’s support team. issueKey is populated. |
FAILED | The ticket could not be registered. issueKey is null. |
Authorizations
Access token obtained via /oauth2/token/. Use as Authorization: Bearer <access_token>.
Path Parameters
Response
Current state of the support ticket.
Was this page helpful?