Skip to content

Authentication

To create a session POST api key credentials for the appropriate ORG. These can be obtained from admin under Api Keys. An email should be passed with the request but is not used as part of the authentication. GET on the same URL can be used to check the status and DELETE to destroy the session.

Note that API key authentication is currently limited to the Admin GraphQL schema.

Session

Create

POST https://rest.weave.io/session
{
  "uid":"---api key---",
  "password":"---api secret---",
  "credential":"ApiKey",
  "email":"admin@someorg.com"
}

Check

GET https://rest.weave.io/session

Close

DELETE https://rest.weave.io/session