Endpoint
GET/bio
APIs that can be used to work with State programmatically
This API method returns the public information about your team that’s available on your subdomain.
Authorization required.
curl https://state.sk/api/bio\
-H 'x-api-key: state_xxxxxxxxxx'
The response consists of three sections:
If a type starts with @, it means the link was added as a username. In such cases, the system automatically constructs the full URL. If you provide a full link instead, the type will simply be linkedin.
{
"id": "org_xxxxx",
"organization": {
"id": "org_xxxxx",
"name": "Team name",
"slug": "xxxxx",
"logo": "..."
},
"bio": {
"id": 1,
"title": "Custom title",
"subtitle": "Detailed description",
"email": "",
"image": null
},
"links": [
{
"id": 1,
"type": "@github",
"url": "https://github.com/whitetown",
"title": "",
"username": "whitetown"
},
{
"id": 6,
"type": "website",
"url": "https://whitetown.state.sk",
"title": "WhiteTown"
}
]
}