Platforms
Getting all platforms
This API gives you list of all the platforms supported by TexAu.
Page
1
Size
50
Search Param
string
Search Type
string
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Platforms fetch successful
Unauthorized access
Your plan does not have API access
Requested workspace does not belongs to you
Error in fetching platforms
GET /api/v1/public/platforms?start=1&limit=50 HTTP/1.1
Host:
Authorization: Bearer JWT
X-TexAu-Context: text
Accept: */*
{
"success": true,
"message": "Platforms fetch successful",
"total": 1,
"data": [
{
"id": "Platform ID",
"name": "Platforms Name",
"label": "Platforms Label",
"auth": {
"type": "cookie|apiKey|OAuth2",
"isOptional": false
}
}
]
}
Get platform by ID
This API gives you the list of authVariables
that will be used in adding a social account.
The platform id
62176e85121058d00e8cd67c
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Platform fetched successfully
Unauthorized access
Your plan does not have API access
Platform Auth Variables does not exist or selected platform is invalid
Requested workspace does not belongs to you
Error while fetching Platform Auth Variables
GET /api/v1/public/platforms/{platformId} HTTP/1.1
Host:
Authorization: Bearer JWT
X-TexAu-Context: text
Accept: */*
{
"success": true,
"message": "Platform fetched successfully",
"data": {
"id": "Platform ID",
"name": "Platforms Name",
"label": "Platforms Label",
"auth": {
"type": "cookie|apiKey|OAuth2",
"isOptional": false
},
"authVariables": [
{
"id": "The ID of platform authentication variable",
"placement": "header|query|body|url|cookie",
"type": "text",
"description": "text",
"label": "CSRF Token",
"name": "csrf-token"
}
]
}
}
Last updated