FastSign API v1.0
Authentication
Authorization
HTTP authorization
Type: header
Scheme: token
Use the HTTP header Authorization with the prefix token
before your API key. Your API key consists of public_id:secret_key
.
Api-User-Uri
API key
Type: header
Impersonates the user by setting this header value to the URI of user.
Pagination-Page
Current page
Pagination-Items-Total
Total number of items in endpoint
Pagination-Num-Pages
Total number of pages
GET /contracts/{contract_id}/annotations
Code samples
GET /contracts/{contract_id}/annotations HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
Example responses
200 response
[
{
"self": "/api/contracts/85/annotations/86444",
"party_id": "/api/contracts/85/parties/15",
"pdf_page": "string",
"pos_x": 1,
"pos_y": 1,
"width": 1,
"height": 1,
"type": "SIGNATURE",
"content": "string",
"input_required": true,
"render_when_signed": true,
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00"
}
]
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
POST /contracts/{contract_id}/annotations
Code samples
POST /contracts/{contract_id}/annotations HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Content-Type: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
{
"party_id": "/api/contracts/85/parties/15",
"pdf_page": "string",
"pos_x": 1,
"pos_y": 1,
"width": 1,
"height": 1,
"type": "SIGNATURE",
"content": "string",
"input_required": true,
"render_when_signed": true
}
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
body |
body |
application/json ApiContractAnnotation |
Yes |
|
Example responses
201 response
{
"self": "/api/contracts/85/annotations/86444",
"party_id": "/api/contracts/85/parties/15",
"pdf_page": "string",
"pos_x": 1,
"pos_y": 1,
"width": 1,
"height": 1,
"type": "SIGNATURE",
"content": "string",
"input_required": true,
"render_when_signed": true,
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00"
}
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
GET /contracts/{contract_id}/annotations/{annotation_id}
Code samples
GET /contracts/{contract_id}/annotations/{annotation_id} HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
annotation_id |
path |
string |
No |
The contract annotation ID |
Example responses
200 response
{
"self": "/api/contracts/85/annotations/86444",
"party_id": "/api/contracts/85/parties/15",
"pdf_page": "string",
"pos_x": 1,
"pos_y": 1,
"width": 1,
"height": 1,
"type": "SIGNATURE",
"content": "string",
"input_required": true,
"render_when_signed": true,
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00"
}
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
PUT /contracts/{contract_id}/annotations/{annotation_id}
Code samples
PUT /contracts/{contract_id}/annotations/{annotation_id} HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Content-Type: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
{
"party_id": "/api/contracts/85/parties/15",
"pdf_page": "string",
"pos_x": 1,
"pos_y": 1,
"width": 1,
"height": 1,
"type": "SIGNATURE",
"content": "string",
"input_required": true,
"render_when_signed": true
}
No properties are required, only set those properties needing a update
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
annotation_id |
path |
string |
No |
The contract annotation ID |
body |
body |
application/json ApiContractAnnotation |
Yes |
|
Example responses
200 response
{
"self": "/api/contracts/85/annotations/86444",
"party_id": "/api/contracts/85/parties/15",
"pdf_page": "string",
"pos_x": 1,
"pos_y": 1,
"width": 1,
"height": 1,
"type": "SIGNATURE",
"content": "string",
"input_required": true,
"render_when_signed": true,
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00"
}
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
DELETE /contracts/{contract_id}/annotations/{annotation_id}
Code samples
DELETE /contracts/{contract_id}/annotations/{annotation_id} HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
annotation_id |
path |
string |
No |
The contract annotation ID |
Example responses
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
Status |
Description |
Schema |
204 |
Empty result if the contract annotation was deleted |
|
4XX |
Error |
JsonProblemResponse |
GET /contracts/{contract_id}/attachments
Code samples
GET /contracts/{contract_id}/attachments HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
Example responses
200 response
[
{
"self": "/api/contracts/85/attachments/5356",
"name": "string",
"preview_uri": "https://app.fastsign.se/contract_attachment_preview/i/5356/encrypted_data",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00"
}
]
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
POST /contracts/{contract_id}/attachments
Code samples
POST /contracts/{contract_id}/attachments HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Content-Type: application/octet-stream
Accept-Api-Version: 1
Content-Type: application/pdf
Content-Disposition: attachment; filename="my_attachment.pdf"
Authorization: token {access-token}
Api-User-Uri: API_KEY
[]
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
Content-Type |
header |
string |
Yes |
Attachment content type |
Content-Disposition |
header |
string |
Yes |
Attachment disposition containing the filename |
body |
body |
application/octet-stream string (binary) |
Yes |
Attachment data, can be max 2 MiB |
Example responses
201 response
{
"self": "/api/contracts/85/attachments/5356",
"name": "string",
"preview_uri": "https://app.fastsign.se/contract_attachment_preview/i/5356/encrypted_data",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00"
}
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
GET /contracts/{contract_id}/attachments/{attachment_id}
Code samples
GET /contracts/{contract_id}/attachments/{attachment_id} HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
attachment_id |
path |
string |
No |
The contract attachment ID |
Example responses
200 response
{
"self": "/api/contracts/85/attachments/5356",
"name": "string",
"preview_uri": "https://app.fastsign.se/contract_attachment_preview/i/5356/encrypted_data",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00"
}
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
DELETE /contracts/{contract_id}/attachments/{attachment_id}
Code samples
DELETE /contracts/{contract_id}/attachments/{attachment_id} HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
attachment_id |
path |
string |
No |
The contract attachment ID |
Example responses
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
Status |
Description |
Schema |
204 |
Empty result if the contract attachment was deleted |
|
4XX |
Error |
JsonProblemResponse |
GET /contracts/{contract_id}/parties
Code samples
GET /contracts/{contract_id}/parties HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
Example responses
200 response
[
{
"self": "/api/contracts/85/parties/452",
"name": "string",
"email": "string",
"mobile_phone": "string",
"identity_number": "string",
"delivery_method": "EMAIL",
"sign_type": "DEFAULT",
"sign_order": "string",
"is_accept": true,
"sign_time": "2020-02-29 13:37:00",
"reject_cause": "string",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00",
"contract_url": "https://app.fastsign.se/s/1YNb7Knv9Xl2WivR0A5l1q",
"user": "/api/users/15"
}
]
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
POST /contracts/{contract_id}/parties
Code samples
POST /contracts/{contract_id}/parties HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Content-Type: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
{
"name": "string",
"email": "string",
"mobile_phone": "string",
"identity_number": "string",
"delivery_method": "EMAIL",
"sign_type": "DEFAULT",
"sign_order": "string",
"user": "/api/users/15"
}
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
body |
body |
application/json ApiContractParty |
Yes |
|
Example responses
201 response
{
"self": "/api/contracts/85/parties/452",
"name": "string",
"email": "string",
"mobile_phone": "string",
"identity_number": "string",
"delivery_method": "EMAIL",
"sign_type": "DEFAULT",
"sign_order": "string",
"is_accept": true,
"sign_time": "2020-02-29 13:37:00",
"reject_cause": "string",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00",
"contract_url": "https://app.fastsign.se/s/1YNb7Knv9Xl2WivR0A5l1q",
"user": "/api/users/15"
}
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
GET /contracts/{contract_id}/parties/{party_id}
Code samples
GET /contracts/{contract_id}/parties/{party_id} HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
party_id |
path |
string |
No |
The contract party ID |
Example responses
200 response
{
"self": "/api/contracts/85/parties/452",
"name": "string",
"email": "string",
"mobile_phone": "string",
"identity_number": "string",
"delivery_method": "EMAIL",
"sign_type": "DEFAULT",
"sign_order": "string",
"is_accept": true,
"sign_time": "2020-02-29 13:37:00",
"reject_cause": "string",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00",
"contract_url": "https://app.fastsign.se/s/1YNb7Knv9Xl2WivR0A5l1q",
"user": "/api/users/15"
}
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
PUT /contracts/{contract_id}/parties/{party_id}
Code samples
PUT /contracts/{contract_id}/parties/{party_id} HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Content-Type: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
{
"name": "string",
"email": "string",
"mobile_phone": "string",
"identity_number": "string",
"delivery_method": "EMAIL",
"sign_type": "DEFAULT",
"sign_order": "string",
"user": "/api/users/15"
}
No properties are required, only set those properties needing a update
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
party_id |
path |
string |
No |
The contract party ID |
body |
body |
application/json ApiContractParty |
Yes |
|
Example responses
200 response
{
"self": "/api/contracts/85/parties/452",
"name": "string",
"email": "string",
"mobile_phone": "string",
"identity_number": "string",
"delivery_method": "EMAIL",
"sign_type": "DEFAULT",
"sign_order": "string",
"is_accept": true,
"sign_time": "2020-02-29 13:37:00",
"reject_cause": "string",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00",
"contract_url": "https://app.fastsign.se/s/1YNb7Knv9Xl2WivR0A5l1q",
"user": "/api/users/15"
}
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
DELETE /contracts/{contract_id}/parties/{party_id}
Code samples
DELETE /contracts/{contract_id}/parties/{party_id} HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
party_id |
path |
string |
No |
The contract party ID |
Example responses
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
Status |
Description |
Schema |
204 |
Empty result if the contract party was deleted |
|
4XX |
Error |
JsonProblemResponse |
GET /contract_templates
Code samples
GET /contract_templates HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
Example responses
200 response
[
{
"self": "/api/contract_templates/3",
"name": "string",
"is_published": true,
"header": "string",
"content": "string",
"footer": "string",
"footer_type": "SIMPLE",
"created_time": "2020-02-29 13:37:00",
"updated_time": "2020-02-29 13:37:00",
"created_by": "/api/users/15"
}
]
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
POST /contract_templates
Code samples
POST /contract_templates HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Content-Type: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
{
"name": "string",
"is_published": true,
"header": "string",
"content": "string",
"footer": "string",
"footer_type": "SIMPLE"
}
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
body |
body |
application/json ApiContractTemplate |
Yes |
|
Example responses
201 response
{
"self": "/api/contract_templates/3",
"name": "string",
"is_published": true,
"header": "string",
"content": "string",
"footer": "string",
"footer_type": "SIMPLE",
"created_time": "2020-02-29 13:37:00",
"updated_time": "2020-02-29 13:37:00",
"created_by": "/api/users/15"
}
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
GET /contract_templates/{template_id}
Code samples
GET /contract_templates/{template_id} HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
template_id |
path |
string |
No |
The template ID |
Example responses
200 response
{
"self": "/api/contract_templates/3",
"name": "string",
"is_published": true,
"header": "string",
"content": "string",
"footer": "string",
"footer_type": "SIMPLE",
"created_time": "2020-02-29 13:37:00",
"updated_time": "2020-02-29 13:37:00",
"created_by": "/api/users/15"
}
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
PUT /contract_templates/{template_id}
Code samples
PUT /contract_templates/{template_id} HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Content-Type: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
{
"name": "string",
"is_published": true,
"header": "string",
"content": "string",
"footer": "string",
"footer_type": "SIMPLE"
}
No properties are required, only set those properties needing a update
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
template_id |
path |
string |
No |
The template ID |
body |
body |
application/json ApiContractTemplate |
Yes |
|
Example responses
200 response
{
"self": "/api/contract_templates/3",
"name": "string",
"is_published": true,
"header": "string",
"content": "string",
"footer": "string",
"footer_type": "SIMPLE",
"created_time": "2020-02-29 13:37:00",
"updated_time": "2020-02-29 13:37:00",
"created_by": "/api/users/15"
}
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
DELETE /contract_templates/{template_id}
Code samples
DELETE /contract_templates/{template_id} HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
template_id |
path |
string |
No |
The template ID |
Example responses
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
Status |
Description |
Schema |
204 |
Empty result if the template was deleted |
|
4XX |
Error |
JsonProblemResponse |
GET /contracts
Code samples
GET /contracts HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
status |
query |
enum, one of draft, sent, signed, rejected |
No |
Filter by status |
user |
query |
string |
No |
Filter by user (author) |
name |
query |
string |
No |
Search by name |
page |
query |
string |
No |
Sets page |
sort |
query |
string enum, one of id, name, is_signed, updated_time |
No |
Specifies sort direction for result, comma separated |
Example responses
200 response
[
{
"self": "/api/contracts/85",
"name": "string",
"content": "string",
"pdf_preview_uri": "https://app.fastsign.se/contract_pdf_preview/i/85/encrypted_data",
"email_invite_content": "string",
"email_from_name": "string",
"email_reply_to": "string",
"party_order_defined": true,
"show_identity_number": true,
"require_auth": "NONE",
"sent_time": "2020-02-29 13:37:00",
"expire_time": "2020-02-29 13:37:00",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00",
"template": "/api/contract_templates/3",
"is_answered": true,
"is_signed": true,
"is_rejected": true
}
]
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
POST /contracts
Code samples
POST /contracts HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Content-Type: application/pdf
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
%PDF-1.4
3 0 obj
<</Type /Page
/Parent 1 0 R
POST /contracts HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Content-Type: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
{
"template": "/api/contract_templates/3"
}
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
body |
body |
application/pdf string (binary) |
Yes |
Either a complete PDF in binary form (max 2 MiB) or JSON body with property template |
body |
body |
application/json object |
Yes |
Either a complete PDF in binary form (max 2 MiB) or JSON body with property template |
» template |
body |
string |
No |
|
Example responses
201 response
{
"self": "/api/contracts/85",
"name": "string",
"content": "string",
"pdf_preview_uri": "https://app.fastsign.se/contract_pdf_preview/i/85/encrypted_data",
"email_invite_content": "string",
"email_from_name": "string",
"email_reply_to": "string",
"party_order_defined": true,
"show_identity_number": true,
"require_auth": "NONE",
"sent_time": "2020-02-29 13:37:00",
"expire_time": "2020-02-29 13:37:00",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00",
"template": "/api/contract_templates/3",
"is_answered": true,
"is_signed": true,
"is_rejected": true,
"parties": [
{
"self": "/api/contracts/85/parties/452",
"name": "string",
"email": "string",
"mobile_phone": "string",
"identity_number": "string",
"delivery_method": "EMAIL",
"sign_type": "DEFAULT",
"sign_order": "string",
"is_accept": true,
"sign_time": "2020-02-29 13:37:00",
"reject_cause": "string",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00",
"contract_url": "https://app.fastsign.se/s/1YNb7Knv9Xl2WivR0A5l1q",
"user": "/api/users/15"
}
],
"annotations": [
{
"self": "/api/contracts/85/annotations/86444",
"party_id": "/api/contracts/85/parties/15",
"pdf_page": "string",
"pos_x": 1,
"pos_y": 1,
"width": 1,
"height": 1,
"type": "SIGNATURE",
"content": "string",
"input_required": true,
"render_when_signed": true,
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00"
}
]
}
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
GET /contracts/{contract_id}
Code samples
GET /contracts/{contract_id} HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
Example responses
200 response
{
"self": "/api/contracts/85",
"name": "string",
"content": "string",
"pdf_preview_uri": "https://app.fastsign.se/contract_pdf_preview/i/85/encrypted_data",
"email_invite_content": "string",
"email_from_name": "string",
"email_reply_to": "string",
"party_order_defined": true,
"show_identity_number": true,
"require_auth": "NONE",
"sent_time": "2020-02-29 13:37:00",
"expire_time": "2020-02-29 13:37:00",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00",
"template": "/api/contract_templates/3",
"is_answered": true,
"is_signed": true,
"is_rejected": true,
"parties": [
{
"self": "/api/contracts/85/parties/452",
"name": "string",
"email": "string",
"mobile_phone": "string",
"identity_number": "string",
"delivery_method": "EMAIL",
"sign_type": "DEFAULT",
"sign_order": "string",
"is_accept": true,
"sign_time": "2020-02-29 13:37:00",
"reject_cause": "string",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00",
"contract_url": "https://app.fastsign.se/s/1YNb7Knv9Xl2WivR0A5l1q",
"user": "/api/users/15"
}
],
"annotations": [
{
"self": "/api/contracts/85/annotations/86444",
"party_id": "/api/contracts/85/parties/15",
"pdf_page": "string",
"pos_x": 1,
"pos_y": 1,
"width": 1,
"height": 1,
"type": "SIGNATURE",
"content": "string",
"input_required": true,
"render_when_signed": true,
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00"
}
]
}
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
PUT /contracts/{contract_id}
Code samples
PUT /contracts/{contract_id} HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Content-Type: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
{
"name": "string",
"content": "string",
"email_invite_content": "string",
"email_from_name": "string",
"email_reply_to": "string",
"party_order_defined": true,
"show_identity_number": true,
"require_auth": "NONE",
"expire_time": "2020-02-29 13:37:00",
"template": "/api/contract_templates/3"
}
No properties are required, only set those properties needing a update
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
body |
body |
application/json ApiContract |
Yes |
|
Example responses
200 response
{
"self": "/api/contracts/85",
"name": "string",
"content": "string",
"pdf_preview_uri": "https://app.fastsign.se/contract_pdf_preview/i/85/encrypted_data",
"email_invite_content": "string",
"email_from_name": "string",
"email_reply_to": "string",
"party_order_defined": true,
"show_identity_number": true,
"require_auth": "NONE",
"sent_time": "2020-02-29 13:37:00",
"expire_time": "2020-02-29 13:37:00",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00",
"template": "/api/contract_templates/3",
"is_answered": true,
"is_signed": true,
"is_rejected": true,
"parties": [
{
"self": "/api/contracts/85/parties/452",
"name": "string",
"email": "string",
"mobile_phone": "string",
"identity_number": "string",
"delivery_method": "EMAIL",
"sign_type": "DEFAULT",
"sign_order": "string",
"is_accept": true,
"sign_time": "2020-02-29 13:37:00",
"reject_cause": "string",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00",
"contract_url": "https://app.fastsign.se/s/1YNb7Knv9Xl2WivR0A5l1q",
"user": "/api/users/15"
}
],
"annotations": [
{
"self": "/api/contracts/85/annotations/86444",
"party_id": "/api/contracts/85/parties/15",
"pdf_page": "string",
"pos_x": 1,
"pos_y": 1,
"width": 1,
"height": 1,
"type": "SIGNATURE",
"content": "string",
"input_required": true,
"render_when_signed": true,
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00"
}
]
}
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
DELETE /contracts/{contract_id}
Code samples
DELETE /contracts/{contract_id} HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
Example responses
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
Status |
Description |
Schema |
204 |
Empty result if the contract was deleted |
|
4XX |
Error |
JsonProblemResponse |
POST /contracts/{contract_id}/send
Code samples
POST /contracts/{contract_id}/send HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Content-Type: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
{
"silent": true,
"auto_sign": true
}
This makes the contract read-only. Calling any POST
, PUT
or DELETE
methods on the contract endpoints will fail.
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
body |
body |
application/json ApiContractSend |
No |
|
Example responses
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
GET /contracts/{contract_id}/signed_pdf
Code samples
GET /contracts/{contract_id}/signed_pdf HTTP/1.1
Host: app.fastsign.se
Accept: application/pdf
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
This is only available if the PDF is signed by all parties.
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
Example responses
200 response
[]
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
GET /contracts/{contract_id}/activity_log
Code samples
GET /contracts/{contract_id}/activity_log HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
contract_id |
path |
string |
No |
The contract ID |
Example responses
200 response
[
{
"time": "2020-02-29 13:37:00",
"event": "string",
"user_agent": "string",
"ip_address": "string"
}
]
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
GET /users
Code samples
GET /users HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
Example responses
200 response
[
{
"self": "/api/users/15",
"permission_template": "CUSTOMER_ADMIN_USER",
"firstname": "string",
"lastname": "string",
"username": "string",
"password": "string",
"email": "string",
"active": true,
"created_time": "2020-02-29 13:37:00"
}
]
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
POST /users
Code samples
POST /users HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Content-Type: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
{
"permission_template": "CUSTOMER_ADMIN_USER",
"firstname": "string",
"lastname": "string",
"username": "string",
"password": "string",
"email": "string",
"active": true
}
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
body |
body |
application/json ApiUser |
Yes |
|
Example responses
201 response
{
"self": "/api/users/15",
"permission_template": "CUSTOMER_ADMIN_USER",
"firstname": "string",
"lastname": "string",
"username": "string",
"password": "string",
"email": "string",
"active": true,
"created_time": "2020-02-29 13:37:00"
}
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
GET /users/{user_id}
Code samples
GET /users/{user_id} HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
user_id |
path |
string |
No |
The user ID |
Example responses
200 response
{
"self": "/api/users/15",
"permission_template": "CUSTOMER_ADMIN_USER",
"firstname": "string",
"lastname": "string",
"username": "string",
"password": "string",
"email": "string",
"active": true,
"created_time": "2020-02-29 13:37:00"
}
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
PUT /users/{user_id}
Code samples
PUT /users/{user_id} HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Content-Type: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
{
"permission_template": "CUSTOMER_ADMIN_USER",
"firstname": "string",
"lastname": "string",
"username": "string",
"password": "string",
"email": "string",
"active": true
}
No properties are required, only set those properties needing a update
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
user_id |
path |
string |
No |
The user ID |
body |
body |
application/json ApiUser |
Yes |
|
Example responses
200 response
{
"self": "/api/users/15",
"permission_template": "CUSTOMER_ADMIN_USER",
"firstname": "string",
"lastname": "string",
"username": "string",
"password": "string",
"email": "string",
"active": true,
"created_time": "2020-02-29 13:37:00"
}
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
DELETE /users/{user_id}
Code samples
DELETE /users/{user_id} HTTP/1.1
Host: app.fastsign.se
Accept: application/json
Accept-Api-Version: 1
Authorization: token {access-token}
Api-User-Uri: API_KEY
Parameters
Name |
In |
Type |
Required |
Description |
Accept-Api-Version |
header |
integer |
Yes |
Specifies which version of this API is requested |
user_id |
path |
string |
No |
The user ID |
Example responses
4XX response
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Responses
Status |
Description |
Schema |
204 |
Empty result if the user was deleted |
|
4XX |
Error |
JsonProblemResponse |
Schemas
{
"silent": true,
"auto_sign": true
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
silent |
boolean |
No |
none |
True if the contract should be sent silently to the parties. Sending silently means no e-mail or SMS will be sent to parties. |
auto_sign |
boolean |
No |
none |
True if the contract should be auto-signed on behalf of sending user. Must be enabled per API token, please contact support. |
{
"self": "/api/contracts/85",
"name": "string",
"content": "string",
"pdf_preview_uri": "https://app.fastsign.se/contract_pdf_preview/i/85/encrypted_data",
"email_invite_content": "string",
"email_from_name": "string",
"email_reply_to": "string",
"party_order_defined": true,
"show_identity_number": true,
"require_auth": "NONE",
"sent_time": "2020-02-29 13:37:00",
"expire_time": "2020-02-29 13:37:00",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00",
"template": "/api/contract_templates/3",
"is_answered": true,
"is_signed": true,
"is_rejected": true,
"parties": [
{
"self": "/api/contracts/85/parties/452",
"name": "string",
"email": "string",
"mobile_phone": "string",
"identity_number": "string",
"delivery_method": "EMAIL",
"sign_type": "DEFAULT",
"sign_order": "string",
"is_accept": true,
"sign_time": "2020-02-29 13:37:00",
"reject_cause": "string",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00",
"contract_url": "https://app.fastsign.se/s/1YNb7Knv9Xl2WivR0A5l1q",
"user": "/api/users/15"
}
],
"annotations": [
{
"self": "/api/contracts/85/annotations/86444",
"party_id": "/api/contracts/85/parties/15",
"pdf_page": "string",
"pos_x": 1,
"pos_y": 1,
"width": 1,
"height": 1,
"type": "SIGNATURE",
"content": "string",
"input_required": true,
"render_when_signed": true,
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00"
}
]
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
self |
string |
No |
read-only |
|
name |
string |
No |
none |
|
content |
string |
No |
none |
|
pdf_preview_uri |
string |
No |
read-only |
|
email_invite_content |
string |
No |
none |
|
email_from_name |
string |
No |
none |
|
email_reply_to |
string |
No |
none |
|
party_order_defined |
boolean |
No |
none |
Default is false . If true each party will get the notification about signing in a predefined order. For false , all parties will get the notification at the same time. |
show_identity_number |
boolean |
No |
none |
Default is true . If true , the identity number of each party signed with digital ID will be visible on the signed contract. |
require_auth |
string |
No |
none enum, one of NONE, DIGITAL_ID, SMS |
Authentication type required before party can view and sign the contract. |
sent_time |
string |
No |
read-only |
|
expire_time |
string |
No |
none |
|
created_by |
string |
No |
read-only |
|
created_time |
string |
No |
read-only |
|
template |
string |
No |
none |
|
is_answered |
boolean |
No |
read-only |
True if at least one party has answered. If this property is true and is_signed is false, the contract is rejected. |
is_signed |
boolean |
No |
read-only |
True if all parties accepted the contract. |
is_rejected |
boolean |
No |
read-only |
True if any of the parties rejected the contract. |
parties |
Array of ApiContractParty |
Yes |
none |
A party can be created in two ways; * setting the name property in conjunction with email or mobile_phone * setting the user_id property |
annotations |
Array of ApiContractAnnotation |
Yes |
none |
|
{
"time": "2020-02-29 13:37:00",
"event": "string",
"user_agent": "string",
"ip_address": "string"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
time |
string |
Yes |
read-only |
|
event |
string |
Yes |
read-only |
|
user_agent |
string |
No |
read-only |
|
ip_address |
string |
No |
read-only |
|
{
"self": "/api/contracts/85/annotations/86444",
"party_id": "/api/contracts/85/parties/15",
"pdf_page": "string",
"pos_x": 1,
"pos_y": 1,
"width": 1,
"height": 1,
"type": "SIGNATURE",
"content": "string",
"input_required": true,
"render_when_signed": true,
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
self |
string |
Yes |
read-only |
|
party_id |
string |
No |
none |
|
pdf_page |
integer |
Yes |
none |
|
pos_x |
number |
Yes |
none |
Horizontal position in percentages of PDF page width |
pos_y |
number |
Yes |
none |
Vertical position in percentages of PDF page height |
width |
number |
Yes |
none |
Width in percentages of PDF page width |
height |
number |
Yes |
none |
Height in percentages of PDF page height |
type |
string |
Yes |
none enum, one of SIGNATURE, NOTE, CHECKBOX, INPUT_TEXT |
|
content |
string |
No |
none |
If type is set to SIGNATURE this property should contain the numeric ID of the party whose signature this annotation belongs to. |
input_required |
boolean |
No |
none |
|
render_when_signed |
boolean |
No |
none |
|
created_by |
string |
Yes |
read-only |
|
created_time |
string |
Yes |
read-only |
|
{
"self": "/api/contracts/85/attachments/5356",
"name": "string",
"preview_uri": "https://app.fastsign.se/contract_attachment_preview/i/5356/encrypted_data",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
self |
string |
Yes |
read-only |
|
name |
string |
Yes |
none |
|
preview_uri |
string |
Yes |
read-only |
|
created_by |
string |
Yes |
read-only |
|
created_time |
string |
Yes |
read-only |
|
{
"self": "/api/contracts/85/parties/452",
"name": "string",
"email": "string",
"mobile_phone": "string",
"identity_number": "string",
"delivery_method": "EMAIL",
"sign_type": "DEFAULT",
"sign_order": "string",
"is_accept": true,
"sign_time": "2020-02-29 13:37:00",
"reject_cause": "string",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00",
"contract_url": "https://app.fastsign.se/s/1YNb7Knv9Xl2WivR0A5l1q",
"user": "/api/users/15"
}
A party can be created in two ways;
- setting the
name
property in conjunction with email
or mobile_phone
- setting the
user_id
property
Properties
Name |
Type |
Required |
Restrictions |
Description |
self |
string |
Yes |
read-only |
|
name |
string |
No |
none |
Can't be used together with user_id |
email |
string |
No |
none |
Can't be used together with user_id |
mobile_phone |
string |
No |
none |
Can't be used together with user_id |
identity_number |
string |
No |
none |
Used when the contract requires authentication. Can't be used together with user_id . |
delivery_method |
string |
No |
none enum, one of EMAIL, SMS, EMAIL,SMS |
|
sign_type |
string |
Yes |
none enum, one of DEFAULT, DIGITAL_ID, NONE |
|
sign_order |
integer |
No |
none |
The order in which this party should sign the contract. Only valid for party_order_defined being true on ApiContract . |
is_accept |
boolean |
No |
read-only |
|
sign_time |
string |
No |
read-only |
|
reject_cause |
string |
No |
read-only |
|
email_status |
ApiContractPartyMailSummary |
No |
none |
|
created_by |
string |
Yes |
read-only |
|
created_time |
string |
Yes |
read-only |
|
contract_url |
string |
Yes |
read-only |
|
user |
string |
No |
none |
Set this property if party is internal FastSign user. Use self as value for the authenticated user or a URI to other user. |
{
"sent": true,
"opened": true,
"clicked": true,
"bounced": true,
"hardbounced": true,
"softbounced": true,
"blocked": true,
"unsub": true,
"spam": true
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
sent |
boolean |
No |
read-only |
|
opened |
boolean |
No |
read-only |
|
clicked |
boolean |
No |
read-only |
|
bounced |
boolean |
No |
read-only |
|
hardbounced |
boolean |
No |
read-only |
|
softbounced |
boolean |
No |
read-only |
|
blocked |
boolean |
No |
read-only |
|
unsub |
boolean |
No |
read-only |
|
spam |
boolean |
No |
read-only |
|
{
"self": "/api/contracts/85",
"name": "string",
"content": "string",
"pdf_preview_uri": "https://app.fastsign.se/contract_pdf_preview/i/85/encrypted_data",
"email_invite_content": "string",
"email_from_name": "string",
"email_reply_to": "string",
"party_order_defined": true,
"show_identity_number": true,
"require_auth": "NONE",
"sent_time": "2020-02-29 13:37:00",
"expire_time": "2020-02-29 13:37:00",
"created_by": "/api/users/15",
"created_time": "2020-02-29 13:37:00",
"template": "/api/contract_templates/3",
"is_answered": true,
"is_signed": true,
"is_rejected": true
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
self |
string |
Yes |
read-only |
|
name |
string |
Yes |
none |
|
content |
string |
No |
none |
|
pdf_preview_uri |
string |
No |
read-only |
|
email_invite_content |
string |
Yes |
none |
|
email_from_name |
string |
No |
none |
|
email_reply_to |
string |
No |
none |
|
party_order_defined |
boolean |
No |
none |
Default is false . If true each party will get the notification about signing in a predefined order. For false , all parties will get the notification at the same time. |
show_identity_number |
boolean |
No |
none |
Default is true . If true , the identity number of each party signed with digital ID will be visible on the signed contract. |
require_auth |
string |
No |
none enum, one of NONE, DIGITAL_ID, SMS |
Authentication type required before party can view and sign the contract. |
sent_time |
string |
No |
read-only |
|
expire_time |
string |
No |
none |
|
created_by |
string |
Yes |
read-only |
|
created_time |
string |
Yes |
read-only |
|
template |
string |
No |
none |
|
is_answered |
boolean |
No |
read-only |
True if at least one party has answered. If this property is true and is_signed is false, the contract is rejected. |
is_signed |
boolean |
No |
read-only |
True if all parties accepted the contract. |
is_rejected |
boolean |
No |
read-only |
True if any of the parties rejected the contract. |
{
"self": "/api/contract_templates/3",
"name": "string",
"is_published": true,
"header": "string",
"content": "string",
"footer": "string",
"footer_type": "SIMPLE",
"created_time": "2020-02-29 13:37:00",
"updated_time": "2020-02-29 13:37:00",
"created_by": "/api/users/15"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
self |
string |
Yes |
read-only |
|
name |
string |
Yes |
none |
|
is_published |
boolean |
Yes |
none |
|
header |
string |
No |
none |
HTML is allowed |
content |
string |
Yes |
none |
HTML is allowed |
footer |
string |
No |
none |
HTML is allowed. Can't be combined with a footer_type value of SIMPLE |
footer_type |
string |
Yes |
none enum, one of SIMPLE, ADVANCED |
|
created_time |
string |
Yes |
read-only |
|
updated_time |
string |
Yes |
read-only |
|
created_by |
string |
No |
read-only |
|
{
"self": "/api/customers/15",
"payment_option": "/api/payment_options/15",
"identity_number": "string",
"name": "string",
"firstname": "string",
"lastname": "string",
"email": "string",
"mobile_phone": "string",
"visiting_address": "string",
"visiting_zipcode": "string",
"visiting_city": "string",
"billing_address": "string",
"billing_zipcode": "string",
"billing_city": "string",
"billing_email": "string",
"billing_reference": "string",
"created_time": "2020-02-29 13:37:00"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
self |
string |
Yes |
read-only |
|
payment_option |
string |
Yes |
none |
|
identity_number |
string |
Yes |
none |
|
name |
string |
Yes |
none |
|
firstname |
string |
Yes |
none |
|
lastname |
string |
Yes |
none |
|
email |
string |
Yes |
none |
|
mobile_phone |
string |
Yes |
none |
|
visiting_address |
string |
No |
none |
|
visiting_zipcode |
string |
No |
none |
|
visiting_city |
string |
No |
none |
|
billing_address |
string |
Yes |
none |
|
billing_zipcode |
string |
Yes |
none |
|
billing_city |
string |
Yes |
none |
|
billing_email |
string |
No |
none |
|
billing_reference |
string |
No |
none |
|
created_time |
string |
Yes |
read-only |
|
{
"self": "/api/customers/15",
"payment_option": "/api/payment_options/15",
"identity_number": "string",
"name": "string",
"firstname": "string",
"lastname": "string",
"email": "string",
"mobile_phone": "string",
"visiting_address": "string",
"visiting_zipcode": "string",
"visiting_city": "string",
"billing_address": "string",
"billing_zipcode": "string",
"billing_city": "string",
"billing_email": "string",
"billing_reference": "string",
"created_time": "2020-02-29 13:37:00",
"user_active": true
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
self |
string |
No |
read-only |
|
payment_option |
string |
No |
none |
|
identity_number |
string |
No |
none |
|
name |
string |
No |
none |
|
firstname |
string |
No |
none |
|
lastname |
string |
No |
none |
|
email |
string |
No |
none |
|
mobile_phone |
string |
No |
none |
|
visiting_address |
string |
No |
none |
|
visiting_zipcode |
string |
No |
none |
|
visiting_city |
string |
No |
none |
|
billing_address |
string |
No |
none |
|
billing_zipcode |
string |
No |
none |
|
billing_city |
string |
No |
none |
|
billing_email |
string |
No |
none |
|
billing_reference |
string |
No |
none |
|
created_time |
string |
No |
read-only |
|
user_active |
boolean |
Yes |
none |
True if user can log in |
{
"self": "/api/customers/9/subscriptions/10",
"product": "/api/products/3",
"price": 1,
"valid_from_time": "2020-02-29 13:37:00",
"valid_to_time": "2020-02-29 13:37:00",
"cancelled_time": "2020-02-29 13:37:00",
"notice_period": "string",
"users_included": "string",
"created_time": "2020-02-29 13:37:00"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
self |
string |
Yes |
read-only |
|
product |
string |
Yes |
none |
The product can't be changed when updating. |
price |
number |
Yes |
read-only |
|
valid_from_time |
string |
Yes |
none |
|
valid_to_time |
string |
No |
none |
|
cancelled_time |
string |
No |
read-only |
|
notice_period |
integer |
No |
read-only |
|
users_included |
integer |
No |
read-only |
|
created_time |
string |
Yes |
read-only |
|
{
"self": "/api/payment_options/3",
"name": "string",
"price": 1,
"vat": 1,
"email_required": true
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
self |
string |
Yes |
read-only |
|
name |
string |
Yes |
none |
|
price |
number |
Yes |
none |
|
vat |
number |
Yes |
none |
|
email_required |
boolean |
Yes |
none |
|
{
"self": "/api/products/3",
"name": "string",
"type": "SUBSCRIPTION",
"price": 1,
"vat": 1,
"unit": "string",
"users_included": "string"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
self |
string |
Yes |
read-only |
|
name |
string |
Yes |
none |
|
type |
string |
Yes |
none enum, one of SUBSCRIPTION, USAGE, ADDON |
|
price |
number |
Yes |
none |
|
vat |
number |
Yes |
none |
|
unit |
string |
Yes |
none |
|
users_included |
integer |
Yes |
none |
|
{
"self": "/api/customers/15/api_tokens/104",
"name": "string",
"selector": "abcdef0123456789",
"created_time": "2020-02-29 13:37:00"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
self |
string |
Yes |
read-only |
|
name |
string |
Yes |
none |
|
selector |
string |
Yes |
none |
|
created_time |
string |
Yes |
read-only |
|
{
"self": "/api/customers/15/api_tokens/104",
"name": "string",
"selector": "abcdef0123456789",
"created_time": "2020-02-29 13:37:00",
"cleartext_secret": "abcdef0123456789"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
self |
string |
No |
read-only |
|
name |
string |
No |
none |
|
selector |
string |
No |
none |
|
created_time |
string |
No |
read-only |
|
cleartext_secret |
string |
Yes |
read-only |
|
{
"self": "/api/users/15",
"permission_template": "CUSTOMER_ADMIN_USER",
"firstname": "string",
"lastname": "string",
"username": "string",
"password": "string",
"email": "string",
"active": true,
"created_time": "2020-02-29 13:37:00"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
self |
string |
Yes |
read-only |
|
permission_template |
string |
Yes |
none enum, one of CUSTOMER_ADMIN_USER, CUSTOMER_USER |
|
firstname |
string |
Yes |
none |
|
lastname |
string |
Yes |
none |
|
username |
string |
Yes |
none |
|
password |
string |
No |
none |
|
email |
string |
Yes |
none |
|
active |
boolean |
No |
none |
True if user can log in |
created_time |
string |
Yes |
read-only |
|
{
"type": "https://app.fastsign.se/apidoc/v1/posting_data#malformed-json",
"title": "Malformed JSON",
"status": "400",
"detail": "string",
"instance": "string"
}
Properties
Name |
Type |
Required |
Restrictions |
Description |
type |
string |
Yes |
none |
Unique identifier of the problem, might be a link to the documentation |
title |
string |
Yes |
none |
Short description about the problem |
status |
integer |
Yes |
none |
The HTTP response code for the problem |
detail |
string |
No |
none |
Longer description about the problem, might be in Swedish |
instance |
string |
No |
none |
|
Go to top