Account

Accounts in Space Invoices represent users who can log in and access various organizations based on the permissions assigned to them.

With your Account, you can create new users as child Accounts. The root Account has authority over these child Accounts and can manage their access to individual Organizations.

The impersonate feature allows the root Account to log in and control child Accounts, ensuring seamless management of user access and permissions within the platform.

Endpoints:

  • POST /v1/Accounts
  • GET /v1/Accounts/:id
  • PATCH /v1/Accounts/:id
  • POST /v1/Accounts/login
  • POST /v1/Accounts/logout
  • POST /v1/Accounts/impersonate
  • GET /v1/accounts
  • GET /v1/accounts/count
  • GET /v1/Accounts/authorized
  • GET /v1/Accounts/is-unique
  • POST /v1/Accounts/:id/verify
  • GET /v1/Accounts/confirm
  • POST /v1/Accounts/change-password
  • POST /v1/Accounts/reset
  • POST /v1/Accounts/reset-password
  • GET /v1/Accounts/:id/is-verified
  • POST /v1/Accounts/:id/send-verification

The Account object

Parameters

  • id string readonly

  • email string

  • Additional propertiesExpand all
    
      {
  "firstname": "string",
  "lastname": "string",
  "taxNumber": "string",
  "locale": "en",
  "label": "string",
  "softwareSupplierTaxNumber": "string",
  "activateRedirect": "string",
  "invitationLink": "string",
  "invitationNewLink": "string",
  "documentShareableLink": "string",
  "disableCreatingChildOrganizations": true,
  "resetRedirect": "string",
  "email": "string",
  "emailVerified": true,
  "id": "string",
  "masterId": "string",
  "parentId": "string",
  "billingOrganizationId": "string",
  "createdAt": "2022-04-20T10:10:30+00:00Z",
  "updatedAt": "2022-04-20T10:10:30+00:00Z",
  "custom": {}
}    
  

Create Account

POST /v1/Accounts

Properties

  • email string required

  • password string required

  • Additional propertiesExpand all
      
        const response = await fetch('https://api.spaceinvoices.com/v1/Accounts', {
  method: 'POST',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  },
  body: JSON.stringify({
    firstname: 'string',
    lastname: 'string',
    taxNumber: 'string',
    locale: 'en',
    label: 'string',
    softwareSupplierTaxNumber: 'string',
    activateRedirect: 'string',
    invitationLink: 'string',
    invitationNewLink: 'string',
    documentShareableLink: 'string',
    disableCreatingChildOrganizations: true,
    resetRedirect: 'string',
    email: 'string',
    password: 'string',
    billingOrganizationId: 'string',
    custom: {}
  })
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X POST https://api.spaceinvoices.com/v1/Accounts \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "firstname": "string", \
    "lastname": "string", \
    "taxNumber": "string", \
    "locale": "en", \
    "label": "string", \
    "softwareSupplierTaxNumber": "string", \
    "activateRedirect": "string", \
    "invitationLink": "string", \
    "invitationNewLink": "string", \
    "documentShareableLink": "string", \
    "disableCreatingChildOrganizations": true, \
    "resetRedirect": "string", \
    "email": "string", \
    "password": "string", \
    "billingOrganizationId": "string", \
    "custom": {}
  }'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/Accounts'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
