Update notification params

An authenticated client can update its domain, Notify URI, or upload URI.

Use this call after authentication, to update your domain, uriNotify, or uriUpload callback APIs

PATCH https:opensourceAIs.com/api/v1/private/client/notify

When calling an AI, you get an immediate response with a "uid" confirming that your request is being processed. However, as the processing can take a rather long time, the way to get back information from the AI is via notifications. Through opensourceAIs.com, the AI will call you back on your domain and on your registered URIs (notify and upload).

Request Body

NameTypeDescription

domain

String

Your domain name (eg: test.com)

uriNotify

String

the URI where you want notifications to be sent (eg: api/v1/test/notify)

uriUpload

String

the URI where you want AI generated image uploads to be sent (eg: api/v1/test/upload)

{
    "data": {
        "token": "a641d656af7ccc38cd34baac87e5f978dc2",
        "domain": "http://test.com",
        "uriNotify": "api/v1/public/notify",
        "uriUpload": "api/v1/public/upload",
        "created_at": "2023-02-16T12:48:31.000Z",
        "lastUpdated_at": "2023-03-08T17:52:30.000Z",
        "validated_at": "2023-03-08T17:52:02.000Z"
    }
}

Last updated