Schedulin Client Profiles API

The Client Profiles API from Schedulin — 3 operation(s) for client profiles.

GitHub OpenAPI

Operations 6

GET /v0/profiles List client profiles #
POST /v0/profiles Create a client profile #
GET /v0/profiles/{id} Get a client profile #
PATCH /v0/profiles/{id} Update a client profile #
DELETE /v0/profiles/{id} Delete a client profile #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/schedulin-app:schedulin-app-client-profiles-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

schedulin-app-client-profiles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Schedulin Client Profiles API
  version: 0.1.0
  description: 'Schedulin API for social media management.


    ## Authentication


    All API requests require authentication via the `x-api-key` header.


    You can generate an API key from your Schedulin dashboard.


    ```

    x-api-key: your-api-key

    ```'
servers:
- url: https://api.schedulin.app
security:
- apiKey: []
tags:
- name: Client Profiles
paths:
  /v0/profiles:
    get:
      operationId: v0.clientProfiles.list
      summary: List client profiles
      description: List the client profiles in your organization, each with the social accounts connected to it.
      tags:
      - Client Profiles
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ClientProfile'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-fern-sdk-group-name: profiles
      x-fern-sdk-method-name: list
      security:
      - apiKey: []
      - oauth2:
        - social-accounts:read
    post:
      operationId: v0.clientProfiles.create
      summary: Create a client profile
      description: Create a profile for one of your clients. Their social accounts are grouped under it so you can post on their behalf.
      tags:
      - Client Profiles
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 100
                externalId:
                  type: string
                  minLength: 1
                  maxLength: 128
                  description: Your own identifier for this client (e.g. the user id in your system). Unique per organization; usable in place of the profile id.
              required:
              - name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientProfile'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-fern-sdk-group-name: profiles
      x-fern-sdk-method-name: create
      security:
      - apiKey: []
      - oauth2:
        - social-accounts:write
  /v0/profiles/{id}:
    get:
      operationId: v0.clientProfiles.get
      summary: Get a client profile
      description: Get a client profile by its id or by the externalId you assigned, with its connected social accounts.
      tags:
      - Client Profiles
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 128
          description: The profile id or the externalId you assigned to it.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientProfile'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-fern-sdk-group-name: profiles
      x-fern-sdk-method-name: retrieve
      security:
      - apiKey: []
      - oauth2:
        - social-accounts:read
    patch:
      operationId: v0.clientProfiles.update
      summary: Update a client profile
      description: Rename a client profile or change its externalId.
      tags:
      - Client Profiles
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 128
          description: The profile id or the externalId you assigned to it.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 100
                externalId:
                  anyOf:
                  - type: string
                    minLength: 1
                    maxLength: 128
                    description: Your own identifier for this client (e.g. the user id in your system). Unique per organization; usable in place of the profile id.
                  - type: 'null'
              required: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientProfile'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-fern-sdk-group-name: profiles
      x-fern-sdk-method-name: update
      security:
      - apiKey: []
      - oauth2:
        - social-accounts:write
    delete:
      operationId: v0.clientProfiles.delete
      summary: Delete a client profile
      description: Delete a client profile. Its social accounts stay connected to your organization; they are just no longer grouped under the profile.
      tags:
      - Client Profiles
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 128
          description: The profile id or the externalId you assigned to it.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties: {}
              required: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                required:
                - success
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-fern-sdk-group-name: profiles
      x-fern-sdk-method-name: delete
      security:
      - apiKey: []
      - oauth2:
        - social-accounts:write
  /v0/profiles/{id}/connect-link:
    post:
      operationId: v0.clientProfiles.createConnectLink
      summary: Create a client connect link
      description: Returns a hosted link to send your client. They open it, sign in to their social platforms (no Schedulin account needed), and the accounts connect to your organization under this profile, ready to post to via the API. Links expire; create a new one any time. Accounts your client connects count toward your plan's channel limit.
      tags:
      - Client Profiles
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 128
          description: The profile id or the externalId you assigned to it.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                platforms:
                  type: array
                  minItems: 1
                  maxItems: 50
                  items:
                    type: string
                    minLength: 1
                    maxLength: 64
                  description: Platform slugs the client may connect (e.g. instagram, tiktok). Omit to offer every platform.
                expiresInHours:
                  type: integer
                  minimum: 1
                  maximum: 168
                  description: How long the link works. Defaults to 72 hours, max 7 days.
                redirectUrl:
                  type: string
                  maxLength: 2048
                  format: uri
                  description: Where the client's Done button takes them after connecting, e.g. back to your app.
              required: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                    description: Hosted page to send your client. No Schedulin login needed.
                  expiresAt:
                    type: string
                required:
                - url
                - expiresAt
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-fern-sdk-group-name: profiles
      x-fern-sdk-method-name: createConnectLink
      security:
      - apiKey: []
      - oauth2:
        - social-accounts:write
