Endpoints
Browse endpoints available
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
Header parameters
Acceptstring Β· enumRequiredPossible values:
The client must specify an Accept header.
Responses
200
OK
application/vnd.api+json
401
Unauthorized
application/vnd.api+json
get
/api/c1/accountsAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
accountIdintegerRequired
Plock account ID
Query parameters
Header parameters
Acceptstring Β· enumRequiredPossible values:
The client must specify an Accept header.
Responses
200
OK
application/vnd.api+json
401
Unauthorized
application/vnd.api+json
404
Not found
application/vnd.api+json
get
/api/c1/accounts/{accountId}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
Header parameters
Acceptstring Β· enumRequiredPossible values:
The client must specify an Accept header.
Responses
200
OK
application/vnd.api+json
401
Unauthorized
application/vnd.api+json
get
/api/c1/subscriptionsAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
subscriptionIdintegerRequired
Plock subscription ID
Query parameters
Header parameters
Acceptstring Β· enumRequiredPossible values:
The client must specify an Accept header.
Responses
200
OK
application/vnd.api+json
401
Unauthorized
application/vnd.api+json
404
Not found
application/vnd.api+json
get
/api/c1/subscriptions/{subscriptionId}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
Header parameters
Acceptstring Β· enumRequiredPossible values:
The client must specify an Accept header.
Responses
200
OK
application/vnd.api+json
401
Unauthorized
application/vnd.api+json
get
/api/c1/invoicesAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
invoiceIdintegerRequired
Plock invoice ID
Query parameters
Header parameters
Acceptstring Β· enumRequiredPossible values:
The client must specify an Accept header.
Responses
200
OK
application/vnd.api+json
401
Unauthorized
application/vnd.api+json
404
Not found
application/vnd.api+json
get
/api/c1/invoices/{invoiceId}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
Header parameters
Acceptstring Β· enumRequiredPossible values:
The client must specify an Accept header.
Responses
200
OK
application/vnd.api+json
401
Unauthorized
application/vnd.api+json
get
/api/c1/product-usagesAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Header parameters
Acceptstring Β· enumRequiredPossible values:
The client must specify an Accept header.
Content-Typestring Β· enumRequiredPossible values:
The client must specify a Content-Type header.
Body
tsintegerOptionalExample:
UNIX timestamp of value
1756582856valuenumber Β· floatOptionalExample:
Value recorded at ts
10.5crm_idstringOptionalExample:
CRM ID of the account
xx123product_idintegerOptionalExample:
Product ID for the product
332Responses
200
OK
application/json
401
Unauthorized
application/json
404
Not found
application/json
422
Unprocessable content
application/json
post
/api/c1/product-usagesLast updated