Hi everyone,
I'm working on integrating SysAid with my CapCut-related website to automatically create support tickets whenever users report issues. The goal is to send error reports from my website’s contact form directly to SysAid’s API as new service requests.
Setup Details:
- Website: Built on WordPress (with a custom PHP script handling form submissions).
- SysAid API: Using
/api/v1/requests
endpoint to create tickets. - Form Data Sent: User’s email, issue type (e.g., video export failure, login issue), error message, and timestamp.
- Authentication: Using an API key (works in Postman).
Problem:
- When submitting the form, my API request returns a 401 Unauthorized error.
- The same API key works in Postman, but not when used in my PHP script.
- Tried both
Authorization: Bearer <API_KEY>
andsysaid-api-key: <API_KEY>
headers—same issue. - Debug logs show that the request never reaches SysAid, possibly being blocked by a security rule.
Questions:
Does SysAid block API requests from certain referrers (e.g., external websites)? Are there any known CORS or authentication issues when using SysAid API from a web server? Should I use OAuth instead of an API key for this type of integration? Please assist me as I am not a technical person.
Has anyone successfully integrated SysAid API with a WordPress-based website before? Any advice would be greatly appreciated!
Thanks in advance!