Get Account Information
GET https://restapi.actonsoftware.com/api/1/account
This endpoint will pull general information about the user and account used when you authenticated.
Parameters
Name | Parameter Type |
Allow Multiple |
Required/ Optional |
Data Type | Description |
---|---|---|---|---|---|
Authorization: | Header | False | Required | String | Insert your generated access token. (Bearer {access token}) |
Response
{ "account_id": 12345, "cname": "johndoe.actonsoftware.com", "user_name": "John Doe", "user_email": "[email protected]", "account_name": "John Doe's Account", "user_type": "Marketing", "isAdmin": true }
Code Examples
cURLPython
curl -X GET https://restapi.actonsoftware.com/api/1/account -H 'authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs' -H 'content-type: application/json'
import requests url = "https://restapi.actonsoftware.com/api/1/account" headers = { 'Authorization': "Bearer b9497249-5bd4-3a86-9494-b1bfe2cee147", } response = requests.request("GET", url, headers=headers) print(response.text)