API

WebBotAuth

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /api/v1/verify/web_bot_auth create Distinct signatures for the authorized HTTPS origin

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

created, err := client.WebBotAuth(nil).Create(map[string]any{"origin": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(created)

Lua

Construct client as shown in the Lua setup, then call the operations:

local created, err = client:WebBotAuth():create({ origin = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$created = $client->WebBotAuth()->create(["origin" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

created = client.WebBotAuth().create({ "origin": "example" })

Ruby

Construct client as shown in the Ruby setup, then call the operations:

created = client.WebBotAuth.create({ "origin" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const created = await client.WebBotAuth().create({ origin: "example" })

Fields

Field Type Required Description
expires_at string Yes Expires At
origin string Yes Origin
signatures array Yes Signatures

create

POST /api/v1/verify/web_bot_auth

Operation ID: api_v1_verify_web_bot_auth.

Authentication: bearer token (bearerAuth).

Request body

application/json

Property Type Required Description
origin string (uri) Yes

Responses

200: Distinct signatures for the authorized HTTPS origin

application/json

Property Type Required Description
expires_at string (date-time) Yes
signatures array of object Yes
signatures[].signature string Yes
signatures[].signature-agent string Yes
signatures[].signature-input string Yes
400: Origin is missing

application/json

Property Type Required Description
error string Yes
field_errors object Yes
field_errors.origin array of string No
401: Signing capability is invalid, expired or outside its saved targets

application/json

Property Type Required Description
error string Yes