Say your side is ready to deal
curl --request POST \
--url https://api.gpuoutlet.ai/v1/introductions/{id}/ready \
--header 'Authorization: Bearer <token>' \
--header 'Idempotency-Key: <idempotency-key>'import requests
url = "https://api.gpuoutlet.ai/v1/introductions/{id}/ready"
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Idempotency-Key': '<idempotency-key>', Authorization: 'Bearer <token>'}
};
fetch('https://api.gpuoutlet.ai/v1/introductions/{id}/ready', 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://api.gpuoutlet.ai/v1/introductions/{id}/ready",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Idempotency-Key: <idempotency-key>"
],
]);
$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://api.gpuoutlet.ai/v1/introductions/{id}/ready"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
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.post("https://api.gpuoutlet.ai/v1/introductions/{id}/ready")
.header("Idempotency-Key", "<idempotency-key>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gpuoutlet.ai/v1/introductions/{id}/ready")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"sellerReadyAt": "2023-11-07T05:31:56Z",
"buyerReadyAt": "2023-11-07T05:31:56Z"
}{
"sellerReadyAt": "2023-11-07T05:31:56Z",
"buyerReadyAt": "2023-11-07T05:31:56Z"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"doc_url": "<string>",
"request_id": "<string>",
"param": "<string>",
"required_scope": "<string>",
"retry_after_seconds": 123,
"current": "<string>",
"problems": [
"<string>"
]
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"doc_url": "<string>",
"request_id": "<string>",
"param": "<string>",
"required_scope": "<string>",
"retry_after_seconds": 123,
"current": "<string>",
"problems": [
"<string>"
]
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"doc_url": "<string>",
"request_id": "<string>",
"param": "<string>",
"required_scope": "<string>",
"retry_after_seconds": 123,
"current": "<string>",
"problems": [
"<string>"
]
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"doc_url": "<string>",
"request_id": "<string>",
"param": "<string>",
"required_scope": "<string>",
"retry_after_seconds": 123,
"current": "<string>",
"problems": [
"<string>"
]
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"doc_url": "<string>",
"request_id": "<string>",
"param": "<string>",
"required_scope": "<string>",
"retry_after_seconds": 123,
"current": "<string>",
"problems": [
"<string>"
]
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"doc_url": "<string>",
"request_id": "<string>",
"param": "<string>",
"required_scope": "<string>",
"retry_after_seconds": 123,
"current": "<string>",
"problems": [
"<string>"
]
}
}Introductions
Say your side is ready to deal
Stamps your company’s side once; the other party is told when both have said so. A second press changes nothing and answers 200 with where both sides stand. Requires introductions:write and, by side, the deal.invoice (seller) or deal.pay (buyer) right — trader, authorized signatory or owner. Idempotency-Key is required; no body.
POST
/
introductions
/
{id}
/
ready
Say your side is ready to deal
curl --request POST \
--url https://api.gpuoutlet.ai/v1/introductions/{id}/ready \
--header 'Authorization: Bearer <token>' \
--header 'Idempotency-Key: <idempotency-key>'import requests
url = "https://api.gpuoutlet.ai/v1/introductions/{id}/ready"
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Idempotency-Key': '<idempotency-key>', Authorization: 'Bearer <token>'}
};
fetch('https://api.gpuoutlet.ai/v1/introductions/{id}/ready', 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://api.gpuoutlet.ai/v1/introductions/{id}/ready",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Idempotency-Key: <idempotency-key>"
],
]);
$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://api.gpuoutlet.ai/v1/introductions/{id}/ready"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
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.post("https://api.gpuoutlet.ai/v1/introductions/{id}/ready")
.header("Idempotency-Key", "<idempotency-key>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gpuoutlet.ai/v1/introductions/{id}/ready")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"sellerReadyAt": "2023-11-07T05:31:56Z",
"buyerReadyAt": "2023-11-07T05:31:56Z"
}{
"sellerReadyAt": "2023-11-07T05:31:56Z",
"buyerReadyAt": "2023-11-07T05:31:56Z"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"doc_url": "<string>",
"request_id": "<string>",
"param": "<string>",
"required_scope": "<string>",
"retry_after_seconds": 123,
"current": "<string>",
"problems": [
"<string>"
]
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"doc_url": "<string>",
"request_id": "<string>",
"param": "<string>",
"required_scope": "<string>",
"retry_after_seconds": 123,
"current": "<string>",
"problems": [
"<string>"
]
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"doc_url": "<string>",
"request_id": "<string>",
"param": "<string>",
"required_scope": "<string>",
"retry_after_seconds": 123,
"current": "<string>",
"problems": [
"<string>"
]
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"doc_url": "<string>",
"request_id": "<string>",
"param": "<string>",
"required_scope": "<string>",
"retry_after_seconds": 123,
"current": "<string>",
"problems": [
"<string>"
]
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"doc_url": "<string>",
"request_id": "<string>",
"param": "<string>",
"required_scope": "<string>",
"retry_after_seconds": 123,
"current": "<string>",
"problems": [
"<string>"
]
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"doc_url": "<string>",
"request_id": "<string>",
"param": "<string>",
"required_scope": "<string>",
"retry_after_seconds": 123,
"current": "<string>",
"problems": [
"<string>"
]
}
}Authorizations
An API key from your dashboard, sent as Authorization: Bearer gpk_….
Headers
Unique per intent. Retries of the same intent must reuse it verbatim; a new intent needs a new one. Remembered for 24 hours.
Required string length:
1 - 255Pattern:
^[\x20-\x7E]+$