REST API
REST API development
49 topics in this forum
-
Calling: https://{endpoint}/v3/devices/:id/appliedpolicies Error: GetSystemAppliedPolicies cannot be executed due to lack of permissions Why am I getting this error I do not see any permission settings on the token setup?
-
- 0 replies
- 585 views
- 1 follower
-
-
Has anyone successfully made RESt calls using powershell Invoke-RestMethod or Invoke-WebRequest? Can't see, to get the header syntax Have tried $header = @{Authorization = 'Basic ' + [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes("$($username):$($password)"))} Invoke-RestMethod -uri https://api.pulseway.com/v2/systems -Method POST -Header $header -ContentType "application/json" but keep getting '400 Bad request' any pointers?
-
- 1 reply
- 3.7k views
-
-
Hi, I am attempting to do something I'm not sure is possible . My customer has adopted Pulseway to keep track of their PCs running their systems and would like more than just the PC-related events to show up in Pulseway. We are running a LabVIEW executable application that controls a manufacturing system and monitors inputs and checks those inputs against expected limits. If any of those inputs are outside the specified limits, the system will output warning and alarm texts and emails indicating what went wrong. My customer would like the LabVIEW application to send these alarms and warnings to Pulseway so that they can set up rules for who gets what alarms and use the…
-
- 0 replies
- 2k views
-
-
Hey, The message counter of normal_notifications does not work. We had two normal notifications at a server but the counter is 0. Array ( [data] => Array ( [description] => Windows Server 2008 R2 Standard [uptime] => 0 days, 13 hours, 43 minutes [is_online] => 1 [computer_type] => windows [in_maintenance] => [external_ip_address] => ************ [critical_notifications] => 0 [elevated_notifications] => 0 [normal_notifications] => 0 [low_notifications] => 2 [client_version] => 5.3 [identifier] => *************************** [name] => ******** [group] => 3 Applicaties ) [meta] => Array ( [response_code] => …
- 2 replies
- 3.4k views
- 1 follower
-
Our admins use Pulseway to monitor several of our systems. We also use 3rd party cloud based systems that will send us notifications via API. When we receive notifications from our 3rd party systems, our admins would like for me to forward them to Pulseway. I've read quite a bit of the documentation and perhaps it's because I'm unfamiliar with Pulseway nomenclature, but I'm unsure if this can be done. This thread had several questions in it that I have, but a lot of the content is still unclear for me. And at one point it was stated that what they were trying to accomplish wasn't possible, and that Pulseway was considering allowing to add notifications for other…
-
- 6 replies
- 4.1k views
- 1 follower
-
-
Hello, The restApi needs the instance_id parameter. Where could I find this information ? Is it the tag in the system details URL, between /systems/ and /details? Best regards, Guy
- 8 replies
- 6.6k views
-
Hey all! Testing out Pulseway's REST API endpoints. I can query for systems, etc but executing a task just gets a happy little 403... Posting to: https://api.pulseway.com/v2/automation/tasks/[redacted]/executions returns this: { "meta": { "response_code": 403, "error_message": "Operation refused as the account has 2FA enabled." }, "data": { "id": 0 } } What recourse do I have here? Is the REST API simply unavailable for task execution in cloud accounts while 2FA is enabled? Suppose I could disable it and just live with a super-long password, but... perhaps there is a way Thanks!
- 3 replies
- 2.4k views
- 1 follower
-
Hello. I need help. Can I add https://psa.pulseway.com/MSP/TicketsListing.aspx here to Tickets ? Using https://api.pulseway.com/ ?
-
- 7 replies
- 2.5k views
- 1 follower
-
-
We recently rolled out both Pulseway and the PSA replacing out Spiceworks help desk. Since the client portal is not as simple for user to create tickets within our mobile application, I am looking to use the PSA API but stuck. I am testing with the basic GET request to retrieve tickets and stuck on what server_name should be. Also for the authorization Bearer access_token, am I using the same token from the Pulseway webapp? Using this HTTP Request: GET https://server_name/api/servicedesk/tickets
- 2 replies
- 2.5k views
- 1 follower
-
Hello, It is maybe a silly question but I can't figure it out. I want to publish an online webconsole in my dashboard. But I don't know how to publish a system. where do i put the code? pulseway manager? pulseway webapp? I have no idea.. could somebody tell me how this works this is the code: curl https://my.pulseway.com/api/v2/notifications \ -u username:password \ -X POST \ -H "Content-Type: application/json" \ -d '{"instance_id":"my_cloud_agent","title":"Runtime error","message":"Cannot connect to the database.","priority":"critical"}'
-
- 2 replies
- 3.5k views
- 1 follower
-
-
I've been using the API for a few days now & it's working pretty good. I received an error that said "Too many requests for your account. Try again later" Just curious to know what the limits are?
-
- 2 replies
- 2.8k views
- 1 follower
-
-
Hello, We want to send a post notification via the API, but we always get the message "Unknown system identifier". What are we doing wrong? Below is the script that is used. # Set your Pulseway API credentials $tokenID = "*********" $tokenSecret = "*************" # Pulseway API Endpoint $apiEndpoint = "https://************.pulseway.com/api/v3/notifications" # Notification details $instanceId = "Test" $title = "Testing" $message = "Test succeed" $priority = "Critical" # Create the JSON payload $jsonPayload = @{ InstanceId = $instanceId Title = $title Message = $message Priority = $priority } | Con…
-
- 1 reply
- 1.2k views
-
-
Hello, When authenticating to the REST API, am I able to use the API Key/API Token found on the User Account Details page? I've been attempting to do so using Postman, by changing the Authorization type to API Key and then pasting the API Key into the Value field. Unsure that the Key field must contain, but having tried things like "apikey", "api_key" etc.. I always receive a 401 Unauthorized. I'm clearly getting something wrong - so appreciate any direction. Just a FYI, the documentation for the Notifications says a default priority is normal but I've found it to default to low when no priority field is populated.
-
- 3 replies
- 4.8k views
- 1 follower
-
-
Hi guys, We have IT support ticketing system in vb.net. I like to integrate critical notifications, health and disk usage information. I made the ticketing system myself but I don't have much knowledge of the Rest API integration in vb.net apps. I got my token and sample codes from pulsway web site but I could not make it work. Is there any other sample code for retrieving data and updating text objects in vb.net? thanks. Kind Regards, Erkin
-
- 2 replies
- 6.9k views
-
-
Hello, Since February 29th 14:06 an application written en C# and using Rest API get blocked on a "Forbidden" error. It occurs in an application we've not modified. Our last successfull notification via Rest API occured on 12:11. Have you change something in the access to Rest API ? Thanks in advance for your help. Best regards, Guy
-
- 2 replies
- 4.3k views
-
-
Hello, Trying to test the API using Postman, but I'm always getting the "ResponseCode": 403 with "ErrorMessage": "This token is invalid. Contact your administrator.". Any clue what might be the issue? I'm 100% sure the authentication, urls and parameters are ok. Thanks, NL
-
- 2 replies
- 1.6k views
- 1 follower
-
-
It appears the V3 API is out now. I see in the permissions when creating a token 'Get Device Custom Fields' as a permission, but there is no endpoint listed in the documentation. Additionally, attempting to use the new /api/v3/devices endpoint fails, it will however take the /api/v3/systems endpoint. This appears to return same information as v2 API does. Error returned is as follows: '/api/v3/devices' MessageDetail: No type was found that matches the controller named 'v3' My questions are: 1. is the /devices endpoint a new endpoint that's not available yet? 2. what is the endpoint to get a device's custom field? 3. is there at time line f…
-
- 8 replies
- 3.4k views
- 2 followers
-
-
I am creating a C# program to fetch the "Last Boot Uptime" for all devices under a particular group with /v3/assets But the time format is inconsistent for some devices. Some are in 24hr format others in 12hr format, some has the weekday on it etc.. Eg: 15 February 2024 21:58 22 February 2024 08:57 12 March 2024 08:24 18 March 2024 01:33 17 February 2024 02:11 15 February 2024 21:50 11 March 2024 15:08 17 February 2024 02:44 29 February 2024 00:36 16 March 2024 00:33 16 March 2024 01:29 06 February 2024 15:24 13 March 2024 08:46 Saturday, 2 March 2024 10:12 a.m. Thursday, 14 March 2024 1:36 AM Saturday, February 24, 2024 20:02…
-
- 1 reply
- 946 views
- 1 follower
-
-
Hi All, I realize there is no agent software for the ARM64 (other than the Pi), and we can't install it on Ubuntu running on the Nvidia Tegra based Jetson TX1 family. I am considering writing an agent based on the REST API and I was wondering if this was the best way to go about doing it. Basically I want to capture the remote system name, IP, and other info, and have it display on the Pulseway Dashboard. We might also consider outsourcing this project, so I might be looking for experienced Pulseway developers who could do this. Thanks for any advice. Jason
-
- 1 reply
- 3.7k views
-
-
I've been working in the Pulseway REST API, and first off, I wish there were more endpoints here to work with, however, that said, I'm currently looking at the Automation section of the API, and there is the Get Task Execution section. This clearly states my url /api/v2/automation/executions/:id. My question is, where do I find the execution ID? Putting in the actual task ID returns that a task execution not found. Am I just missing a step or something? I don't see anyway through the API or Web UI to actually get any ID numbers for each task execution.
-
- 1 reply
- 2.1k views
-
-
Hi, I'm using the Publish API to create a system, which shows up on the dashboard. I then send a notification using curl: https://api.pulseway.com/v1/publish -H Content-Type:application/json -u <user;key> -X POST -d '{"instance_id":"v7black","title":"Test error","message":"Running out of disk space","priority":"critical"}' which gets a valid response: {"response_code":200,"error_message":null} But I can't see any notification on the dashboard/mobile The name/description/group I used in publish seems to have been lost I put the publish again, and the group/description is back... however once the 'refresh interval' expires it greys out but there is no notific…
- 9 replies
- 7.1k views
- 1 follower
-
Chasing up what the following are calls to Specifically ; Pulseway_instance_id Pulseway_Instance_Name Pulseway_Instance Group Pulseway_instance_Decription Figured out ; Pulseway_instance_id Not sure of Pulseway_Instance_Name would be ie (https://companyname.pulseway.com/) ? Pulseway_Instance Group Would be the Group its in obviously (any Syntax required ? or straight label copy paste ?) and with Username and password 2FA not required or seperate Pulseway account needed with 2FA disabled ?
-
- 4 replies
- 2.8k views
-
-
Hi folks, We were notified earlier this year that V3 of the Pulseway API was in active development. What's the status of that API release, and where can I go check on that announcement or updates? Thanks!
-
- 1 reply
- 1.1k views
-
-
I'm using the API to get a list of IP addresses in order to whitelist those IP's in the Linux iptables firewall rules. This process works fine on an unrestricted server. The server I'm working with is very restricted, so it isn't able to communicate with the api. For example, our pulseway address is http://company.pulseway.com which translates to 12.34.56.78 I added the following into iptables.save: #Pulseway -A INPUT -i eth0 -s 12.34.56.78 -j ACCEPT -A OUTPUT -o eth0 -d 12.34.56.78 -j ACCEPT I test outbound communications by running the following: telnet 12.34.56.78 443 and it connects so I'm assuming it's the inbound communication. My a…
-
- 3 replies
- 4.4k views
- 1 follower
-