API अवलोकन पर वापस

echo

POST1 क्रेडिट

A reference endpoint that returns the JSON body you sent, plus a server-side timestamp. Useful for testing your client setup, latency, and credit accounting before integrating the production endpoints.

एंडपॉइंट

POST https://x114.org/api/v1/echo

अनुरोध बॉडी

POST बॉडी में JSON के रूप में भेजें।

NameTypeRequiredDescription
anyobject | array | string | number | boolean | nulloptionalAny JSON value. The server returns it verbatim.

प्रतिक्रिया बॉडी

सफलता पर JSON लौटाया (HTTP 200)।

NameTypeRequiredDescription
okbooleanrequiredAlways true on success.
receivedAtstring (ISO 8601)requiredServer timestamp when the request was received.
bodyunknownrequiredThe original JSON body you sent.

उदाहरण

curl -X POST https://x114.org/api/v1/echo \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{"hello":"world"}'