components:
  schemas:
    SocialAccountDisconnectedReason:
      anyOf:
      - enum:
        - TOKEN_EXPIRED
        - TOKEN_INVALID
        - TOKEN_REVOKED
        - REFRESH_FAILED
        - ACCOUNT_SUSPENDED
        - PERMISSION_DENIED
        - EMAIL_UNCONFIRMED
        type: string
      - type: 'null'
    ClientProfile:
      type: object
      properties:
        id:
          type: string
        externalId:
          anyOf:
          - type: string
          - type: 'null'
        name:
          type: string
        socialAccounts:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              platform:
                enum:
                - bluesky
                - facebook
                - google_business_profile
                - instagram
                - linkedin
                - pinterest
                - reddit
                - snapchat
                - threads
                - tiktok
                - tiktok_business
                - twitter
                - youtube
                - mastodon
                - telegram
                - devto
                - hashnode
                - medium
                - wordpress
                - lemmy
                - nostr
                - discord
                - dribbble
                - farcaster
                - kick
                - listmonk
                - mewe
                - moltbook
                - skool
                - slack
                - twitch
                - vk
                - whop
                type: string
              status:
                enum:
                - connected
                - disconnected
                type: string
              disconnectedReason:
                $ref: '#/components/schemas/SocialAccountDisconnectedReason'
              username:
                anyOf:
                - type: string
                - type: 'null'
              displayName:
                anyOf:
                - type: string
                - type: 'null'
              customName:
                anyOf:
                - type: string
                - type: 'null'
                description: Nickname the workspace gave this account in Schedulin. Null when not renamed; `displayName` / `username` always hold the platform's own name.
              handle:
                anyOf:
                - type: string
                - type: 'null'
                description: The account's platform @handle when known (e.g. TikTok username), without the @. Null when unknown.
              profileImageUrl:
                anyOf:
                - type: string
                - type: 'null'
              refreshTokenValid:
                type: boolean
              analyticsDisabledAt:
                anyOf:
                - type: string
                  format: date-time
                  x-native-type: date
                - type: 'null'
              webhookSubscriptionFailedAt:
                anyOf:
                - type: string
                  format: date-time
                  x-native-type: date
                - type: 'null'
              profileId:
                anyOf:
                - type: string
                - type: 'null'
              connectedVia:
                anyOf:
                - type: object
                  properties:
                    id:
                      type: string
                    name:
                      type: string
                  required:
                  - id
                  - name
                - type: 'null'
                description: The platform profile whose login connected this account (e.g. the Facebook user a Page was connected through). Null when unknown.
              createdAt:
                type: string
                format: date-time
                x-native-type: date
              updatedAt:
                type: string
                format: date-time
                x-native-type: date
            required:
            - id
            - platform
            - status
            - disconnectedReason
            - username
            - displayName
            - customName
            - handle
            - profileImageUrl
            - refreshTokenValid
            - analyticsDisabledAt
            - webhookSubscriptionFailedAt
            - profileId
            - connectedVia
            - createdAt
            - updatedAt
        createdAt:
          type: string
          format: date-time
          x-native-type: date
        updatedAt:
          type: string
          format: date-time
          x-native-type: date
      required:
      - id
      - externalId
      - name
      - socialAccounts
      - createdAt
      - updatedAt
    ValidationErrorResponse:
      type: object
      description: 422 error. `data.fieldErrors` maps each invalid field to its messages; `data.formErrors` holds errors not tied to one field. `code` is "INPUT_VALIDATION_FAILED" for schema validation and "UNPROCESSABLE_CONTENT" for business-rule rejections, whose reason is also in `data.message`.
      properties:
        code:
          type: string
          description: '"INPUT_VALIDATION_FAILED" or "UNPROCESSABLE_CONTENT"'
        status:
          type: integer
        message:
          type: string
        defined:
          type: boolean
        data:
          type: object
          properties:
            message:
              type: string
              description: Human-readable reason (business-rule rejections only).
            formErrors:
              type: array
              items:
                type: string
            fieldErrors:
              type: object
              additionalProperties:
                type: array
                items:
                  type: string
      required:
      - code
      - status
      - data
    RateLimitErrorResponse:
      type: object
      description: '429 rate-limit error. Per-key request limits return `code: "RATE_LIMITED"` (also mirrored under `error`); the per-user limiter returns `code: "TOO_MANY_REQUESTS"`. Honor the `Retry-After` header.'
      properties:
        code:
          type: string
        status:
          type: integer
        message:
          type: string
        defined:
          type: boolean
        data:
          type: object
          additionalProperties: true
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
          - code
          - message
      required:
      - code
      - status
    ErrorResponse:
      type: object
      description: Error envelope. The machine-readable `code` and HTTP `status` are always present; the human-readable reason is in `message` / `data.message`.
      properties:
        code:
          type: string
          description: e.g. "BAD_REQUEST", "UNAUTHORIZED", "NOT_FOUND".
        status:
          type: integer
        message:
          type: string
        defined:
          type: boolean
        data:
          type: object
          additionalProperties: true
          properties:
            message:
              type: string
            userMessage:
              type: string
              description: End-user-safe explanation, when available.
            errorTag:
              type: string
            isRetryable:
              type: boolean
      required:
      - code
      - status
  responses:
    ValidationFailed:
      description: 'Unprocessable request. Schema validation failures have `code: "INPUT_VALIDATION_FAILED"` and `data.fieldErrors` mapping each invalid field to its messages (nested issues name their full path, e.g. `media[0].url: ...`). Business-rule rejections (e.g. a `scheduledAt` in the past) have `code: "UNPROCESSABLE_CONTENT"` and carry the reason in `data.message` and `data.formErrors`.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationErrorResponse'
          example:
            defined: false
            code: INPUT_VALIDATION_FAILED
            status: 422
            message: Input validation failed
            data:
              formErrors: []
              fieldErrors:
                caption:
                - 'Too small: expected string to have >=1 characters'
    Forbidden:
      description: Forbidden — the credential lacks the required scope or access.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            defined: false
            code: FORBIDDEN
            status: 403
            message: Forbidden
            data:
              message: Forbidden
    Unauthorized:
      description: Unauthorized — missing or invalid API key / access token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            defined: false
            code: UNAUTHORIZED
            status: 401
            message: Unauthorized
            data:
              message: Unauthorized
    NotFound:
      description: Not Found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            defined: false
            code: NOT_FOUND
            status: 404
            message: Not Found
            data:
              message: Not Found
    Conflict:
      description: Conflict
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            defined: false
            code: CONFLICT
            status: 409
            message: Conflict
            data:
              message: Conflict
    BadRequest:
      description: Bad Request — the request isn't allowed in the resource's current state (e.g. editing a published post).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            defined: false
            code: BAD_REQUEST
            status: 400
            message: Bad Request
            data:
              message: Bad Request
    RateLimited:
      description: Rate limit exceeded. Wait `Retry-After` seconds before retrying.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RateLimitErrorResponse'
          example:
            code: RATE_LIMITED
            status: 429
            message: Rate limit exceeded. Retry after 12s.
            error:
              code: RATE_LIMITED
              message: Rate limit exceeded. Retry after 12s.
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
    InternalServerError:
      description: Internal Server Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            defined: false
            code: INTERNAL_SERVER_ERROR
            status: 500
            message: Internal Server Error
            data:
              message: Internal Server Error
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication
    oauth2:
      type: oauth2
      description: OAuth2 authorization code flow (PKCE supported). Each operation lists the scope it requires.
      flows:
        authorizationCode:
          authorizationUrl: https://api.schedulin.app/oauth/authorize
          tokenUrl: https://api.schedulin.app/oauth/token
          scopes:
            posts:read: View posts and drafts
            posts:write: Create, edit, and delete posts
            tags:read: View tags
            tags:write: Create, edit, and delete tags
            social-accounts:read: View connected social accounts
            social-accounts:write: Update and disconnect social accounts
            channels:read: View channels
            media:read: View media files
            media:write: Upload and delete media files
            analytics:read: View analytics data
            org:read: View organization details
            ai:read: View AI generation jobs and available voices
            ai:write: Generate AI images and videos (spends AI credits)
            webhooks:read: View webhook endpoints and delivery history
            webhooks:write: Create, edit, and delete webhook endpoints