POST
/
v2
/
connections
curl --request POST \
  --url https://api.usecloudpress.com/v2/connections \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "type": "<string>"
}'
{
  "id": 123,
  "kind": "source",
  "lastExport": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "serviceLogoUrl": "<string>",
  "type": "<string>"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
type
string

Response

200 - application/json
id
integer

The ID of the connection.

kind
enum<string>

Indicates whether this is a source or destination connection.

Available options:
source,
destination
lastExport
string | null

The date and time the last export was done to this connection for the specified source document reference. If no source document reference was passed, or if the source document has never been exported to the connection, this field will be null.

name
string

The name of the connection.

serviceLogoUrl
string

A URL with the logo for the underlying service.

type
string

The type of account this connection is to.