Skip to content

atSpoke

The atSpoke modules allow you to watch, create, update, list, retrieve, and delete the resources, requests, and users in your atSpoke account.

Getting Started with atSpoke

Prerequisites

  • An atSpoke account

In order to use atSpoke with Ibexa Connect, it is necessary to have an atSpoke account. If you do not have one, you can create an atSpoke account at atspoke.com.

Note

The module dialog fields that are displayed in bold (in the Ibexa Connect scenario, not in this documentation article) are mandatory!

Connecting atSpoke to Ibexa Connect

To connect your atSpoke account to Ibexa Connect you need to obtain the API Key from your atSpoke account and insert it in the Create a connection dialog in the Ibexa Connect module.

1. Log in to your atSpoke account.

2. Click Your Account > My Profile > API.

61f3a3af0f616.gif

3. Go to Ibexa Connect and open the atSpoke module's Create a connection dialog.

61f3a3b1afc8d.gif

4. Copy the API Key to your clipboard.

61f3a3b3a4414.png

5. Go to Ibexa Connect and open the atSpoke module's Create a connection dialog.

61f3a3b4ab0ef.gif

6. In the Connection name field, enter a name for the connection.

7. In the API Key field, enter the API key copied in step 4, and click Continue.

The connection has been established.

Resources

Watch New Resources

Triggers when a new resource is created.

Note

You do not have to add the webhooks in the atSpoke as it is automatically done for you once you add and save an instant trigger module to your scenario.

Webhook Name Enter a name for the webhook.
Description Enter the details about the trigger.

List Resources

Returns a list of resources.

Search Query

Enter the keyword or phrase to list the resources based on the specified query.

AI

Select whether you want to use AI to list the resources.

Status

Select the status of the resource you want to list:

  • OK

  • Needs Review

  • Deprecated

Team

Select the team whose resources you want to list.

Author

Select the authors whose resources you want to list.

Review By

Enter the date to list the resources that should be reviewed by the specified date. See the list of supported date and time formats.

Limit

Set the maximum number of resources Ibexa Connect should return during one scenario execution cycle.

Get a Resource

Gets a resource.

Resource ID Select the Resource ID whose details you want to retrieve.

Create a Resource

Creates a new atSpoke resource.

Title Enter the name of the resource.
Author Select the user who has created the resource.
Body Enter the details of the resource.
Team Select the team to which this resource belongs to.

Update a Resource

Updates a resource.

Resource ID Select the Resource ID whose details you want to update.
Author Select the user who has created the resource.
Title Enter the name of the resource.
Body Enter the details of the resource.
Team Select the team to which this resource belongs to.

Delete a Resource

Deletes a resource.

Resource ID Select the Resource ID you want to delete.

Requests

Note

You do not have to add the webhooks in the atSpoke as it is automatically done for you once you add and save an instant trigger module to your scenario.

Watch New Requests

Triggers when a new request is created.

Webhook Name Enter a name for the webhook.
Description Enter the details about the trigger.

Watch Requests Updated

Triggers when a request is updated.

Webhook Name Enter a name for the webhook.
Description Enter the details about the trigger.

List Requests

Returns a list of requests.

Filter

Select the option to filter the request based on the specified filters:

  • Inbox

  • Unassigned

  • Watching

  • Sent

Status

Select the status of the requests you want to list.

Team

Select the team whose requests you want to list.

List Request IDs

Add the Request IDs whose details you want to list.

Search Query

Enter the keyword or phrase to list the requests based on the specified query.

AI

Select whether you want to use AI to list the requests.

Limit

Set the maximum number of requests Ibexa Connect should return during one scenario execution cycle.

Get a Request

Gets a request.

Request ID Select the Request ID whose details you want to list.

Create a Request

Creates a new atSpoke request.

Subject

Enter the request subject line.

Requester

Select the user who is making the request.

Body

Enter the details of the request.

Owner

Select the user to whom you want to assign the request.

Team

Select the team to which you want to assign the request.

Status

Select the request status:

  • Autoresolved

  • Open

  • Resolved

Privacy Level

Select the request privacy option:

  • Public

  • Private

Request Type

Select the request type.

Update a Request

Updates a request.

Subject

Enter the request subject line.

Requester

Select the user who is making the request.

Body

Enter the details of the request.

Owner

Select the user to whom you want to assign the request.

Team

Select the team to which you want to assign the request.

Status

Select the request status:

  • Autoresolved

  • Open

  • Resolved

Privacy Level

Select the request privacy option:

  • Public

  • Private

Request Type

Select the request type.

Delete a Request

Deletes a request.

Request ID Select the Request ID you want to delete.

Users

List Users

Returns a list of users.

Search Query

Enter the keyword or phrase to list the users based on the specified query.

Status

Select the status to list only the users with the specified status:

  • Active

  • Invited

Team

Select the team whose users you want to list.

Limit

Set the maximum number of users Ibexa Connect should return during one scenario execution cycle.

Get a User

Looks up a user by email address or ID.

Search By

Select the option to choose the user whose details you want to retrieve:

  • By Email

  • By ID

Email

Select the user's email address whose details you want to retrieve.

User ID

Select the User ID whose details you want to retrieve.

Update a User

Updates a user.

User ID Select the User ID whose details you want to update.
Display Name Enter the user's name as it appears in the account.
Phone Number Enter the user's phone number.
Email Enter the user's email address.
Unique ID Enter the user's unique ID for identification.
Job Title Enter the user's job position. For example, Product Manager.
Location Enter the user's work or home address.
Department Enter the user's department in which he works. For example, Engineering.
Manager Enter the user's manager name.
Start Date Enter the user's job start date. See the list of supported date and time formats.

Other

Make an API Call

Performs an arbitrary authorized API call.

URL

Enter a path relative to https://api.askspoke.com/api. For example: /v1/users

For the list of available endpoints, refer to the atSpoke API Documentation.

Method

Select the HTTP method you want to use:

GET to retrieve information for an entry.

POST to create a new entry.

PUT to update/replace an existing entry.

PATCH to make a partial entry update.

DELETE to delete an entry.

Headers

Enter the desired request headers. You don't have to add authorization headers; we already did that for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.

Example of Use - List Users

The following API call returns all the users from your atSpoke account:

URL: /v1/users

Method: GET

61f3a3b6c51ee.png

Matches of the search can be found in the module's Output under Bundle > Body > results In our example, 3 users were returned:

61f3a3b7a99f0.png