List Accessible Contracts
You can retrieve the list of contracts that your account credentials are authorized to access using either of the following:
a
username
and apassword
combination.a
token
to access the API. For more information about obtaining tokens for relevant contracts, see Authentication API for Tokens.
Endpoint
Use the following endpoint to retrieve a list of contracts: https://api.ionos.com/activitylog/v1/contracts
.
Request
To make authenticated requests to the API, the following fields are mandatory in the request header:
Header Parameters
Required
Type
Description
Authorization
yes
string
Content-Type
yes
string
Set this to application/json
.
Response
A 200 Successful operation lists all the contracts.
Last updated