Link Search Menu Expand Document

Updated Fri Jun 18th 2021, 16:17 UTC

Create

POST /:account/integrations

Note: This endpoint is still under active development, and may change without warning.

TextUs supports integrating with many partners and third-party services. Each provider has its own set of config parameters.

The most common provider is ‘webhook’, please see the associated documentation for details.

Examples

Create an Integration

Request

POST /my_account/integrations

Body

{
  "@type": "Integration",
  "@context": "/contexts/Integration.jsonld",
  "active": true,
  "provider": "webhook",
  "config": {
    "baseUrl": "https://www.example.com/callback"
  }
}
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X POST /my_account/integrations
     -d '{json: "body"}' 

Response

Status

201

Response Type

No body


© 2021 TextUs