Job API

The Job API lets you create and schedule jobs in Robotiq.ai from other applications. This works for all robot versions.

What You'll Need

  • Access to the Robotiq.ai platform.
  • An application registered in Robotiq.ai with the job_create scope.

How to Use the Job API

To use the Job API, you need to register your application. Then, you'll make two API calls: one to get an access token and another to create the job or schedule.

Step 1: Register Your Application

  1. Go to the Application menu in Robotiq.ai.
  2. Click the New application button.
  3. For New application name, type a name for your application.
  4. Select job_create as the scope.
  5. Click Confirm.

For more details on registering applications, see Add new application.

Step 2: Get an Access Token

You need an access token to prove who you are when you make API calls.

  1. In your registered application details, click the GET ACCESS TOKEN button.
  2. The system will give you a client secret. Keep this private.

Important: If you need help getting an access token, check Get Access token.

Step 3: Generate the Job/Schedule Payload

Robotiq.ai can help you create the body for your API call to make a job or schedule.

  1. Click the Payload button.
  2. Choose the department and stage for your job.
  3. Click NEXT.
  4. Give the information needed for the process and schedule.
  5. After the payload is made, click the + button to copy it.
  6. You can also copy the API URL.

Step 4: Make the API Call to Create a Job/Schedule

Use the payload you made and your access token to make the API call.

  1. Enter the Bearer Token (Authorization) you got in Step 2.
  2. Use the API URL and payload you copied.
  3. Send the API request to create your job or schedule.

Related Articles

Need Help?

Can't find what you're looking for? Join the Robotiq Community to get help from other users and the Robotiq team.


 


 


 

Was this article helpful?