Skip to main content
POST
/
v2
/
sources
/
{id}
/
configuration_cards
Create configuration card link for a source
curl --request POST \
  --url https://api.portable.io/v2/sources/{id}/configuration_cards \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "expiresAt": "2023-11-07T05:31:56Z",
  "type": "SOURCE",
  "imageUrl": "<string>",
  "instruction": "<string>"
}
'
{
  "data": {
    "id": 123,
    "hash_id": "<string>",
    "expires_at": "2023-11-07T05:31:56Z",
    "type": "SOURCE",
    "source_name": "<string>",
    "url": "<string>",
    "image_url": "<string>",
    "instruction": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer<int>
required

ID

Body

application/json
expiresAt
string<date-time>
required
type
enum<string>
required
Available options:
SOURCE,
AGENT,
DESTINATION
imageUrl
string
instruction
string

Response

Created

data
object
required