POST
/
api
/
partner
/
v2
/
users
/
{id}
/
documents
/
sign
cURL
curl --request POST \
  --url https://staging-api.capa.fi/api/partner/v2/users/{id}/documents/sign \
  --header 'Content-Type: application/json' \
  --header 'partner-api-key: <partner-api-key>' \
  --data '{
  "country": "MX"
}'
{
  "success": true,
  "data": {
    "url": "<string>"
  }
}

Headers

partner-api-key
string
required

Api key for the affiliated partner that is performing the request

Path Parameters

id
string
required

The id of the entity

Body

application/json
country
enum<string>
required

The country code for the document signature request

@description The country must be a valid ISO 3166-1 alpha-2 country code, see: @link https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

Available options:
MX,
DO,
US,
AT,
BE,
BG,
HR,
CY,
CZ,
DK,
EE,
FI,
FR,
DE,
GR,
HU,
IE,
IT,
LV,
LT,
LU,
MT,
NL,
PL,
PT,
RO,
SK,
SI,
ES,
SE,
IS,
LI,
NO,
CH,
GB,
MC,
SM,
AD,
VA
Example:

"MX"

Response

201 - application/json
success
boolean
Example:

true

data
object