Skip to main content

Customer Management

๐Ÿงพ Overviewโ€‹

Reseller accounts can manage their own customers through the Scriptix Reseller API. This includes creating, retrieving, updating, and removing customer records.


โž• Create Customerโ€‹

URL: POST /api/v3/reseller/customer/

Headers:

ParameterValueDescription
Content-Typeapplication/json
x-zoom-s2t-keyScriptix Reseller API KeyMust be a valid reseller API token

JSON Body:

{
"name": "Customer Name",
"email": "customer@example.com",
"phone": "+31 012 345678"
}

Response: 201 Created

{
"result": {
"id": 1,
"name": "Customer Name",
"email": "customer@example.com",
"phone": "+31 012 345678",
"is_active": true,
"registration_date": "2025-01-25T10:31:46.960Z",
"last_modified": "2025-01-25T10:31:46.960Z"
},
"count": 1,
"total_results": 1
}

๐Ÿ” Get Customerโ€‹

URL: GET /api/v3/reseller/customer/{id}/

Headers:

ParameterDescription
x-zoom-s2t-keyScriptix Reseller API Token

Path Parameters:

NameDescription
idID of the customer

Response: 200 OK Returns the same structure as Create Customer.


โœ๏ธ Update Customerโ€‹

URL: PUT /api/v3/reseller/customer/{id}/

Headers:

ParameterDescription
Content-Typeapplication/json
x-zoom-s2t-keyScriptix Reseller API Token

Path Parameters:

NameDescription
idID of the customer

JSON Body:

{
"name": "Customer Name",
"email": "customer@example.com",
"phone": "+31 012 345678"
}

Response: 201 Customer updated Returns the same structure as Create Customer.


๐Ÿ—‘๏ธ Remove Customerโ€‹

URL: DELETE /api/v3/reseller/customer/{id}/

Headers:

ParameterDescription
x-zoom-s2t-keyScriptix Reseller API Token

Path Parameters:

NameDescription
idID of the customer

Response: 204 No Content


โœ… Response Codesโ€‹

Status CodeDescription
201Created / Updated successfully
200Retrieved successfully
204Deleted successfully (no content)
400Bad request โ€“ check payload or path
401Unauthorized โ€“ invalid or missing token
403Forbidden โ€“ token lacks permission
404Not found โ€“ customer ID doesn't exist or is inaccessible
500Internal error โ€“ contact support if persistent

๐Ÿง  Use Casesโ€‹

  • Manage multiple clients under a single reseller account
  • Provide isolated transcription access per customer
  • Keep customer records organized with metadata

๐Ÿ“˜ Next Stepsโ€‹