params = {
  'firstname': 'string',
  'lastname': 'string',
  'taxNumber': 'string',
  'locale': 'en',
  'label': 'string',
  'softwareSupplierTaxNumber': 'string',
  'activateRedirect': 'string',
  'invitationLink': 'string',
  'invitationNewLink': 'string',
  'documentShareableLink': 'string',
  'disableCreatingChildOrganizations': True,
  'resetRedirect': 'string',
  'email': 'string',
  'password': 'string',
  'billingOrganizationId': 'string',
  'custom': {}
}
response = requests.post(url, json=params, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      {
  "firstname": "string",
  "lastname": "string",
  "taxNumber": "string",
  "locale": "en",
  "label": "string",
  "softwareSupplierTaxNumber": "string",
  "activateRedirect": "string",
  "invitationLink": "string",
  "invitationNewLink": "string",
  "documentShareableLink": "string",
  "disableCreatingChildOrganizations": true,
  "resetRedirect": "string",
  "email": "string",
  "emailVerified": true,
  "id": "string",
  "masterId": "string",
  "parentId": "string",
  "billingOrganizationId": "string",
  "createdAt": "$now",
  "updatedAt": "$now",
  "custom": {}
}    
  

Get Account

GET /v1/Accounts/:id

Parameters

Path
  • id string required

    Model id

Query
  • filter string optional

    Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})

      
        const response = await fetch('https://api.spaceinvoices.com/v1/Accounts/{id}', {
  method: 'GET',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  }
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X GET https://api.spaceinvoices.com/v1/Accounts/{id} \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/Accounts/{id}'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
response = requests.get(url, params={}, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      {
  "firstname": "string",
  "lastname": "string",
  "taxNumber": "string",
  "locale": "en",
  "label": "string",
  "softwareSupplierTaxNumber": "string",
  "activateRedirect": "string",
  "invitationLink": "string",
  "invitationNewLink": "string",
  "documentShareableLink": "string",
  "disableCreatingChildOrganizations": true,
  "resetRedirect": "string",
  "email": "string",
  "emailVerified": true,
  "id": "string",
  "masterId": "string",
  "parentId": "string",
  "billingOrganizationId": "string",
  "createdAt": "2022-04-20T10:10:30+00:00Z",
  "updatedAt": "2022-04-20T10:10:30+00:00Z",
  "custom": {}
}    
  

Patch Account

PATCH /v1/Accounts/:id

Parameters

Path
  • id string required

    Account id

Properties

  • email string optional

  • Additional propertiesExpand all
      
        const response = await fetch('https://api.spaceinvoices.com/v1/Accounts/{id}', {
  method: 'PATCH',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  },
  body: JSON.stringify({
    firstname: 'string',
    lastname: 'string',
    taxNumber: 'string',
    locale: 'en',
    label: 'string',
    softwareSupplierTaxNumber: 'string',
    activateRedirect: 'string',
    invitationLink: 'string',
    invitationNewLink: 'string',
    documentShareableLink: 'string',
    disableCreatingChildOrganizations: true,
    resetRedirect: 'string',
    email: 'string',
    billingOrganizationId: 'string',
    custom: {}
  })
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X PATCH https://api.spaceinvoices.com/v1/Accounts/{id} \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "firstname": "string", \
    "lastname": "string", \
    "taxNumber": "string", \
    "locale": "en", \
    "label": "string", \
    "softwareSupplierTaxNumber": "string", \
    "activateRedirect": "string", \
    "invitationLink": "string", \
    "invitationNewLink": "string", \
    "documentShareableLink": "string", \
    "disableCreatingChildOrganizations": true, \
    "resetRedirect": "string", \
    "email": "string", \
    "billingOrganizationId": "string", \
    "custom": {}
  }'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/Accounts/{id}'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
params = {
  'firstname': 'string',
  'lastname': 'string',
  'taxNumber': 'string',
  'locale': 'en',
  'label': 'string',
  'softwareSupplierTaxNumber': 'string',
  'activateRedirect': 'string',
  'invitationLink': 'string',
  'invitationNewLink': 'string',
  'documentShareableLink': 'string',
  'disableCreatingChildOrganizations': True,
  'resetRedirect': 'string',
  'email': 'string',
  'billingOrganizationId': 'string',
  'custom': {}
}
response = requests.patch(url, json=params, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      {
  "firstname": "string",
  "lastname": "string",
  "taxNumber": "string",
  "locale": "en",
  "label": "string",
  "softwareSupplierTaxNumber": "string",
  "activateRedirect": "string",
  "invitationLink": "string",
  "invitationNewLink": "string",
  "documentShareableLink": "string",
  "disableCreatingChildOrganizations": true,
  "resetRedirect": "string",
  "email": "string",
  "emailVerified": true,
  "id": "string",
  "masterId": "string",
  "parentId": "string",
  "billingOrganizationId": "string",
  "createdAt": "2022-04-20T10:10:30+00:00Z",
  "updatedAt": "2022-04-20T10:10:30+00:00Z",
  "custom": {}
}    
  

Login Account

POST /v1/Accounts/login

Parameters

Query
  • include string optional

    Related objects to include in the response. See the description of return value for more details.

Properties

  • email string required

    Account's email address.

  • password string required

    Accounts's password.

      
        const response = await fetch('https://api.spaceinvoices.com/v1/Accounts/login', {
  method: 'POST',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  },
  body: JSON.stringify({
    email: 'string',
    password: 'string'
  })
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X POST https://api.spaceinvoices.com/v1/Accounts/login \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "email": "string", \
    "password": "string"
  }'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/Accounts/login'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
params = {
  'email': 'string',
  'password': 'string'
}
response = requests.post(url, json=params, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      {
  "id": "string",
  "ttl": 42,
  "created": "2022-04-20T10:10:30+00:00Z",
  "userId": 42
}    
  

Logout Account

POST /v1/Accounts/logout

Properties

      
        const response = await fetch('https://api.spaceinvoices.com/v1/Accounts/logout', {
  method: 'POST',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  },
  body: JSON.stringify({

  })
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X POST https://api.spaceinvoices.com/v1/Accounts/logout \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{

  }'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/Accounts/logout'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
params = {

}
response = requests.post(url, json=params, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      {

}    
  

Login as / Impersonate Child Account

POST /v1/Accounts/impersonate

Properties

  • email string optional

    Account's email

  • id string optional

    Account's id

  • ttl number optional

    TTL for generated token. Default 2 months.

      
        const response = await fetch('https://api.spaceinvoices.com/v1/Accounts/impersonate', {
  method: 'POST',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  },
  body: JSON.stringify({
    email: 'string',
    id: 'string',
    ttl: 42
  })
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X POST https://api.spaceinvoices.com/v1/Accounts/impersonate \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "email": "string", \
    "id": "string", \
    "ttl": 42
  }'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/Accounts/impersonate'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
params = {
  'email': 'string',
  'id': 'string',
  'ttl': 42
}
response = requests.post(url, json=params, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      {
  "id": "string",
  "ttl": 1209600,
  "scopes": ["string"],
  "created": "2022-04-20T10:10:30+00:00Z",
  "userId": "string"
}    
  

Get Child Accounts

Find sub-accounts.

GET /v1/accounts

Parameters

Query
  • filter optional

      
        const response = await fetch('https://api.spaceinvoices.com/v1/accounts', {
  method: 'GET',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  }
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X GET https://api.spaceinvoices.com/v1/accounts \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/accounts'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
response = requests.get(url, params={}, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      [
  {
    "createdAt": "2022-04-20T10:10:30+00:00Z",
    "updatedAt": "2022-04-20T10:10:30+00:00Z",
    "custom": {},
    "id": "string",
    "password": "string",
    "email": "string",
    "emailVerified": true,
    "verificationToken": "string",
    "locale": "string",
    "firstname": "string",
    "lastname": "string",
    "taxNumber": "string",
    "label": "string",
    "parentId": "string",
    "masterId": "string",
    "billingOrganizationId": "string",
    "softwareSupplierTaxNumber": "string",
    "activateRedirect": "string",
    "invitationLink": "string",
    "invitationNewLink": "string",
    "documentShareableLink": "string",
    "disableCreatingChildOrganizations": true,
    "resetRedirect": "string"
  }
]    
  

Count Child Accounts

Count number of sub-accounts.

GET /v1/accounts/count

Parameters

Query
  • where optional

      
        const response = await fetch('https://api.spaceinvoices.com/v1/accounts/count', {
  method: 'GET',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  }
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X GET https://api.spaceinvoices.com/v1/accounts/count \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/accounts/count'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
response = requests.get(url, params={}, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      {
  "count": 42
}    
  

Check if Accounts Authorized

GET /v1/Accounts/authorized
      
        const response = await fetch('https://api.spaceinvoices.com/v1/Accounts/authorized', {
  method: 'GET',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  }
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X GET https://api.spaceinvoices.com/v1/Accounts/authorized \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/Accounts/authorized'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
response = requests.get(url, params={}, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      {

}    
  

Check if Accounts Email is unique

GET /v1/Accounts/is-unique

Parameters

Query
  • email string required

    E-mail to check uniqueness against.

      
        const response = await fetch('https://api.spaceinvoices.com/v1/Accounts/is-unique', {
  method: 'GET',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  }
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X GET https://api.spaceinvoices.com/v1/Accounts/is-unique \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/Accounts/is-unique'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
response = requests.get(url, params={}, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      {
  "isUnique": true
}    
  

Verify Account

POST /v1/Accounts/:id/verify

Parameters

Path
  • id string required

    Account id

Properties

      
        const response = await fetch('https://api.spaceinvoices.com/v1/Accounts/{id}/verify', {
  method: 'POST',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  },
  body: JSON.stringify({

  })
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X POST https://api.spaceinvoices.com/v1/Accounts/{id}/verify \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{

  }'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/Accounts/{id}/verify'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
params = {

}
response = requests.post(url, json=params, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      {

}    
  

Confirm Accounts

GET /v1/Accounts/confirm

Parameters

Query
  • uid string required

  • token string required

  • redirect string optional

      
        const response = await fetch('https://api.spaceinvoices.com/v1/Accounts/confirm', {
  method: 'GET',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  }
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X GET https://api.spaceinvoices.com/v1/Accounts/confirm \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/Accounts/confirm'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
response = requests.get(url, params={}, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      {

}    
  

Change Account password

POST /v1/Accounts/change-password

Properties

  • oldPassword string required

  • newPassword string required

      
        const response = await fetch('https://api.spaceinvoices.com/v1/Accounts/change-password', {
  method: 'POST',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  },
  body: JSON.stringify({
    oldPassword: 'string',
    newPassword: 'string'
  })
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X POST https://api.spaceinvoices.com/v1/Accounts/change-password \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "oldPassword": "string", \
    "newPassword": "string"
  }'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/Accounts/change-password'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
params = {
  'oldPassword': 'string',
  'newPassword': 'string'
}
response = requests.post(url, json=params, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      {

}    
  

Request Account password reset

POST /v1/Accounts/reset

Properties

      
        const response = await fetch('https://api.spaceinvoices.com/v1/Accounts/reset', {
  method: 'POST',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  },
  body: JSON.stringify({

  })
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X POST https://api.spaceinvoices.com/v1/Accounts/reset \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{

  }'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/Accounts/reset'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
params = {

}
response = requests.post(url, json=params, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      {

}    
  

Reset Account password

POST /v1/Accounts/reset-password

Properties

  • newPassword string required

      
        const response = await fetch('https://api.spaceinvoices.com/v1/Accounts/reset-password', {
  method: 'POST',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  },
  body: JSON.stringify({
    newPassword: 'string'
  })
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X POST https://api.spaceinvoices.com/v1/Accounts/reset-password \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "newPassword": "string"
  }'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/Accounts/reset-password'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
params = {
  'newPassword': 'string'
}
response = requests.post(url, json=params, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      {

}    
  

Check if Accounts verified

GET /v1/Accounts/:id/is-verified

Parameters

Path
  • id string required

    Account id

      
        const response = await fetch('https://api.spaceinvoices.com/v1/Accounts/{id}/is-verified', {
  method: 'GET',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  }
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X GET https://api.spaceinvoices.com/v1/Accounts/{id}/is-verified \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/Accounts/{id}/is-verified'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
response = requests.get(url, params={}, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      {
  "isVerified": true
}    
  

Request Account verification

POST /v1/Accounts/:id/send-verification

Parameters

Path
  • id string required

    Account id

Properties

      
        const response = await fetch('https://api.spaceinvoices.com/v1/Accounts/{id}/send-verification', {
  method: 'POST',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  },
  body: JSON.stringify({

  })
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X POST https://api.spaceinvoices.com/v1/Accounts/{id}/send-verification \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{

  }'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/Accounts/{id}/send-verification'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
params = {

}
response = requests.post(url, json=params, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      {
  "success": true
}