Trello

Trello is an automated project management tool. It helps you to empower your team to manage any type of project, and workflow. You can add files, and checklists, and can customize the projects. It’s a user-friendly platform for managing projects effortlessly.

Authorization

Basic Auth

 

The Trello API supports basic OAuth 1.0; as described in the following section from their guide. You can use an OAuth library and the following URLs:


https://trello.com/1/OAuthGetRequestToken
https://trello.com/1/OAuthAuthorizeToken
https://trello.com/1/OAuthGetAccessToken

For more information visit Trello basic Authorization, When a user creates the Trello app, they must be sure to enter Sapper's callback URL - Sapper -as a Callback URL.

To create an OAuth 1.1 connection, You’ll also need your application secret (used to sign your requests). This application secret is involved with a client_id and client_secret pair for Trello. To get these, login to Trello and go to https://trello.com/app-key.

The client_id value will be the Key value found on this page.

The client_secret value will be found by clicking the Token URL found on that page. This will prompt you to give access to the Trello Server Token application. Granting access will display the value to use.

Once you have an API key and a user's token, you can pass authorization information to Trello in one of three ways:

  1. Query parameters

  2. Authorization header

  3. PUT/POST body

Query Parameters Authorization

The easiest and quickest way to conduct the authorization to Trello is via query parameters.

You can include a key= and token= query parameter in your request.

For instance, here is a simple request passing authorization via query parameters:

Copy1 curl https://api.trello.com/1/members/me?key={{apiKey}}&token={{apiToken}}

Authorization header

You can also authorization via an Authorization header in Trello with the format: OAuth oauth_consumer_key="{{apiKey}}", oauth_token="{{apiToken}}".

For instance, here is the same request as above, but using an Authorization header:

Copy1 curl -H "Authorization: OAuth oauth_consumer_key=\"{{apiKey}}\", oauth_token=\"{{apiToken}}\"" https://api.trello.com/1/members/me

PUT/POST Body

If you want to make a PUT or POST request to Trello's API, you may also include the key and token in the request's body:

Copy1 2 3 4 curl -X PUT \ https://api.trello.com/1/cards/5e568d33e9b5e88bb99996d0/name \ -H "Content-Type: application/json" \ -d '{"key": "{{apiKey}}", "token": "{{apiToken}}", "value": "Finish Final Presentation" }'

1/authorize/ Route Options

Key

Valid Values

Description

Key

Valid Values

Description

return_url
string

A valid URL that the token should be returned to.

If the token is being passed by fragment, this is where the user will be redirected after authorization.

If the token is being passed by postMessage, this will be used as the origin for the postMessage.

callback_method
string

postMessage or fragment

Defines how the token is returned to you. Generally, postMessage is used if the authorization is done in a popup, and fragment if it is done by redirect. For details on how to use these, see client.js.

scope string

Comma-separated list of one or more of read, write, account.

Read: reading of boards, organizations, etc. on behalf of the user

Write: writing of boards, organizations, etc. on behalf of the user

Account: read member email, writing of member info, and marking notifications read

expiration
string

1hour, 1day, 30days, never

When the token should expire.

name
string

Name of the application.

Displayed during the authorization process

key
string

Valid Trello API key.

Used to generate the user's token.

response_type
string

token or fragment

The response_type of token will return the full user token.

 

Trello Connections 

Trello Basic Connection  

Input 

Key 

Description

Example 

Select Application

application

Select Trello application

 

Connection Mode

Mode

Mention the mode of connection

Custom

Connection type

connection type

Select the type of connection.

 

Rest Connection Type

Rest Connection Type

Select the Basic connection type

 

Connection Name

name

Provide a name for the connection.

 

Connection Description

description

Provide a description for the connection.

 

Host Name

host 

Provide a string value for the URL of user's Trello account.

example.atlassian.net

Username

username

Provide a valid username for the given Trello account user want to connect. 

exampleUser 

Password

password 

Provide a password to authenticate all requests with. Cloud users need to generate an API token for this value. 

exampleSecurePassword 

Header Field

header

Provide the path of the endpoint for authentication.

 

Header Prefix

header prefix

Select the header prefix -
Basic, Bearer, Token, None

 

 

Actions

Get Boards

Get boards | key: getBoard

 

Input 

Key 

Notes 

Example 

Token

token

The token is associated with API key, that can be used to read and write your entire Trello account. This Token is needs to be secret.

***************


Create Card

Create card| key: createCard

Input 

Key 

Notes 

Example 

Token

token

The token is associated with API key, that can be used to read and write your entire Trello account. This Token is needs to be secret.

***************

ID List

idList

Provide the list of the ID’s for generating the card.

 

Name

name

Provide the name for the card generation.

Sample

Description

description

Add a suitable description for the generating the card.

Sample description

Position

position

Mention the position of the card.

 


Get Card

Get card| key: getCard

Input 

Key 

Notes 

Example 

Token

token

The token is associated with API key, that can be used to read and write your entire Trello account. This Token is needs to be secret.

***************

ID

id

Every Trello card link has a unique ID

wIia0909