Skip to main content
POST
Sign the adoption contract

Authorizations

Authorization
string
header
required

An API key from Settings, API keys. It starts with rc_live_.

Path Parameters

id
string
required

The application's ID.

Body

application/json
template_id
string
required

An active adoption contract, offered for these animals.

animal_ids
string[]
required

The animals going home, in the order the contract names them. They need not be the animals applied for, and none may already have an adoption that is not reversed.

Required array length: 1 - 10 elements
signer_name
string
required

The name the adopter typed. The typed name is the signature.

The adopter agreed to sign electronically. Must be true.

Available options:
true
fees
object

By animal ID, a fee other than the usual: { "fee_cents": 0 } for another amount, or { "apply_discounts": false } for the adoption fee with no discounts. An animal left out goes home at its adoption fee less any of your discounts that apply.

answers
object

The answers to what the template asks at signing. Answer what it asks; anything else is left out of the contract.

adopted_on
string<date>

The adoption day, which {{date}} prints. Today unless you say.

signer_email
string

Response

The adoptions it recorded, and the signature.

adoptions
object[]
required

One per animal, in the order named.

signature
object
required

A signed contract. It is never changed or deleted: a mistaken one is voided, with a reason, and stays.